-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Closed as duplicate of#150976
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
A hobby project of mine depends on chumsky, and encounters an ICE when trying to build its dependencies in nightly, failing on chumsky specifically.
Code
As the failure occurs while compiling a dependency that I'm less than familiar with the internals of, I'm not sure how to go about creating a minimal verifiable example.
The smallest reproduction of my own code needed to trigger it is simply using anything from the chumsky crate:
src/lib.rs:
pub use chumsky::span::SimpleSpan;Cargo.toml:
[package]
name = "repro"
version = "0.1.0"
edition = "2024"
[dependencies]
chumsky = "0.12.0"Meta
rustc --version --verbose:
rustc 1.92.0 (ded5c06cf 2025-12-08)
binary: rustc
commit-hash: ded5c06cf21d2b93bffd5d884aa6e96934ee4234
commit-date: 2025-12-08
host: x86_64-unknown-linux-gnu
release: 1.92.0
LLVM version: 21.1.3
Error output
Error output (it's long)
Compiling chumsky v0.12.0
thread 'rustc' (1201586) panicked at /rustc-dev/2f1bd3f3781c90a8447e37d65a898442b8618895/compiler/rustc_resolve/src/imports.rs:305:9:
assertion `left == right` failed
left: None
right: Some(DeclData { kind: Import { source_decl: DeclData { kind: Import { source_decl: DeclData { kind: Def(Def(Struct, DefId(0:8052 ~ chumsky[e4d4]::span::Spanned))), ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn144, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/span.rs:256:1: 261:2 (#0), vis: CmCell(Public) }, import: ImportData { kind: Single { source: Spanned#0, target: Spanned#0, decls: PerNS { value_ns: None, type_ns: None, macro_ns: None }, type_ns_only: false, nested: true, id: NodeId(44684) }, root_id: NodeId(44613), use_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:5: 91:7 (#0), use_span_with_attributes: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:5: 91:7 (#0), has_attributes: false, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:89:54: 89:61 (#0), root_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:13: 91:6 (#0), parent_scope: ParentScope { module: Some(Def(Mod, DefId(0:3941 ~ chumsky[e4d4]::prelude))), expansion: expn0, macro_rules: Cell { value: Def(MacroRulesDecl { decl: DeclData { kind: Def(Def(Macro(MacroKinds(1)), DefId(0:5 ~ chumsky[e4d4]::go_extra))), ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:22:1: 33:2 (#0), vis: CmCell(Restricted(DefId(0:0 ~ chumsky[e4d4]))) }, parent_macro_rules_scope: Cell { value: Empty }, ident: go_extra#0 }) }, derives: [] }, module_path: [Segment { ident: super#0, id: Some(NodeId(44614)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }, Segment { ident: span#0, id: Some(NodeId(44676)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }], imported_module: CmCell(Some(Module(Some(Def(Mod, DefId(0:3430 ~ chumsky[e4d4]::span)))))), vis: Public, vis_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:5: 79:8 (#0) } }, ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:89:54: 89:61 (#0), vis: CmCell(Public) }, import: ImportData { kind: Glob { max_vis: CmCell(Some(Restricted(DefId(0:3598 ~ chumsky[e4d4]::text)))), id: NodeId(40263) }, root_id: NodeId(40263), use_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:1: 9:23 (#0), use_span_with_attributes: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:1: 9:23 (#0), has_attributes: false, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:5: 9:22 (#0), root_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:5: 9:22 (#0), parent_scope: ParentScope { module: Some(Def(Mod, DefId(0:3598 ~ chumsky[e4d4]::text))), expansion: expn0, macro_rules: Cell { value: Def(MacroRulesDecl { decl: DeclData { kind: Def(Def(Macro(MacroKinds(1)), DefId(0:5 ~ chumsky[e4d4]::go_extra))), ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:22:1: 33:2 (#0), vis: CmCell(Restricted(DefId(0:0 ~ chumsky[e4d4]))) }, parent_macro_rules_scope: Cell { value: Empty }, ident: go_extra#0 }) }, derives: [] }, module_path: [Segment { ident: crate#0, id: Some(NodeId(40264)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }, Segment { ident: prelude#0, id: Some(NodeId(40265)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }], imported_module: CmCell(Some(Module(Some(Def(Mod, DefId(0:3941 ~ chumsky[e4d4]::prelude)))))), vis: Restricted(DefId(0:3598 ~ chumsky[e4d4]::text)), vis_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:1: 9:1 (#0) } }, ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:5: 9:22 (#0), vis: CmCell(Restricted(DefId(0:3598 ~ chumsky[e4d4]::text))) })
stack backtrace:
0: 0x7f0ddc847503 - <<std[a5f416d2deaea592]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c945c22d053963e8]::fmt::Display>::fmt
1: 0x7f0ddce0fb48 - core[c945c22d053963e8]::fmt::write
2: 0x7f0ddc85def6 - <std[a5f416d2deaea592]::sys::stdio::unix::Stderr as std[a5f416d2deaea592]::io::Write>::write_fmt
3: 0x7f0ddc81d578 - std[a5f416d2deaea592]::panicking::default_hook::{closure#0}
4: 0x7f0ddc83ac33 - std[a5f416d2deaea592]::panicking::default_hook
5: 0x7f0ddb81cdaa - std[a5f416d2deaea592]::panicking::update_hook::<alloc[7a7c0300d30d45e0]::boxed::Box<rustc_driver_impl[f8fab2a3e91bbc72]::install_ice_hook::{closure#1}>>::{closure#0}
6: 0x7f0ddc83af12 - std[a5f416d2deaea592]::panicking::panic_with_hook
7: 0x7f0ddc81d638 - std[a5f416d2deaea592]::panicking::panic_handler::{closure#0}
8: 0x7f0ddc8142f9 - std[a5f416d2deaea592]::sys::backtrace::__rust_end_short_backtrace::<std[a5f416d2deaea592]::panicking::panic_handler::{closure#0}, !>
9: 0x7f0ddc81f10d - __rustc[f5b9bebfc43bf6e1]::rust_begin_unwind
10: 0x7f0dd9ca4a8c - core[c945c22d053963e8]::panicking::panic_fmt
11: 0x7f0ddb1a0833 - core[c945c22d053963e8]::panicking::assert_failed_inner
12: 0x7f0ddc378993 - core[c945c22d053963e8]::panicking::assert_failed::<core[c945c22d053963e8]::option::Option<rustc_data_structures[34c6d144dc575c71]::intern::Interned<rustc_resolve[dbc7d173520abd5a]::DeclData>>, core[c945c22d053963e8]::option::Option<rustc_data_structures[34c6d144dc575c71]::intern::Interned<rustc_resolve[dbc7d173520abd5a]::DeclData>>>
13: 0x7f0ddce3a73d - <rustc_resolve[dbc7d173520abd5a]::Resolver>::try_plant_decl_into_local_module
14: 0x7f0ddce3980e - <rustc_resolve[dbc7d173520abd5a]::Resolver>::try_plant_decl_into_local_module
15: 0x7f0ddce3980e - <rustc_resolve[dbc7d173520abd5a]::Resolver>::try_plant_decl_into_local_module
16: 0x7f0ddce369b8 - <rustc_resolve[dbc7d173520abd5a]::Resolver>::resolve_import::{closure#0}
17: 0x7f0ddce383f9 - <rustc_resolve[dbc7d173520abd5a]::Resolver as rustc_expand[5079fac6889cf13b]::base::ResolverExpand>::resolve_imports
18: 0x7f0dde485450 - <rustc_expand[5079fac6889cf13b]::expand::MacroExpander>::fully_expand_fragment
19: 0x7f0dde447484 - <rustc_expand[5079fac6889cf13b]::expand::MacroExpander>::expand_crate
20: 0x7f0ddd4cbcb4 - rustc_interface[3871beb558f2da7e]::passes::configure_and_expand
21: 0x7f0dde169b18 - rustc_interface[3871beb558f2da7e]::passes::resolver_for_lowering_raw
22: 0x7f0dde16988d - rustc_query_impl[1c3887c9021dbf26]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1c3887c9021dbf26]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[dc8205edb3ac2d51]::query::erase::Erased<[u8; 16usize]>>
23: 0x7f0dde169867 - <rustc_query_impl[1c3887c9021dbf26]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[c945c22d053963e8]::ops::function::FnOnce<(rustc_middle[dc8205edb3ac2d51]::ty::context::TyCtxt, ())>>::call_once
24: 0x7f0dddff66df - rustc_query_system[745b7c3eb8a83b39]::query::plumbing::try_execute_query::<rustc_query_impl[1c3887c9021dbf26]::DynamicConfig<rustc_query_system[745b7c3eb8a83b39]::query::caches::SingleCache<rustc_middle[dc8205edb3ac2d51]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[1c3887c9021dbf26]::plumbing::QueryCtxt, false>
25: 0x7f0dddff6244 - rustc_query_impl[1c3887c9021dbf26]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
26: 0x7f0dde1e1cbb - <rustc_interface[3871beb558f2da7e]::passes::create_and_enter_global_ctxt<core[c945c22d053963e8]::option::Option<rustc_interface[3871beb558f2da7e]::queries::Linker>, rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[c945c22d053963e8]::ops::function::FnOnce<(&rustc_session[e46a25957daea355]::session::Session, rustc_middle[dc8205edb3ac2d51]::ty::context::CurrentGcx, alloc[7a7c0300d30d45e0]::sync::Arc<rustc_data_structures[34c6d144dc575c71]::jobserver::Proxy>, &std[a5f416d2deaea592]::sync::once_lock::OnceLock<rustc_middle[dc8205edb3ac2d51]::ty::context::GlobalCtxt>, &rustc_data_structures[34c6d144dc575c71]::sync::worker_local::WorkerLocal<rustc_middle[dc8205edb3ac2d51]::arena::Arena>, &rustc_data_structures[34c6d144dc575c71]::sync::worker_local::WorkerLocal<rustc_hir[79327aa2168b85fb]::Arena>, rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
27: 0x7f0dde04cb18 - rustc_interface[3871beb558f2da7e]::interface::run_compiler::<(), rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}>::{closure#1}
28: 0x7f0dddf9bc4e - std[a5f416d2deaea592]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[3871beb558f2da7e]::util::run_in_thread_with_globals<rustc_interface[3871beb558f2da7e]::util::run_in_thread_pool_with_globals<rustc_interface[3871beb558f2da7e]::interface::run_compiler<(), rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
29: 0x7f0dddf9ba20 - <std[a5f416d2deaea592]::thread::lifecycle::spawn_unchecked<rustc_interface[3871beb558f2da7e]::util::run_in_thread_with_globals<rustc_interface[3871beb558f2da7e]::util::run_in_thread_pool_with_globals<rustc_interface[3871beb558f2da7e]::interface::run_compiler<(), rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[c945c22d053963e8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
30: 0x7f0dddf99df8 - <std[a5f416d2deaea592]::sys::thread::unix::Thread>::new::thread_start
31: 0x7f0dd7a9db7b - start_thread
at ./nptl/pthread_create.c:448:8
32: 0x7f0dd7b1b7b8 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
33: 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/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/rustc-ice-2026-01-13T03_12_28-1201584.txt` to your bug report
note: rustc 1.94.0-nightly (2f1bd3f37 2026-01-12) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [resolver_for_lowering_raw] getting the resolver for lowering
end of query stack
error: could not compile `chumsky` (lib)
Caused by:
process didn't exit successfully: `/home/eliminmax/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name chumsky --edition=2021 /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="stacker"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("_test_stable", "bytes", "debug", "default", "docsrs", "either", "extension", "lexical", "lexical-numbers", "memoization", "nightly", "pratt", "regex", "serde", "spin", "stacker", "std", "sync", "unstable"))' -C metadata=ff945eb734635903 -C extra-filename=-281db2242c27f836 --out-dir /home/eliminmax/Desktop/repro/target/debug/deps -L dependency=/home/eliminmax/Desktop/repro/target/debug/deps --extern hashbrown=/home/eliminmax/Desktop/repro/target/debug/deps/libhashbrown-442e9194e2875e37.rmeta --extern stacker=/home/eliminmax/Desktop/repro/target/debug/deps/libstacker-fc4a04095b41b453.rmeta --extern unicode_ident=/home/eliminmax/Desktop/repro/target/debug/deps/libunicode_ident-25e2e19842160595.rmeta --extern unicode_segmentation=/home/eliminmax/Desktop/repro/target/debug/deps/libunicode_segmentation-745c28ea3c19c6e9.rmeta --cap-lints allow -L native=/home/eliminmax/Desktop/repro/target/debug/build/psm-03577b66016411a0/out` (exit status: 101)
Backtrace
thread 'rustc' (1201586) panicked at /rustc-dev/2f1bd3f3781c90a8447e37d65a898442b8618895/compiler/rustc_resolve/src/imports.rs:305:9:
assertion `left == right` failed
left: None
right: Some(DeclData { kind: Import { source_decl: DeclData { kind: Import { source_decl: DeclData { kind: Def(Def(Struct, DefId(0:8052 ~ chumsky[e4d4]::span::Spanned))), ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn144, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/span.rs:256:1: 261:2 (#0), vis: CmCell(Public) }, import: ImportData { kind: Single { source: Spanned#0, target: Spanned#0, decls: PerNS { value_ns: None, type_ns: None, macro_ns: None }, type_ns_only: false, nested: true, id: NodeId(44684) }, root_id: NodeId(44613), use_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:5: 91:7 (#0), use_span_with_attributes: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:5: 91:7 (#0), has_attributes: false, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:89:54: 89:61 (#0), root_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:13: 91:6 (#0), parent_scope: ParentScope { module: Some(Def(Mod, DefId(0:3941 ~ chumsky[e4d4]::prelude))), expansion: expn0, macro_rules: Cell { value: Def(MacroRulesDecl { decl: DeclData { kind: Def(Def(Macro(MacroKinds(1)), DefId(0:5 ~ chumsky[e4d4]::go_extra))), ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:22:1: 33:2 (#0), vis: CmCell(Restricted(DefId(0:0 ~ chumsky[e4d4]))) }, parent_macro_rules_scope: Cell { value: Empty }, ident: go_extra#0 }) }, derives: [] }, module_path: [Segment { ident: super#0, id: Some(NodeId(44614)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }, Segment { ident: span#0, id: Some(NodeId(44676)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }], imported_module: CmCell(Some(Module(Some(Def(Mod, DefId(0:3430 ~ chumsky[e4d4]::span)))))), vis: Public, vis_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:79:5: 79:8 (#0) } }, ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:89:54: 89:61 (#0), vis: CmCell(Public) }, import: ImportData { kind: Glob { max_vis: CmCell(Some(Restricted(DefId(0:3598 ~ chumsky[e4d4]::text)))), id: NodeId(40263) }, root_id: NodeId(40263), use_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:1: 9:23 (#0), use_span_with_attributes: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:1: 9:23 (#0), has_attributes: false, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:5: 9:22 (#0), root_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:5: 9:22 (#0), parent_scope: ParentScope { module: Some(Def(Mod, DefId(0:3598 ~ chumsky[e4d4]::text))), expansion: expn0, macro_rules: Cell { value: Def(MacroRulesDecl { decl: DeclData { kind: Def(Def(Macro(MacroKinds(1)), DefId(0:5 ~ chumsky[e4d4]::go_extra))), ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/lib.rs:22:1: 33:2 (#0), vis: CmCell(Restricted(DefId(0:0 ~ chumsky[e4d4]))) }, parent_macro_rules_scope: Cell { value: Empty }, ident: go_extra#0 }) }, derives: [] }, module_path: [Segment { ident: crate#0, id: Some(NodeId(40264)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }, Segment { ident: prelude#0, id: Some(NodeId(40265)), has_generic_args: false, has_lifetime_args: false, args_span: no-location (#0) }], imported_module: CmCell(Some(Module(Some(Def(Mod, DefId(0:3941 ~ chumsky[e4d4]::prelude)))))), vis: Restricted(DefId(0:3598 ~ chumsky[e4d4]::text)), vis_span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:1: 9:1 (#0) } }, ambiguity: CmCell(None), warn_ambiguity: CmCell(false), expansion: expn0, span: /home/eliminmax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chumsky-0.12.0/src/text.rs:9:5: 9:22 (#0), vis: CmCell(Restricted(DefId(0:3598 ~ chumsky[e4d4]::text))) })
stack backtrace:
0: 0x7f0ddc847503 - <<std[a5f416d2deaea592]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c945c22d053963e8]::fmt::Display>::fmt
1: 0x7f0ddce0fb48 - core[c945c22d053963e8]::fmt::write
2: 0x7f0ddc85def6 - <std[a5f416d2deaea592]::sys::stdio::unix::Stderr as std[a5f416d2deaea592]::io::Write>::write_fmt
3: 0x7f0ddc81d578 - std[a5f416d2deaea592]::panicking::default_hook::{closure#0}
4: 0x7f0ddc83ac33 - std[a5f416d2deaea592]::panicking::default_hook
5: 0x7f0ddb81cdaa - std[a5f416d2deaea592]::panicking::update_hook::<alloc[7a7c0300d30d45e0]::boxed::Box<rustc_driver_impl[f8fab2a3e91bbc72]::install_ice_hook::{closure#1}>>::{closure#0}
6: 0x7f0ddc83af12 - std[a5f416d2deaea592]::panicking::panic_with_hook
7: 0x7f0ddc81d638 - std[a5f416d2deaea592]::panicking::panic_handler::{closure#0}
8: 0x7f0ddc8142f9 - std[a5f416d2deaea592]::sys::backtrace::__rust_end_short_backtrace::<std[a5f416d2deaea592]::panicking::panic_handler::{closure#0}, !>
9: 0x7f0ddc81f10d - __rustc[f5b9bebfc43bf6e1]::rust_begin_unwind
10: 0x7f0dd9ca4a8c - core[c945c22d053963e8]::panicking::panic_fmt
11: 0x7f0ddb1a0833 - core[c945c22d053963e8]::panicking::assert_failed_inner
12: 0x7f0ddc378993 - core[c945c22d053963e8]::panicking::assert_failed::<core[c945c22d053963e8]::option::Option<rustc_data_structures[34c6d144dc575c71]::intern::Interned<rustc_resolve[dbc7d173520abd5a]::DeclData>>, core[c945c22d053963e8]::option::Option<rustc_data_structures[34c6d144dc575c71]::intern::Interned<rustc_resolve[dbc7d173520abd5a]::DeclData>>>
13: 0x7f0ddce3a73d - <rustc_resolve[dbc7d173520abd5a]::Resolver>::try_plant_decl_into_local_module
14: 0x7f0ddce3980e - <rustc_resolve[dbc7d173520abd5a]::Resolver>::try_plant_decl_into_local_module
15: 0x7f0ddce3980e - <rustc_resolve[dbc7d173520abd5a]::Resolver>::try_plant_decl_into_local_module
16: 0x7f0ddce369b8 - <rustc_resolve[dbc7d173520abd5a]::Resolver>::resolve_import::{closure#0}
17: 0x7f0ddce383f9 - <rustc_resolve[dbc7d173520abd5a]::Resolver as rustc_expand[5079fac6889cf13b]::base::ResolverExpand>::resolve_imports
18: 0x7f0dde485450 - <rustc_expand[5079fac6889cf13b]::expand::MacroExpander>::fully_expand_fragment
19: 0x7f0dde447484 - <rustc_expand[5079fac6889cf13b]::expand::MacroExpander>::expand_crate
20: 0x7f0ddd4cbcb4 - rustc_interface[3871beb558f2da7e]::passes::configure_and_expand
21: 0x7f0dde169b18 - rustc_interface[3871beb558f2da7e]::passes::resolver_for_lowering_raw
22: 0x7f0dde16988d - rustc_query_impl[1c3887c9021dbf26]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1c3887c9021dbf26]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[dc8205edb3ac2d51]::query::erase::Erased<[u8; 16usize]>>
23: 0x7f0dde169867 - <rustc_query_impl[1c3887c9021dbf26]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[c945c22d053963e8]::ops::function::FnOnce<(rustc_middle[dc8205edb3ac2d51]::ty::context::TyCtxt, ())>>::call_once
24: 0x7f0dddff66df - rustc_query_system[745b7c3eb8a83b39]::query::plumbing::try_execute_query::<rustc_query_impl[1c3887c9021dbf26]::DynamicConfig<rustc_query_system[745b7c3eb8a83b39]::query::caches::SingleCache<rustc_middle[dc8205edb3ac2d51]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[1c3887c9021dbf26]::plumbing::QueryCtxt, false>
25: 0x7f0dddff6244 - rustc_query_impl[1c3887c9021dbf26]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
26: 0x7f0dde1e1cbb - <rustc_interface[3871beb558f2da7e]::passes::create_and_enter_global_ctxt<core[c945c22d053963e8]::option::Option<rustc_interface[3871beb558f2da7e]::queries::Linker>, rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[c945c22d053963e8]::ops::function::FnOnce<(&rustc_session[e46a25957daea355]::session::Session, rustc_middle[dc8205edb3ac2d51]::ty::context::CurrentGcx, alloc[7a7c0300d30d45e0]::sync::Arc<rustc_data_structures[34c6d144dc575c71]::jobserver::Proxy>, &std[a5f416d2deaea592]::sync::once_lock::OnceLock<rustc_middle[dc8205edb3ac2d51]::ty::context::GlobalCtxt>, &rustc_data_structures[34c6d144dc575c71]::sync::worker_local::WorkerLocal<rustc_middle[dc8205edb3ac2d51]::arena::Arena>, &rustc_data_structures[34c6d144dc575c71]::sync::worker_local::WorkerLocal<rustc_hir[79327aa2168b85fb]::Arena>, rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
27: 0x7f0dde04cb18 - rustc_interface[3871beb558f2da7e]::interface::run_compiler::<(), rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}>::{closure#1}
28: 0x7f0dddf9bc4e - std[a5f416d2deaea592]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[3871beb558f2da7e]::util::run_in_thread_with_globals<rustc_interface[3871beb558f2da7e]::util::run_in_thread_pool_with_globals<rustc_interface[3871beb558f2da7e]::interface::run_compiler<(), rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
29: 0x7f0dddf9ba20 - <std[a5f416d2deaea592]::thread::lifecycle::spawn_unchecked<rustc_interface[3871beb558f2da7e]::util::run_in_thread_with_globals<rustc_interface[3871beb558f2da7e]::util::run_in_thread_pool_with_globals<rustc_interface[3871beb558f2da7e]::interface::run_compiler<(), rustc_driver_impl[f8fab2a3e91bbc72]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[c945c22d053963e8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
30: 0x7f0dddf99df8 - <std[a5f416d2deaea592]::sys::thread::unix::Thread>::new::thread_start
31: 0x7f0dd7a9db7b - start_thread
at ./nptl/pthread_create.c:448:8
32: 0x7f0dd7b1b7b8 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
33: 0x0 - <unknown>
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.