Closed as duplicate of#135515
Description
Today, we encountered an ICE in our pipelines. You can view it here, and reproduce it by checking out the pull request and running the same commands. A summary of steps is below.
Unfortuntely creating a more minimal working example is something I don't have much time (or the required understanding) for right now - just cargo build
ing the crate by itself works, and repeating the "caused by" command reproduces the error. I'm happy to help otherwise.
Code
# Checkout the pull request
gh repo clone TNO-S3/WuppieFuzz
gh pr checkout 61
# Rustup to nightly
rustup set profile minimal
rustup toolchain install nightly --component llvm-tools-preview --allow-downgrade
rustup override set nightly
# Install the coverage tool
cargo install cargo-tarpaulin
# Crash the compiler :)
cargo tarpaulin --workspace --out Html --output-dir ./coverage-report --ignore-tests --all-features
After some trial and error, it seems the shortest rustc command line that crashes is the following:
/home/erieke/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name value_bag --edition=2021 /home/erieke/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.10.0/src/lib.rs --crate-type lib -Clink-dead-code
In particular, removing -Clink-dead-code
leads to a successful compilation.
Meta
rustc --version --verbose
:
rustc 1.86.0-nightly (8361aef0d 2025-01-14)
binary: rustc
commit-hash: 8361aef0d7c29b1501a316a208ed84cd8a2ae5da
commit-date: 2025-01-14
host: x86_64-unknown-linux-gnu
release: 1.86.0-nightly
LLVM version: 19.1.6
Error output
Full output of command invocation
2025-01-15T16:30:27.372035Z INFO cargo_tarpaulin::config: Creating config
2025-01-15T16:30:28.982716Z INFO cargo_tarpaulin: Running Tarpaulin
2025-01-15T16:30:28.982815Z INFO cargo_tarpaulin: Building project
2025-01-15T16:30:28.982827Z INFO cargo_tarpaulin::cargo: Cleaning project
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.167
Compiling autocfg v1.4.0
Compiling serde v1.0.217
Compiling cfg-if v1.0.0
Compiling itoa v1.0.14
Compiling memchr v2.7.4
Compiling once_cell v1.20.2
Compiling shlex v1.3.0
Compiling smallvec v1.13.2
Compiling equivalent v1.0.1
Compiling hashbrown v0.15.2
Compiling stable_deref_trait v1.2.0
Compiling pkg-config v0.3.31
Compiling cc v1.2.2
Compiling ryu v1.0.18
Compiling value-bag v1.10.0
Compiling vcpkg v0.2.15
Compiling bytes v1.9.0
Compiling version_check v0.9.5
thread 'rustc' panicked at /rustc/8361aef0d7c29b1501a316a208ed84cd8a2ae5da/compiler/rustc_type_ir/src/binder.rs:806:9:
const parameter `'f/#1` ('f/#1/1) out of range when instantiating args=[]
stack backtrace:
0: 0x7fbd09ef1d6a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdc43079d94c8e2c5
1: 0x7fbd0a612da6 - core::fmt::write::hf8204d35a0342af7
2: 0x7fbd0b585051 - std::io::Write::write_fmt::h2d48c693dab47eaa
3: 0x7fbd09ef1bc2 - std::sys::backtrace::BacktraceLock::print::hf55aeb58436be498
4: 0x7fbd09ef4167 - std::panicking::default_hook::{{closure}}::hc8b35eada54fea42
5: 0x7fbd09ef3f50 - std::panicking::default_hook::heb4f0e99966f04b4
6: 0x7fbd0905a358 - std[5a9fc012e1d0d0b]::panicking::update_hook::<alloc[ac03dea90177f35f]::boxed::Box<rustc_driver_impl[936c1abaea8466f3]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7fbd09ef49b3 - std::panicking::rust_panic_with_hook::h9f82033b55997db2
8: 0x7fbd09ef46aa - std::panicking::begin_panic_handler::{{closure}}::h6ad114e7310ab80d
9: 0x7fbd09ef2249 - std::sys::backtrace::__rust_end_short_backtrace::he1ff5b96e37d697a
10: 0x7fbd09ef436d - rust_begin_unwind
11: 0x7fbd06ba60b0 - core::panicking::panic_fmt::hae91a18acb6521c1
12: 0x7fbd096057e9 - <rustc_type_ir[829647f3ac930964]::binder::ArgFolder<rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt>>::region_param_out_of_range
13: 0x7fbd0a645f5d - <rustc_middle[6ec8af473b9179e3]::ty::generics::GenericPredicates>::instantiate_into
14: 0x7fbd0afdcd3b - rustc_trait_selection[d6691d0da25531a1]::traits::instantiate_and_check_impossible_predicates
15: 0x7fbd0afdccb6 - rustc_query_impl[912ffda60ec58dad]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[912ffda60ec58dad]::query_impl::instantiate_and_check_impossible_predicates::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 1usize]>>
16: 0x7fbd0afdcc9b - <rustc_query_impl[912ffda60ec58dad]::query_impl::instantiate_and_check_impossible_predicates::dynamic_query::{closure#2} as core[882c985c10ecc76f]::ops::function::FnOnce<(rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt, (rustc_span[75a95e237d4d0ab1]::def_id::DefId, &rustc_middle[6ec8af473b9179e3]::ty::list::RawList<(), rustc_middle[6ec8af473b9179e3]::ty::generic_args::GenericArg>))>>::call_once
17: 0x7fbd0afdc2b8 - rustc_query_system[6e8935c22d8afd61]::query::plumbing::try_execute_query::<rustc_query_impl[912ffda60ec58dad]::DynamicConfig<rustc_query_system[6e8935c22d8afd61]::query::caches::DefaultCache<(rustc_span[75a95e237d4d0ab1]::def_id::DefId, &rustc_middle[6ec8af473b9179e3]::ty::list::RawList<(), rustc_middle[6ec8af473b9179e3]::ty::generic_args::GenericArg>), rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[912ffda60ec58dad]::plumbing::QueryCtxt, false>
18: 0x7fbd0afdbff6 - rustc_query_impl[912ffda60ec58dad]::query_impl::instantiate_and_check_impossible_predicates::get_query_non_incr::__rust_end_short_backtrace
19: 0x7fbd09865e6d - rustc_middle[6ec8af473b9179e3]::query::plumbing::query_get_at::<rustc_query_system[6e8935c22d8afd61]::query::caches::DefaultCache<(rustc_span[75a95e237d4d0ab1]::def_id::DefId, &rustc_middle[6ec8af473b9179e3]::ty::list::RawList<(), rustc_middle[6ec8af473b9179e3]::ty::generic_args::GenericArg>), rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 1usize]>>>
20: 0x7fbd0aaa5731 - rustc_monomorphize[1a63c6622e9cdd06]::partitioning::collect_and_partition_mono_items
21: 0x7fbd0b5e2056 - rustc_query_impl[912ffda60ec58dad]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[912ffda60ec58dad]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 24usize]>>
22: 0x7fbd0b5e2037 - <rustc_query_impl[912ffda60ec58dad]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[882c985c10ecc76f]::ops::function::FnOnce<(rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt, ())>>::call_once
23: 0x7fbd0b5e1bbc - rustc_query_system[6e8935c22d8afd61]::query::plumbing::try_execute_query::<rustc_query_impl[912ffda60ec58dad]::DynamicConfig<rustc_query_system[6e8935c22d8afd61]::query::caches::SingleCache<rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[912ffda60ec58dad]::plumbing::QueryCtxt, false>
24: 0x7fbd0b5e18b4 - rustc_query_impl[912ffda60ec58dad]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
25: 0x7fbd0ad33e93 - rustc_codegen_ssa[757fe94fec2bb5b4]::back::symbol_export::exported_symbols_provider_local
26: 0x7fbd0a830ca5 - rustc_query_impl[912ffda60ec58dad]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[912ffda60ec58dad]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 16usize]>>
27: 0x7fbd0a830c63 - <rustc_query_impl[912ffda60ec58dad]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[882c985c10ecc76f]::ops::function::FnOnce<(rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt, rustc_span[75a95e237d4d0ab1]::def_id::CrateNum)>>::call_once
28: 0x7fbd0b408158 - rustc_query_system[6e8935c22d8afd61]::query::plumbing::try_execute_query::<rustc_query_impl[912ffda60ec58dad]::DynamicConfig<rustc_data_structures[2312d6039bbc2584]::vec_cache::VecCache<rustc_span[75a95e237d4d0ab1]::def_id::CrateNum, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[6e8935c22d8afd61]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[912ffda60ec58dad]::plumbing::QueryCtxt, false>
29: 0x7fbd0b407cea - rustc_query_impl[912ffda60ec58dad]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
30: 0x7fbd0b1c5d1f - <rustc_metadata[5d5d761e43a36ed2]::rmeta::encoder::EncodeContext>::encode_crate_root
31: 0x7fbd0b801e20 - rustc_metadata[5d5d761e43a36ed2]::rmeta::encoder::encode_metadata
32: 0x7fbd0b6020b6 - rustc_metadata[5d5d761e43a36ed2]::fs::encode_and_write_metadata
33: 0x7fbd0b600efe - <rustc_interface[dfe6489cec3737ce]::queries::Linker>::codegen_and_build_linker
34: 0x7fbd0b63705d - rustc_interface[dfe6489cec3737ce]::passes::create_and_enter_global_ctxt::<core[882c985c10ecc76f]::option::Option<rustc_interface[dfe6489cec3737ce]::queries::Linker>, rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
35: 0x7fbd0b629a56 - rustc_interface[dfe6489cec3737ce]::interface::run_compiler::<(), rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}>::{closure#1}
36: 0x7fbd0b4bc8d1 - std[5a9fc012e1d0d0b]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_with_globals<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_pool_with_globals<rustc_interface[dfe6489cec3737ce]::interface::run_compiler<(), rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
37: 0x7fbd0b4bcd84 - <<std[5a9fc012e1d0d0b]::thread::Builder>::spawn_unchecked_<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_with_globals<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_pool_with_globals<rustc_interface[dfe6489cec3737ce]::interface::run_compiler<(), rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[882c985c10ecc76f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
38: 0x7fbd0b4be32f - std::sys::pal::unix::thread::Thread::new::thread_start::h88e5d9cbd4733d69
39: 0x7fbd0586bac3 - start_thread
at ./nptl/pthread_create.c:442:8
40: 0x7fbd058fd850 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81:0
41: 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 make sure that you have updated to the latest nightly
note: please attach the file at `/home/erieke/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.10.0/rustc-ice-2025-01-15T16_30_36-1608050.txt` to your bug report
Compiling pin-project-lite v0.2.15
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C debuginfo=2 -C strip=none -C link-dead-code
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [instantiate_and_check_impossible_predicates] checking impossible instantiated predicates: `fill::Slot`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
error: could not compile `value-bag` (lib)
Caused by:
process didn't exit successfully: `/home/erieke/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name value_bag --edition=2021 /home/erieke/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=158 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="inline-i128"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "error", "inline-i128", "owned", "seq", "serde", "serde1", "std", "sval", "sval2", "test", "value-bag-serde1", "value-bag-sval2"))' -C metadata=2a66b57edde1025f -C extra-filename=-01c2070ade5234d8 --out-dir /home/erieke/Projects/Fuzzing/wuppiefuzz/target/debug/deps -L dependency=/home/erieke/Projects/Fuzzing/wuppiefuzz/target/debug/deps --cap-lints allow -Cdebuginfo=2 -Cstrip=none --cfg=tarpaulin -Clink-dead-code` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
2025-01-15T16:30:41.555411Z ERROR cargo_tarpaulin: Cargo failed to run! Error: cargo run failed
Error: "Cargo failed to run! Error: cargo run failed"
Backtrace
The output with backtrace on is shorter, on first glance.
2025-01-15T16:35:14.418780Z INFO cargo_tarpaulin::config: Creating config
2025-01-15T16:35:14.811640Z INFO cargo_tarpaulin: Running Tarpaulin
2025-01-15T16:35:14.811704Z INFO cargo_tarpaulin: Building project
2025-01-15T16:35:14.811723Z INFO cargo_tarpaulin::cargo: Cleaning project
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.167
Compiling autocfg v1.4.0
Compiling serde v1.0.217
Compiling cfg-if v1.0.0
Compiling itoa v1.0.14
Compiling memchr v2.7.4
Compiling once_cell v1.20.2
Compiling shlex v1.3.0
Compiling smallvec v1.13.2
Compiling stable_deref_trait v1.2.0
Compiling equivalent v1.0.1
Compiling hashbrown v0.15.2
Compiling vcpkg v0.2.15
Compiling cc v1.2.2
Compiling pkg-config v0.3.31
Compiling value-bag v1.10.0
Compiling ryu v1.0.18
Compiling bytes v1.9.0
Compiling version_check v0.9.5
Compiling pin-project-lite v0.2.15
thread 'rustc' panicked at /rustc/8361aef0d7c29b1501a316a208ed84cd8a2ae5da/compiler/rustc_type_ir/src/binder.rs:806:9:
const parameter `'f/#1` ('f/#1/1) out of range when instantiating args=[]
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: <rustc_type_ir::binder::ArgFolder<rustc_middle::ty::context::TyCtxt>>::region_param_out_of_range
3: <rustc_middle::ty::generics::GenericPredicates>::instantiate_into
4: rustc_trait_selection::traits::instantiate_and_check_impossible_predicates
[... omitted 2 frames ...]
5: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefaultCache<(rustc_span::def_id::DefId, &rustc_middle::ty::list::RawList<(), rustc_middle::ty::generic_args::GenericArg>), rustc_middle::query::erase::Erased<[u8; 1]>>>
6: rustc_monomorphize::partitioning::collect_and_partition_mono_items
[... omitted 2 frames ...]
7: rustc_codegen_ssa::back::symbol_export::exported_symbols_provider_local
[... omitted 2 frames ...]
8: <rustc_metadata::rmeta::encoder::EncodeContext>::encode_crate_root
9: rustc_metadata::rmeta::encoder::encode_metadata
10: rustc_metadata::fs::encode_and_write_metadata
11: <rustc_interface::queries::Linker>::codegen_and_build_linker
12: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
13: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
Compiling bitflags v2.6.0
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
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 make sure that you have updated to the latest nightly
note: please attach the file at `/home/erieke/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.10.0/rustc-ice-2025-01-15T16_35_16-1611588.txt` to your bug report
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C debuginfo=2 -C strip=none -C link-dead-code
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [instantiate_and_check_impossible_predicates] checking impossible instantiated predicates: `fill::Slot`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
#2 [exported_symbols] collecting exported symbols for crate `0`
end of query stack
error: could not compile `value-bag` (lib)
Caused by:
process didn't exit successfully: `/home/erieke/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name value_bag --edition=2021 /home/erieke/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=158 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="inline-i128"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "error", "inline-i128", "owned", "seq", "serde", "serde1", "std", "sval", "sval2", "test", "value-bag-serde1", "value-bag-sval2"))' -C metadata=2a66b57edde1025f -C extra-filename=-01c2070ade5234d8 --out-dir /home/erieke/Projects/Fuzzing/wuppiefuzz/target/debug/deps -L dependency=/home/erieke/Projects/Fuzzing/wuppiefuzz/target/debug/deps --cap-lints allow -Cdebuginfo=2 -Cstrip=none --cfg=tarpaulin -Clink-dead-code` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
2025-01-15T16:35:20.993268Z ERROR cargo_tarpaulin: Cargo failed to run! Error: cargo run failed
Error: "Cargo failed to run! Error: cargo run failed"
Please include the file at /home/erieke/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/value-bag-1.10.0/rustc-ice-2025-01-15T16_30_36-1608050.txt
thread 'rustc' panicked at /rustc/8361aef0d7c29b1501a316a208ed84cd8a2ae5da/compiler/rustc_type_ir/src/binder.rs:806:9:
const parameter `'f/#1` ('f/#1/1) out of range when instantiating args=[]
stack backtrace:
0: 0x7fbd0b964365 - std::backtrace::Backtrace::create::h94c4b69a3a7cf605
1: 0x7fbd09edc585 - std::backtrace::Backtrace::force_capture::h1d236221e642ca65
2: 0x7fbd0905a956 - std[5a9fc012e1d0d0b]::panicking::update_hook::<alloc[ac03dea90177f35f]::boxed::Box<rustc_driver_impl[936c1abaea8466f3]::install_ice_hook::{closure#1}>>::{closure#0}
3: 0x7fbd09ef49b3 - std::panicking::rust_panic_with_hook::h9f82033b55997db2
4: 0x7fbd09ef46aa - std::panicking::begin_panic_handler::{{closure}}::h6ad114e7310ab80d
5: 0x7fbd09ef2249 - std::sys::backtrace::__rust_end_short_backtrace::he1ff5b96e37d697a
6: 0x7fbd09ef436d - rust_begin_unwind
7: 0x7fbd06ba60b0 - core::panicking::panic_fmt::hae91a18acb6521c1
8: 0x7fbd096057e9 - <rustc_type_ir[829647f3ac930964]::binder::ArgFolder<rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt>>::region_param_out_of_range
9: 0x7fbd0a645f5d - <rustc_middle[6ec8af473b9179e3]::ty::generics::GenericPredicates>::instantiate_into
10: 0x7fbd0afdcd3b - rustc_trait_selection[d6691d0da25531a1]::traits::instantiate_and_check_impossible_predicates
11: 0x7fbd0afdccb6 - rustc_query_impl[912ffda60ec58dad]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[912ffda60ec58dad]::query_impl::instantiate_and_check_impossible_predicates::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 1usize]>>
12: 0x7fbd0afdcc9b - <rustc_query_impl[912ffda60ec58dad]::query_impl::instantiate_and_check_impossible_predicates::dynamic_query::{closure#2} as core[882c985c10ecc76f]::ops::function::FnOnce<(rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt, (rustc_span[75a95e237d4d0ab1]::def_id::DefId, &rustc_middle[6ec8af473b9179e3]::ty::list::RawList<(), rustc_middle[6ec8af473b9179e3]::ty::generic_args::GenericArg>))>>::call_once
13: 0x7fbd0afdc2b8 - rustc_query_system[6e8935c22d8afd61]::query::plumbing::try_execute_query::<rustc_query_impl[912ffda60ec58dad]::DynamicConfig<rustc_query_system[6e8935c22d8afd61]::query::caches::DefaultCache<(rustc_span[75a95e237d4d0ab1]::def_id::DefId, &rustc_middle[6ec8af473b9179e3]::ty::list::RawList<(), rustc_middle[6ec8af473b9179e3]::ty::generic_args::GenericArg>), rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[912ffda60ec58dad]::plumbing::QueryCtxt, false>
14: 0x7fbd0afdbff6 - rustc_query_impl[912ffda60ec58dad]::query_impl::instantiate_and_check_impossible_predicates::get_query_non_incr::__rust_end_short_backtrace
15: 0x7fbd09865e6d - rustc_middle[6ec8af473b9179e3]::query::plumbing::query_get_at::<rustc_query_system[6e8935c22d8afd61]::query::caches::DefaultCache<(rustc_span[75a95e237d4d0ab1]::def_id::DefId, &rustc_middle[6ec8af473b9179e3]::ty::list::RawList<(), rustc_middle[6ec8af473b9179e3]::ty::generic_args::GenericArg>), rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 1usize]>>>
16: 0x7fbd0aaa5731 - rustc_monomorphize[1a63c6622e9cdd06]::partitioning::collect_and_partition_mono_items
17: 0x7fbd0b5e2056 - rustc_query_impl[912ffda60ec58dad]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[912ffda60ec58dad]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 24usize]>>
18: 0x7fbd0b5e2037 - <rustc_query_impl[912ffda60ec58dad]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[882c985c10ecc76f]::ops::function::FnOnce<(rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt, ())>>::call_once
19: 0x7fbd0b5e1bbc - rustc_query_system[6e8935c22d8afd61]::query::plumbing::try_execute_query::<rustc_query_impl[912ffda60ec58dad]::DynamicConfig<rustc_query_system[6e8935c22d8afd61]::query::caches::SingleCache<rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[912ffda60ec58dad]::plumbing::QueryCtxt, false>
20: 0x7fbd0b5e18b4 - rustc_query_impl[912ffda60ec58dad]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
21: 0x7fbd0ad33e93 - rustc_codegen_ssa[757fe94fec2bb5b4]::back::symbol_export::exported_symbols_provider_local
22: 0x7fbd0a830ca5 - rustc_query_impl[912ffda60ec58dad]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[912ffda60ec58dad]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 16usize]>>
23: 0x7fbd0a830c63 - <rustc_query_impl[912ffda60ec58dad]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[882c985c10ecc76f]::ops::function::FnOnce<(rustc_middle[6ec8af473b9179e3]::ty::context::TyCtxt, rustc_span[75a95e237d4d0ab1]::def_id::CrateNum)>>::call_once
24: 0x7fbd0b408158 - rustc_query_system[6e8935c22d8afd61]::query::plumbing::try_execute_query::<rustc_query_impl[912ffda60ec58dad]::DynamicConfig<rustc_data_structures[2312d6039bbc2584]::vec_cache::VecCache<rustc_span[75a95e237d4d0ab1]::def_id::CrateNum, rustc_middle[6ec8af473b9179e3]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[6e8935c22d8afd61]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[912ffda60ec58dad]::plumbing::QueryCtxt, false>
25: 0x7fbd0b407cea - rustc_query_impl[912ffda60ec58dad]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
26: 0x7fbd0b1c5d1f - <rustc_metadata[5d5d761e43a36ed2]::rmeta::encoder::EncodeContext>::encode_crate_root
27: 0x7fbd0b801e20 - rustc_metadata[5d5d761e43a36ed2]::rmeta::encoder::encode_metadata
28: 0x7fbd0b6020b6 - rustc_metadata[5d5d761e43a36ed2]::fs::encode_and_write_metadata
29: 0x7fbd0b600efe - <rustc_interface[dfe6489cec3737ce]::queries::Linker>::codegen_and_build_linker
30: 0x7fbd0b63705d - rustc_interface[dfe6489cec3737ce]::passes::create_and_enter_global_ctxt::<core[882c985c10ecc76f]::option::Option<rustc_interface[dfe6489cec3737ce]::queries::Linker>, rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
31: 0x7fbd0b629a56 - rustc_interface[dfe6489cec3737ce]::interface::run_compiler::<(), rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}>::{closure#1}
32: 0x7fbd0b4bc8d1 - std[5a9fc012e1d0d0b]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_with_globals<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_pool_with_globals<rustc_interface[dfe6489cec3737ce]::interface::run_compiler<(), rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
33: 0x7fbd0b4bcd84 - <<std[5a9fc012e1d0d0b]::thread::Builder>::spawn_unchecked_<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_with_globals<rustc_interface[dfe6489cec3737ce]::util::run_in_thread_pool_with_globals<rustc_interface[dfe6489cec3737ce]::interface::run_compiler<(), rustc_driver_impl[936c1abaea8466f3]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[882c985c10ecc76f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
34: 0x7fbd0b4be32f - std::sys::pal::unix::thread::Thread::new::thread_start::h88e5d9cbd4733d69
35: 0x7fbd0586bac3 - start_thread
at ./nptl/pthread_create.c:442:8
36: 0x7fbd058fd850 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81:0
37: 0x0 - <unknown>
rustc version: 1.86.0-nightly (8361aef0d 2025-01-14)
platform: x86_64-unknown-linux-gnu
query stack during panic:
#0 [instantiate_and_check_impossible_predicates] checking impossible instantiated predicates: `fill::Slot`
#1 [collect_and_partition_mono_items] collect_and_partition_mono_items
#2 [exported_symbols] collecting exported symbols for crate `0`
end of query stack