ICE: `Option::unwrap()` on a `None` value
Open
Nobody has claimed this yet.
A-incr-comp
C-bug
I-ICE
S-needs-repro
T-compiler
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Code
Nothing simple I could extract from the closed source project.
Problem disappeared after cargo clean.
If this report is not helpful, feel free to close.
Meta
rustc --version --verbose:
rustc 1.90.0 (1159e78c4 2025-09-14)
binary: rustc
commit-hash: 1159e78c4747b02ef996e55082b704c09b970588
commit-date: 2025-09-14
host: aarch64-apple-darwin
release: 1.90.0
LLVM version: 20.1.8
Error output
thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:18:54:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: 0x1104bf6dc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf35f9734f9a29483
1: 0x10d98d3c8 - core::fmt::write::h60ec6633daab7b35
2: 0x1104b3cec - std::io::Write::write_fmt::hc29709fdab2e34e2
3: 0x1104bf59c - std::sys::backtrace::BacktraceLock::print::hca95bffd78053951
4: 0x1104c4150 - std::panicking::default_hook::{{closure}}::h357ed4fbef22679d
5: 0x1104c3e28 - std::panicking::default_hook::h0a4e133b151d5758
6: 0x10e5813b4 - rustc_driver_impl[fe1bcf639e75a35c]::install_ice_hook::{closure#1}
7: 0x1104c4adc - std::panicking::rust_panic_with_hook::h557a23724a5de839
8: 0x1104c469c - std::panicking::begin_panic_handler::{{closure}}::h269cace6208fef05
9: 0x1104bfb6c - std::sys::backtrace::__rust_end_short_backtrace::h5be0da278f3aaec7
10: 0x1104c43c8 - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
11: 0x113100054 - core::panicking::panic_fmt::h477ff48eff31ffa4
12: 0x1131000c4 - core::panicking::panic::h3c0d0c5e47386e71
13: 0x1130fffec - core::option::unwrap_failed::h5bf6e88bea1a867a
14: 0x10f09710c - <rustc_metadata[d0ea9d5ac5081a7]::rmeta::decoder::cstore_impl::provide_cstore_hooks::{closure#0} as core[1e83a543c1a720ad]::ops::function::FnOnce<(rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, rustc_span[a5e3a2783cc054a9]::def_id::DefPathHash, rustc_span[a5e3a2783cc054a9]::def_id::StableCrateId)>>::call_once
15: 0x10f244a7c - <rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt>::def_path_hash_to_def_id
16: 0x10fc2bd68 - rustc_query_impl[77ea9433992fe932]::plumbing::force_from_dep_node::<rustc_query_impl[77ea9433992fe932]::DynamicConfig<rustc_query_system[333456b6d0746410]::query::caches::DefIdCache<rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 8usize]>>, false, false, false>>
17: 0x10fbc026c - <rustc_query_impl[77ea9433992fe932]::plumbing::query_callback<rustc_query_impl[77ea9433992fe932]::query_impl::type_of::QueryType>::{closure#0} as core[1e83a543c1a720ad]::ops::function::FnOnce<(rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, rustc_query_system[333456b6d0746410]::dep_graph::dep_node::DepNode, rustc_query_system[333456b6d0746410]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once
18: 0x10f9bcd94 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
19: 0x10f9bcd40 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
20: 0x10f9bcd40 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
21: 0x10f9bcd40 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
22: 0x10f9bcb70 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
23: 0x10fa2568c - rustc_query_system[333456b6d0746410]::query::plumbing::try_execute_query::<rustc_query_impl[77ea9433992fe932]::DynamicConfig<rustc_query_system[333456b6d0746410]::query::caches::DefaultCache<rustc_type_ir[ed34ddf3688f5eb]::canonical::CanonicalQueryInput<rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, rustc_middle[208d74889ccb36c1]::ty::ParamEnvAnd<rustc_middle[208d74889ccb36c1]::ty::predicate::Predicate>>, rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt, true>
24: 0x10fca9504 - rustc_query_impl[77ea9433992fe932]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
25: 0x1102cf4ac - <rustc_infer[3cd6d89bbca3f904]::infer::InferCtxt as rustc_trait_selection[accd96f9e88fc2f]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
26: 0x1102cfa54 - <rustc_infer[3cd6d89bbca3f904]::infer::InferCtxt as rustc_trait_selection[accd96f9e88fc2f]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
27: 0x1102bf6b8 - <rustc_trait_selection[accd96f9e88fc2f]::traits::fulfill::FulfillProcessor>::process_trait_obligation
28: 0x1102bf1b8 - <rustc_trait_selection[accd96f9e88fc2f]::traits::fulfill::FulfillProcessor as rustc_data_structures[8d3fb60ec084691e]::obligation_forest::ObligationProcessor>::process_obligation
29: 0x1100561d4 - <rustc_data_structures[8d3fb60ec084691e]::obligation_forest::ObligationForest<rustc_trait_selection[accd96f9e88fc2f]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[accd96f9e88fc2f]::traits::fulfill::FulfillProcessor>
30: 0x11026b158 - <rustc_trait_selection[accd96f9e88fc2f]::traits::fulfill::FulfillmentContext<rustc_infer[3cd6d89bbca3f904]::traits::engine::ScrubbedTraitError> as rustc_infer[3cd6d89bbca3f904]::traits::engine::TraitEngine<rustc_infer[3cd6d89bbca3f904]::traits::engine::ScrubbedTraitError>>::select_where_possible
31: 0x1101a70c4 - <rustc_trait_selection[accd96f9e88fc2f]::traits::fulfill::FulfillmentContext<rustc_infer[3cd6d89bbca3f904]::traits::engine::ScrubbedTraitError> as rustc_infer[3cd6d89bbca3f904]::traits::engine::TraitEngine<rustc_infer[3cd6d89bbca3f904]::traits::engine::ScrubbedTraitError>>::select_all_or_error
32: 0x11037d724 - rustc_traits[e9def9f1d791d6e3]::codegen::codegen_select_candidate
33: 0x10fc31470 - rustc_query_impl[77ea9433992fe932]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[77ea9433992fe932]::query_impl::codegen_select_candidate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 16usize]>>
34: 0x10fbf4db8 - <rustc_query_impl[77ea9433992fe932]::query_impl::codegen_select_candidate::dynamic_query::{closure#2} as core[1e83a543c1a720ad]::ops::function::FnOnce<(rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, rustc_middle[208d74889ccb36c1]::ty::PseudoCanonicalInput<rustc_type_ir[ed34ddf3688f5eb]::predicate::TraitRef<rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt>>)>>::call_once
35: 0x10fa30fac - rustc_query_system[333456b6d0746410]::query::plumbing::try_execute_query::<rustc_query_impl[77ea9433992fe932]::DynamicConfig<rustc_query_system[333456b6d0746410]::query::caches::DefaultCache<rustc_middle[208d74889ccb36c1]::ty::PseudoCanonicalInput<rustc_type_ir[ed34ddf3688f5eb]::predicate::TraitRef<rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt>>, rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt, true>
36: 0x10fc7abc0 - rustc_query_impl[77ea9433992fe932]::query_impl::codegen_select_candidate::get_query_incr::__rust_end_short_backtrace
37: 0x10f6184bc - rustc_monomorphize[f70938373e223462]::collector::find_tails_for_unsizing
38: 0x10f6165c4 - <rustc_monomorphize[f70938373e223462]::collector::MirUsedCollector as rustc_middle[208d74889ccb36c1]::mir::visit::Visitor>::visit_rvalue
39: 0x10f61ac60 - rustc_monomorphize[f70938373e223462]::collector::items_of_instance
40: 0x10fc2ee4c - rustc_query_impl[77ea9433992fe932]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[77ea9433992fe932]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 32usize]>>
41: 0x10fbdcd40 - <rustc_query_impl[77ea9433992fe932]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[1e83a543c1a720ad]::ops::function::FnOnce<(rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, (rustc_middle[208d74889ccb36c1]::ty::instance::Instance, rustc_middle[208d74889ccb36c1]::mir::mono::CollectionMode))>>::call_once
42: 0x10fa7a330 - rustc_query_system[333456b6d0746410]::query::plumbing::try_execute_query::<rustc_query_impl[77ea9433992fe932]::DynamicConfig<rustc_query_system[333456b6d0746410]::query::caches::DefaultCache<(rustc_middle[208d74889ccb36c1]::ty::instance::Instance, rustc_middle[208d74889ccb36c1]::mir::mono::CollectionMode), rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 32usize]>>, false, false, false>, rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt, true>
43: 0x10fcc4b94 - rustc_query_impl[77ea9433992fe932]::query_impl::items_of_instance::get_query_incr::__rust_end_short_backtrace
44: 0x10f62eea0 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec::{closure#0}
45: 0x10f62cff4 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
46: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
47: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
48: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
49: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
50: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
51: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
52: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
53: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
54: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
55: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
56: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
57: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
58: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
59: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
60: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
61: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
62: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
63: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
64: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
65: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
66: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
67: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
68: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
69: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
70: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
71: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
72: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
73: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
74: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
75: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
76: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
77: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
78: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
79: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
80: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
81: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
82: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
83: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
84: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
85: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
86: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
87: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
88: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
89: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
90: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
91: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
92: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
93: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
94: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
95: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
96: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
97: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
98: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
99: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
100: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
101: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
102: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
103: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
104: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
105: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
106: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
107: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
108: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
109: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
110: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
111: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
112: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
113: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
114: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
115: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
116: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
117: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
118: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
119: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
120: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
121: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
122: 0x10f62e298 - rustc_monomorphize[f70938373e223462]::collector::collect_items_rec
123: 0x10f6336b4 - rustc_monomorphize[f70938373e223462]::collector::collect_crate_mono_items::{closure#1}::{closure#0}
124: 0x10f6280a0 - rustc_monomorphize[f70938373e223462]::partitioning::collect_and_partition_mono_items
125: 0x10fc32168 - rustc_query_impl[77ea9433992fe932]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[77ea9433992fe932]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 40usize]>>
126: 0x10fa123c8 - rustc_query_system[333456b6d0746410]::query::plumbing::try_execute_query::<rustc_query_impl[77ea9433992fe932]::DynamicConfig<rustc_query_system[333456b6d0746410]::query::caches::SingleCache<rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 40usize]>>, false, false, false>, rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt, true>
127: 0x10fbbeca4 - <rustc_query_impl[77ea9433992fe932]::plumbing::query_callback<rustc_query_impl[77ea9433992fe932]::query_impl::collect_and_partition_mono_items::QueryType>::{closure#0} as core[1e83a543c1a720ad]::ops::function::FnOnce<(rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, rustc_query_system[333456b6d0746410]::dep_graph::dep_node::DepNode, rustc_query_system[333456b6d0746410]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once
128: 0x10f9bcd94 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
129: 0x10f9bcb70 - <rustc_query_system[333456b6d0746410]::dep_graph::graph::DepGraphData<rustc_middle[208d74889ccb36c1]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt>
130: 0x10fa8a498 - rustc_query_system[333456b6d0746410]::query::plumbing::try_execute_query::<rustc_query_impl[77ea9433992fe932]::DynamicConfig<rustc_data_structures[8d3fb60ec084691e]::vec_cache::VecCache<rustc_span[a5e3a2783cc054a9]::def_id::CrateNum, rustc_middle[208d74889ccb36c1]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[333456b6d0746410]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[77ea9433992fe932]::plumbing::QueryCtxt, true>
131: 0x10fca19f4 - rustc_query_impl[77ea9433992fe932]::query_impl::exported_generic_symbols::get_query_incr::__rust_end_short_backtrace
132: 0x10f0bdd74 - <rustc_metadata[d0ea9d5ac5081a7]::rmeta::encoder::EncodeContext>::encode_crate_root
133: 0x1131bc5d4 - rustc_metadata[d0ea9d5ac5081a7]::rmeta::encoder::encode_metadata::{closure#3}::{closure#0}
134: 0x10f09678c - <rustc_metadata[d0ea9d5ac5081a7]::rmeta::encoder::encode_metadata::{closure#3} as core[1e83a543c1a720ad]::ops::function::FnOnce<(rustc_middle[208d74889ccb36c1]::ty::context::TyCtxt, &std[37ceaa58691cab6f]::path::Path)>>::call_once
135: 0x10f11e4d0 - rustc_metadata[d0ea9d5ac5081a7]::rmeta::encoder::encode_metadata
136: 0x10f0e4bb4 - rustc_metadata[d0ea9d5ac5081a7]::fs::encode_and_write_metadata
137: 0x10ee735b0 - <rustc_interface[619ac9f988dd2698]::queries::Linker>::codegen_and_build_linker
138: 0x10e524f28 - rustc_interface[619ac9f988dd2698]::passes::create_and_enter_global_ctxt::<core[1e83a543c1a720ad]::option::Option<rustc_interface[619ac9f988dd2698]::queries::Linker>, rustc_driver_impl[fe1bcf639e75a35c]::run_compiler::{closure#0}::{closure#2}>
139: 0x10e531f8c - rustc_interface[619ac9f988dd2698]::interface::run_compiler::<(), rustc_driver_impl[fe1bcf639e75a35c]::run_compiler::{closure#0}>::{closure#1}
140: 0x10e526334 - std[37ceaa58691cab6f]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[619ac9f988dd2698]::util::run_in_thread_with_globals<rustc_interface[619ac9f988dd2698]::util::run_in_thread_pool_with_globals<rustc_interface[619ac9f988dd2698]::interface::run_compiler<(), rustc_driver_impl[fe1bcf639e75a35c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
141: 0x10e5342b8 - <<std[37ceaa58691cab6f]::thread::Builder>::spawn_unchecked_<rustc_interface[619ac9f988dd2698]::util::run_in_thread_with_globals<rustc_interface[619ac9f988dd2698]::util::run_in_thread_pool_with_globals<rustc_interface[619ac9f988dd2698]::interface::run_compiler<(), rustc_driver_impl[fe1bcf639e75a35c]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[1e83a543c1a720ad]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
142: 0x1104c7e64 - std::sys::pal::unix::thread::Thread::new::thread_start::h87df50f049a92661
143: 0x18d3bbc0c - __pthread_cond_wait
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: rustc 1.90.0 (1159e78c4 2025-09-14) running on aarch64-apple-darwin
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C incremental=[REDACTED] -C link-arg=-undefined -C link-arg=dynamic_lookup -C force-unwind-tables=yes -C link-args=-ObjC
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@pingora_proxy::HttpProxy<xxx::WwwProxyHttp>::handle_error::{closure#0}}: core::marker::Send`
#1 [codegen_select_candidate] computing candidate for `<core::pin::Pin<alloc::boxed::Box<{async block@<pingora_proxy::HttpProxy<xxx::WwwProxyHttp> as pingora_core::apps::HttpServerApp>::process_new_http<'_, '_, '_>::{closure#0}}>> as core::ops::unsize::CoerceUnsized<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::option::Option<pingora_core::apps::ReusedHttpStream>> + core::marker::Send>>>>`
... and 3 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 TraitSelect(1ef8f792625da818-d2993e590ecaa)
#1 TraitSelect(19060ce304f07070-e91191a7863b576e)
#2 TraitSelect(c8d7c5a3bd79b69c-b8e70ad5a6f03147)
#3 evaluate_obligation(4b472bd21db258ba-e536200355c35617)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs and the def_path_hash_to_def_id entry point from the reported rustc 1.90.0 stack trace. Try to reproduce the panic despite the unavailable source example and the report that cargo clean resolved it; done means identifying a reproducible cause and preventing this ICE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100