rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.34k stars 12.72k forks source link

the rust compiler unexpectedly panicked randomly (deadlock detected) #118206

Open zhengcan opened 11 months ago

zhengcan commented 11 months ago

Command Line

> cargo clean
> RUSTFLAGS="-Z threads=8" cargo build -p my-package --timings         <<-- crash

Meta

rustc --version --verbose:

rustc 1.74.0 (79e9716c9 2023-11-13)
binary: rustc
commit-hash: 79e9716c980570bfd1f666e3b16ac583f0168962
commit-date: 2023-11-13
host: x86_64-unknown-linux-gnu
release: 1.74.0
LLVM version: 17.0.4

Error output

   Compiling static_assertions v1.1.0
   Compiling data-url v0.3.1
   Compiling crossbeam v0.8.2
   Compiling serde_repr v0.1.17
   Compiling humansize v2.1.3
   Compiling murmur3 v0.5.2
   Compiling bitvec v1.0.1
   Compiling strum v0.25.0
   Compiling xoroshiro128 v0.3.0
   Compiling darling v0.20.3
   Compiling serde_with_macros v3.4.0
   Compiling moveit v0.6.0
   Compiling sea-orm-macros v0.12.6
   Compiling ouroboros v0.17.2
   Compiling lz4 v1.24.0
   Compiling nix v0.26.4
   Compiling clap v4.4.8
   Compiling atoi v2.0.0
   Compiling v_frame v0.3.6
   Compiling chrono v0.4.31
   Compiling ordered-float v2.10.1
   Compiling ffmpeg-sys-next v6.0.1
thread '<unnamed>' panicked at compiler/rustc_query_system/src/query/job.rs:543:9:
deadlock detected
stack backtrace:
   0:     0x7f52bda5dafc - std::backtrace_rs::backtrace::libunwind::trace::ha13ad5af2864723a
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x7f52bda5dafc - std::backtrace_rs::backtrace::trace_unsynchronized::h9ec83e12bce3f2af
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f52bda5dafc - std::sys_common::backtrace::_print_fmt::hfb5b1986e5659ad5
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7f52bda5dafc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he7b174185da70188
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f52bdab0c80 - core::fmt::rt::Argument::fmt::h32caebed6a027e31
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/core/src/fmt/rt.rs:142:9
   5:     0x7f52bdab0c80 - core::fmt::write::h8865dbd4446d81c4
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/core/src/fmt/mod.rs:1120:17
   6:     0x7f52bda5191f - std::io::Write::write_fmt::h5106c7776eeeb011
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/io/mod.rs:1762:15
   7:     0x7f52bda5d8e4 - std::sys_common::backtrace::_print::h3da1332de103e40c
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f52bda5d8e4 - std::sys_common::backtrace::print::h647fca63756d2bb0
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f52bda60577 - std::panicking::default_hook::{{closure}}::h98008999358dde2f
  10:     0x7f52bda602df - std::panicking::default_hook::h10c8a0f39dfb424e
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/panicking.rs:292:9
  11:     0x7f52c07c7d60 - std[784e7d3054e1c5d1]::panicking::update_hook::<alloc[59eb96c7d53c301c]::boxed::Box<rustc_driver_impl[2d47774899d242a1]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7f52bda60cb8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hba1727fc5205e656
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/alloc/src/boxed.rs:2021:9
  13:     0x7f52bda60cb8 - std::panicking::rust_panic_with_hook::haea349bf162a87bc
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/panicking.rs:783:13
  14:     0x7f52bda609d9 - std::panicking::begin_panic_handler::{{closure}}::h07580733b83c6ea5
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/panicking.rs:649:13
  15:     0x7f52bda5dfc6 - std::sys_common::backtrace::__rust_end_short_backtrace::hef1a1edd057da159
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7f52bda60772 - rust_begin_unwind
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/panicking.rs:645:5
  17:     0x7f52bdaad365 - core::panicking::panic_fmt::h04cb63dd824eff00
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/core/src/panicking.rs:72:14
  18:     0x7f52c1093f45 - rustc_query_system[a12f560dcc0755ea]::query::job::deadlock
  19:     0x7f52c07c33fc - std[784e7d3054e1c5d1]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8d3f997819e82330]::util::run_in_thread_pool_with_globals<rustc_interface[8d3f997819e82330]::interface::run_compiler<core[268d37448c5330ed]::result::Result<(), rustc_span[ec7335e6c24654e5]::ErrorGuaranteed>, rustc_driver_impl[2d47774899d242a1]::run_compiler::{closure#0}>::{closure#0}, core[268d37448c5330ed]::result::Result<(), rustc_span[ec7335e6c24654e5]::ErrorGuaranteed>>::{closure#2}::{closure#1}, ()>
  20:     0x7f52c07c9fb1 - <<std[784e7d3054e1c5d1]::thread::Builder>::spawn_unchecked_<rustc_interface[8d3f997819e82330]::util::run_in_thread_pool_with_globals<rustc_interface[8d3f997819e82330]::interface::run_compiler<core[268d37448c5330ed]::result::Result<(), rustc_span[ec7335e6c24654e5]::ErrorGuaranteed>, rustc_driver_impl[2d47774899d242a1]::run_compiler::{closure#0}>::{closure#0}, core[268d37448c5330ed]::result::Result<(), rustc_span[ec7335e6c24654e5]::ErrorGuaranteed>>::{closure#2}::{closure#1}, ()>::{closure#1} as core[268d37448c5330ed]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  21:     0x7f52bda6ab75 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcbf706cf4845eb28
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/alloc/src/boxed.rs:2007:9
  22:     0x7f52bda6ab75 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha6849ff8413dfb0a
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/alloc/src/boxed.rs:2007:9
  23:     0x7f52bda6ab75 - std::sys::unix::thread::Thread::new::thread_start::h5b547c86f6817b85
                               at /rustc/1e9dda77b5b8e690c7e21871bbd2dcf182e1a841/library/std/src/sys/unix/thread.rs:108:17
  24:     0x7f52bd38d1ca - start_thread
  25:     0x7f52bcff8e73 - clone
  26:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please attach the file at `/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v_frame-0.3.6/rustc-ice-2023-11-23T09_15_17-3498272.txt` to your bug report

note: compiler flags: --crate-type rlib -C embed-bitcode=no -C debuginfo=2 -C strip=debuginfo -Z threads=8

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
deadlock handler panicked, aborting process
sccache: Compiler killed by signal 6
error: could not compile `v_frame` (lib)

Caused by:
  process didn't exit successfully: `/root/.cargo/bin/sccache /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name v_frame --edition=2021 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v_frame-0.3.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=240 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=36b370f59488b816 -C extra-filename=-36b370f59488b816 --out-dir xxx/target/debug/deps -C strip=debuginfo -L dependency=xxx/target/debug/deps --extern cfg_if=xxx/target/debug/deps/libcfg_if-b01775ae23b7536b.rmeta --extern noop_proc_macro=xxx/target/debug/deps/libnoop_proc_macro-0cfdd97779753a04.so --extern num_derive=xxx/target/debug/deps/libnum_derive-6a111fed4ede966d.so --extern num_traits=xxx/target/debug/deps/libnum_traits-0459f3fed28f5465.rmeta --extern rust_hawktracer=xxx/target/debug/deps/librust_hawktracer-80b6e497558e88b6.rmeta --cap-lints allow -Z threads=8` (exit status: 254)
Backtrace

``` n/a (hard to reproduce) ```

zhengcan commented 11 months ago

rustc-ice-2023-11-23T09_15_17-3498272.txt

SparrowLii commented 11 months ago

Can you reproduce this bug using the latest nightly version to get the new error output?

zhengcan commented 11 months ago

The error changed. :(

Script

cargo clean
RUSTFLAGS="-Z threads=8" cargo build -p my-package --timings

Meta

rustc 1.76.0-nightly (5facb422f 2023-11-28)
binary: rustc
commit-hash: 5facb422f8a5a61df515572fe79b02433639d565
commit-date: 2023-11-28
host: x86_64-unknown-linux-gnu
release: 1.76.0-nightly
LLVM version: 17.0.5

Error output

   Compiling tonic-build v0.9.2
   Compiling pulsar v6.1.0
   Compiling sqlx v0.7.3
   Compiling sea-query-binder v0.5.0
   Compiling tikv-jemalloc-ctl v0.5.4
   Compiling tikv-jemallocator v0.5.4
   Compiling sea-orm v0.12.7
thread 'rustc' panicked at /rustc/5facb422f8a5a61df515572fe79b02433639d565/compiler/rustc_middle/src/ty/context/tls.rs:111:50:
no ImplicitCtxt stored in tls
stack backtrace:
   0:     0x7fad38b0fa2c - std::backtrace_rs::backtrace::libunwind::trace::h2e7c57e7e17503dd
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x7fad38b0fa2c - std::backtrace_rs::backtrace::trace_unsynchronized::hc4f8c7ce34564c14
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fad38b0fa2c - std::sys_common::backtrace::_print_fmt::hf00de5dd7a8c72f6
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7fad38b0fa2c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h203547b5fd9015f9
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fad38b62a70 - core::fmt::rt::Argument::fmt::hec0b869fa2b0c04d
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/core/src/fmt/rt.rs:142:9
   5:     0x7fad38b62a70 - core::fmt::write::h4520556dae4cbd33
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/core/src/fmt/mod.rs:1120:17
   6:     0x7fad38b0385f - std::io::Write::write_fmt::h0dc0eb5dbe759f9f
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/io/mod.rs:1766:15
   7:     0x7fad38b0f814 - std::sys_common::backtrace::_print::h2c1cf2a2304e4249
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fad38b0f814 - std::sys_common::backtrace::print::hfeadd49293d7243e
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fad38b124a7 - std::panicking::default_hook::{{closure}}::h8cfa62dd09a2dad0
  10:     0x7fad38b1220f - std::panicking::default_hook::h2fc7c3bf66bcf395
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/panicking.rs:292:9
  11:     0x7fad3b877710 - std[bcbbccee7a0d5073]::panicking::update_hook::<alloc[27fcb56d285de1e]::boxed::Box<rustc_driver_impl[e65ba84121e83d63]::install_ice_hook::{closure#0}>>::{closure#0}
  12:     0x7fad38b12be8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3e96e80b5f2fd625
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/alloc/src/boxed.rs:2021:9
  13:     0x7fad38b12be8 - std::panicking::rust_panic_with_hook::h41e1d8d523f4086e
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/panicking.rs:783:13
  14:     0x7fad38b1293e - std::panicking::begin_panic_handler::{{closure}}::h7f1cbcb8e5015738
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/panicking.rs:657:13
  15:     0x7fad38b0fef6 - std::sys_common::backtrace::__rust_end_short_backtrace::hc8dd57cf42636e84
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/sys_common/backtrace.rs:171:18
  16:     0x7fad38b126a2 - rust_begin_unwind
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/panicking.rs:645:5
  17:     0x7fad38b5f145 - core::panicking::panic_fmt::h7b70a2d3ae61769a
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/core/src/panicking.rs:72:14
  18:     0x7fad38b5eef3 - core::panicking::panic_display::h29bc7a085b2ba35c
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/core/src/panicking.rs:193:5
  19:     0x7fad38b5eef3 - core::panicking::panic_str::h32de02550915d466
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/core/src/panicking.rs:168:5
  20:     0x7fad38b5eef3 - core::option::expect_failed::h34cf594936540cfa
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/core/src/option.rs:1980:5
  21:     0x7fad3b877468 - rustc_interface[25ba8a03b0702628]::util::run_in_thread_pool_with_globals::<rustc_interface[25ba8a03b0702628]::interface::run_compiler<core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>, rustc_driver_impl[e65ba84121e83d63]::run_compiler::{closure#0}>::{closure#0}, core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>>::{closure#2}
  22:     0x7fad3b4691a5 - <rayon_core[1f88bcfda42dec2e]::registry::WorkerThread>::wait_until_cold
  23:     0x7fad3b465d73 - <rayon_core[1f88bcfda42dec2e]::registry::ThreadBuilder>::run
  24:     0x7fad3b8796d7 - <<crossbeam_utils[48f7014fbcba11b5]::thread::ScopedThreadBuilder>::spawn<<rayon_core[1f88bcfda42dec2e]::ThreadPoolBuilder>::build_scoped<rustc_interface[25ba8a03b0702628]::util::run_in_thread_pool_with_globals<rustc_interface[25ba8a03b0702628]::interface::run_compiler<core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>, rustc_driver_impl[e65ba84121e83d63]::run_compiler::{closure#0}>::{closure#0}, core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#0}, rustc_interface[25ba8a03b0702628]::util::run_in_thread_pool_with_globals<rustc_interface[25ba8a03b0702628]::interface::run_compiler<core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>, rustc_driver_impl[e65ba84121e83d63]::run_compiler::{closure#0}>::{closure#0}, core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#1}, core[3cbafecc582d7c30]::result::Result<(), rustc_span[3326ba25d5711314]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#0} as core[3cbafecc582d7c30]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  25:     0x7fad3b87285e - std[bcbbccee7a0d5073]::sys_common::backtrace::__rust_begin_short_backtrace::<alloc[27fcb56d285de1e]::boxed::Box<dyn core[3cbafecc582d7c30]::ops::function::FnOnce<(), Output = ()> + core[3cbafecc582d7c30]::marker::Send>, ()>
  26:     0x7fad3b879363 - <<std[bcbbccee7a0d5073]::thread::Builder>::spawn_unchecked_<alloc[27fcb56d285de1e]::boxed::Box<dyn core[3cbafecc582d7c30]::ops::function::FnOnce<(), Output = ()> + core[3cbafecc582d7c30]::marker::Send>, ()>::{closure#1} as core[3cbafecc582d7c30]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  27:     0x7fad38b1ca85 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h0287aedd2e9bb2a6
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/alloc/src/boxed.rs:2007:9
  28:     0x7fad38b1ca85 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha2a303783003ab31
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/alloc/src/boxed.rs:2007:9
  29:     0x7fad38b1ca85 - std::sys::unix::thread::Thread::new::thread_start::h9ef087ca1e700a25
                               at /rustc/5facb422f8a5a61df515572fe79b02433639d565/library/std/src/sys/unix/thread.rs:108:17
  30:     0x7fad3843f1ca - start_thread
  31:     0x7fad380aae73 - clone
  32:                0x0 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please attach the file at `/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tikv-jemallocator-0.5.4/rustc-ice-2023-11-29T12_29_38-3321950.txt` to your bug report

note: compiler flags: --crate-type rlib -C embed-bitcode=no -C debuginfo=2 -C strip=debuginfo -Z threads=8

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
Rayon: detected unexpected panic; aborting
sccache: Compiler killed by signal 6
error: could not compile `tikv-jemallocator` (lib)

Caused by:
  process didn't exit successfully: `/root/.cargo/bin/sccache /root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name tikv_jemallocator --edition=2018 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tikv-jemallocator-0.5.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=193 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="background_threads_runtime_support"' --cfg 'feature="default"' --cfg 'feature="profiling"' --cfg 'feature="stats"' --cfg 'feature="unprefixed_malloc_on_supported_platforms"' -C metadata=6041b40d6c440df4 -C extra-filename=-6041b40d6c440df4 --out-dir /xxx/target/debug/deps -C strip=debuginfo -L dependency=/xxx/target/debug/deps --extern libc=/xxx/target/debug/deps/liblibc-bb657b5c4e3876b1.rmeta --extern tikv_jemalloc_sys=/xxx/target/debug/deps/libtikv_jemalloc_sys-e1d74beb1ab71759.rmeta --cap-lints allow -Z threads=8 -L native=/xxx/target/debug/build/tikv-jemalloc-sys-327bd943d12d3a35/out/build/lib` (exit status: 254)
warning: build failed, waiting for other jobs to finish...
SparrowLii commented 11 months ago

That's all right. This is another bug that needs to be fixed

zhengcan commented 11 months ago

When trying to build again, I found that the rustc failed to build pulsar-rs.

Scripts

git clone https://github.com/streamnative/pulsar-rs
cd pulsar-rs
cargo +nightly build

Error

(with sccache)

   Compiling reqwest v0.11.22
   Compiling oauth2 v4.4.2
   Compiling openidconnect v3.4.0
sccache: Compile terminated by signal 9
error: could not compile `pulsar` (lib)

(without sccache)

   Compiling reqwest v0.11.22
   Compiling oauth2 v4.4.2
   Compiling openidconnect v3.4.0
error: could not compile `pulsar` (lib)

Caused by:
  process didn't exit successfully: `/root/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name pulsar --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=180 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="async-native-tls"' --cfg 'feature="async-std"' --cfg 'feature="async-std-runtime"' --cfg 'feature="asynchronous-codec"' --cfg 'feature="auth-oauth2"' --cfg 'feature="compression"' --cfg 'feature="data-url"' --cfg 'feature="default"' --cfg 'feature="flate2"' --cfg 'feature="lz4"' --cfg 'feature="native-tls"' --cfg 'feature="oauth2"' --cfg 'feature="openidconnect"' --cfg 'feature="serde"' --cfg 'feature="serde_json"' --cfg 'feature="snap"' --cfg 'feature="tokio"' --cfg 'feature="tokio-native-tls"' --cfg 'feature="tokio-runtime"' --cfg 'feature="tokio-util"' --cfg 'feature="zstd"' -C metadata=7bc5fdac31e60d7a -C extra-filename=-7bc5fdac31e60d7a --out-dir /data/code/pulsar-rs/target/debug/deps -C incremental=/data/code/pulsar-rs/target/debug/incremental -L dependency=/data/code/pulsar-rs/target/debug/deps --extern async_native_tls=/data/code/pulsar-rs/target/debug/deps/libasync_native_tls-ec75ca68f4b2bdcf.rmeta --extern async_std=/data/code/pulsar-rs/target/debug/deps/libasync_std-0d9c5c5f29ac8bd0.rmeta --extern async_trait=/data/code/pulsar-rs/target/debug/deps/libasync_trait-149d91d3b6aa4c8b.so --extern asynchronous_codec=/data/code/pulsar-rs/target/debug/deps/libasynchronous_codec-8d923c9cc1c502ce.rmeta --extern bit_vec=/data/code/pulsar-rs/target/debug/deps/libbit_vec-2a7a3301ea676754.rmeta --extern bytes=/data/code/pulsar-rs/target/debug/deps/libbytes-9a0875bf2af5b73e.rmeta --extern chrono=/data/code/pulsar-rs/target/debug/deps/libchrono-d1b4672dea75f3da.rmeta --extern crc=/data/code/pulsar-rs/target/debug/deps/libcrc-08749639087a7b76.rmeta --extern data_url=/data/code/pulsar-rs/target/debug/deps/libdata_url-9e3c4cdd54ef68e5.rmeta --extern flate2=/data/code/pulsar-rs/target/debug/deps/libflate2-197315befb314de6.rmeta --extern futures=/data/code/pulsar-rs/target/debug/deps/libfutures-5199b02cac7e3855.rmeta --extern futures_io=/data/code/pulsar-rs/target/debug/deps/libfutures_io-7107eefe0a58e433.rmeta --extern futures_timer=/data/code/pulsar-rs/target/debug/deps/libfutures_timer-dedb0246f629f831.rmeta --extern log=/data/code/pulsar-rs/target/debug/deps/liblog-2700e1eecb3598fa.rmeta --extern lz4=/data/code/pulsar-rs/target/debug/deps/liblz4-a2372642d3f553ca.rmeta --extern native_tls=/data/code/pulsar-rs/target/debug/deps/libnative_tls-8a7d688c514d555f.rmeta --extern nom=/data/code/pulsar-rs/target/debug/deps/libnom-2a80471a153e9134.rmeta --extern oauth2=/data/code/pulsar-rs/target/debug/deps/liboauth2-3139848ddc944efd.rmeta --extern openidconnect=/data/code/pulsar-rs/target/debug/deps/libopenidconnect-719ac853ebca73ad.rmeta --extern pem=/data/code/pulsar-rs/target/debug/deps/libpem-5aa7e115a1b6deca.rmeta --extern prost=/data/code/pulsar-rs/target/debug/deps/libprost-3dcdb3bc23e5951b.rmeta --extern prost_derive=/data/code/pulsar-rs/target/debug/deps/libprost_derive-7a9d3cd015a82a23.so --extern rand=/data/code/pulsar-rs/target/debug/deps/librand-b6dffe97f63d671d.rmeta --extern regex=/data/code/pulsar-rs/target/debug/deps/libregex-8f510260ca59c4e9.rmeta --extern serde=/data/code/pulsar-rs/target/debug/deps/libserde-bf4c8b7a9306957d.rmeta --extern serde_json=/data/code/pulsar-rs/target/debug/deps/libserde_json-9b224220d4824172.rmeta --extern snap=/data/code/pulsar-rs/target/debug/deps/libsnap-aa6b714c7798f0ce.rmeta --extern tokio=/data/code/pulsar-rs/target/debug/deps/libtokio-66fcbe21b2a00d79.rmeta --extern tokio_native_tls=/data/code/pulsar-rs/target/debug/deps/libtokio_native_tls-16c371cb66cea536.rmeta --extern tokio_util=/data/code/pulsar-rs/target/debug/deps/libtokio_util-36ed6fc4b067b087.rmeta --extern url=/data/code/pulsar-rs/target/debug/deps/liburl-f7efc9f070eef56b.rmeta --extern uuid=/data/code/pulsar-rs/target/debug/deps/libuuid-6cb3175465a6f803.rmeta --extern zstd=/data/code/pulsar-rs/target/debug/deps/libzstd-731b9c5a4a624487.rmeta -L native=/data/code/pulsar-rs/target/debug/build/lz4-sys-0f1fc51cbaa8fce8/out -L native=/data/code/pulsar-rs/target/debug/build/ring-c039fe4ebd3fca87/out -L native=/data/code/pulsar-rs/target/debug/build/zstd-sys-903f9b70ea073e35/out`
(signal: 9, SIGKILL: kill)
petrochenkov commented 10 months ago

This looks like a duplicate of https://github.com/rust-lang/rust/issues/111522, but I won't close because another issue about deadlock was mentioned above and I'm not sure what is its status.

petrochenkov commented 10 months ago

Also looks like a duplicate of https://github.com/rust-lang/rust/issues/117899.