[ICE]: cannot decode `AttrId` with `CacheDecoder`
Open
Nobody has claimed this yet.
C-bug
I-ICE
S-needs-info
S-needs-repro
T-compiler
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
This started at some point after 2026-04-03, i.e. nightly-2026-04-03 is good, all nightlies after are not.
Code
<code>
Meta
rustc --version --verbose:
rustc 1.96.0-nightly (f5eca4fcf 2026-04-09)
binary: rustc
commit-hash: f5eca4fcfa908d1e038afd19c6e746f075859130
commit-date: 2026-04-09
host: aarch64-apple-darwin
release: 1.96.0-nightly
LLVM version: 22.1.2
Error output
thread 'rustc' panicked at /rustc-dev/f5eca4fcfa908d1e038afd19c6e746f075859130/compiler/rustc_middle/src/query/on_disk_cache.rs:663:9:
cannot decode `AttrId` with `CacheDecoder`
Backtrace
thread 'rustc' panicked at /rustc-dev/f5eca4fcfa908d1e038afd19c6e746f075859130/compiler/rustc_middle/src/query/on_disk_cache.rs:663:9:
cannot decode `AttrId` with `CacheDecoder`
stack backtrace:
0: 0x10fa9a214 - <std[b9b2ea19604012fc]::backtrace::Backtrace>::create
1: 0x10d918538 - std[b9b2ea19604012fc]::panicking::update_hook::<alloc[2936732e9dff64f9]::boxed::Box<rustc_driver_impl[af5d728f7692f4f1]::install_ice_hook::{closure#1}>>::{closure#0}
2: 0x10faab864 - std[b9b2ea19604012fc]::panicking::panic_with_hook
3: 0x10fa8f7e8 - std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}
4: 0x10fa86160 - std[b9b2ea19604012fc]::sys::backtrace::__rust_end_short_backtrace::<std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}, !>
5: 0x10fa90d8c - __rustc[af02054c5d8a4591]::rust_begin_unwind
6: 0x112acc20c - core[e51672913656d187]::panicking::panic_fmt
7: 0x10e6a0428 - <rustc_middle[ea55ef0647322b56]::query::on_disk_cache::OnDiskCache>::load_side_effect
8: 0x10f2167fc - <rustc_query_impl[74f8fd548954c2e1]::dep_kind_vtables::non_query::SideEffect::{closure#0} as core[e51672913656d187]::ops::function::FnOnce<(rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt, rustc_middle[ea55ef0647322b56]::dep_graph::dep_node::DepNode, rustc_middle[ea55ef0647322b56]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once
9: 0x10e6ce3c0 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_previous_green
10: 0x10e6ce234 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_green
11: 0x10efab87c - rustc_query_impl[74f8fd548954c2e1]::execution::ensure_can_skip_execution::<rustc_middle[ea55ef0647322b56]::query::caches::DefaultCache<rustc_span[91418ac2216fffb7]::def_id::LocalModDefId, rustc_middle[ea55ef0647322b56]::query::erase::ErasedData<[u8; 0usize]>>>
12: 0x10f0d6a54 - rustc_query_impl[74f8fd548954c2e1]::query_impl::check_mod_unstable_api_usage::execute_query_incr::__rust_end_short_backtrace
13: 0x10e2d71ec - <rustc_thread_pool[572c054113993799]::job::HeapJob<<rustc_thread_pool[572c054113993799]::scope::Scope>::spawn<rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_slice<&rustc_hir_id[f78870753f70def3]::OwnerId, rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_for_each_in<&rustc_hir_id[f78870753f70def3]::OwnerId, &[rustc_hir_id[f78870753f70def3]::OwnerId], <rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt>::par_hir_for_each_module<rustc_interface[e1e3761b472e4558]::passes::run_required_analyses::{closure#0}::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}>::{closure#1}::{closure#0}>::{closure#0}> as rustc_thread_pool[572c054113993799]::job::Job>::execute
14: 0x112c55e14 - <rustc_thread_pool[572c054113993799]::registry::WorkerThread>::wait_or_steal_until_cold
15: 0x10f5bae2c - <rustc_thread_pool[572c054113993799]::registry::ThreadBuilder>::run
16: 0x10d910d74 - std[b9b2ea19604012fc]::sys::backtrace::__rust_begin_short_backtrace::<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
17: 0x10d9219cc - <std[b9b2ea19604012fc]::thread::lifecycle::spawn_unchecked<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[e51672913656d187]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
18: 0x10fab60a8 - <std[b9b2ea19604012fc]::sys::thread::unix::Thread>::new::thread_start
19: 0x1871d7c58 - __pthread_cond_wait
rustc version: 1.96.0-nightly (f5eca4fcf 2026-04-09)
platform: aarch64-apple-darwin
query stack during panic:
#0 [analysis] running analysis passes on crate `kms_lib`
end of query stack
thread 'rustc' panicked at /rustc-dev/f5eca4fcfa908d1e038afd19c6e746f075859130/compiler/rustc_middle/src/query/on_disk_cache.rs:663:9:
cannot decode `AttrId` with `CacheDecoder`
stack backtrace:
0: 0x10fa9a214 - <std[b9b2ea19604012fc]::backtrace::Backtrace>::create
1: 0x10d918538 - std[b9b2ea19604012fc]::panicking::update_hook::<alloc[2936732e9dff64f9]::boxed::Box<rustc_driver_impl[af5d728f7692f4f1]::install_ice_hook::{closure#1}>>::{closure#0}
2: 0x10faab864 - std[b9b2ea19604012fc]::panicking::panic_with_hook
3: 0x10fa8f7e8 - std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}
4: 0x10fa86160 - std[b9b2ea19604012fc]::sys::backtrace::__rust_end_short_backtrace::<std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}, !>
5: 0x10fa90d8c - __rustc[af02054c5d8a4591]::rust_begin_unwind
6: 0x112acc20c - core[e51672913656d187]::panicking::panic_fmt
7: 0x10e6a0428 - <rustc_middle[ea55ef0647322b56]::query::on_disk_cache::OnDiskCache>::load_side_effect
8: 0x10f2167fc - <rustc_query_impl[74f8fd548954c2e1]::dep_kind_vtables::non_query::SideEffect::{closure#0} as core[e51672913656d187]::ops::function::FnOnce<(rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt, rustc_middle[ea55ef0647322b56]::dep_graph::dep_node::DepNode, rustc_middle[ea55ef0647322b56]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once
9: 0x10e6ce3c0 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_previous_green
10: 0x10e6ce234 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_green
11: 0x10efab87c - rustc_query_impl[74f8fd548954c2e1]::execution::ensure_can_skip_execution::<rustc_middle[ea55ef0647322b56]::query::caches::DefaultCache<rustc_span[91418ac2216fffb7]::def_id::LocalModDefId, rustc_middle[ea55ef0647322b56]::query::erase::ErasedData<[u8; 0usize]>>>
12: 0x10f0d6a54 - rustc_query_impl[74f8fd548954c2e1]::query_impl::check_mod_unstable_api_usage::execute_query_incr::__rust_end_short_backtrace
13: 0x10e2d71ec - <rustc_thread_pool[572c054113993799]::job::HeapJob<<rustc_thread_pool[572c054113993799]::scope::Scope>::spawn<rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_slice<&rustc_hir_id[f78870753f70def3]::OwnerId, rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_for_each_in<&rustc_hir_id[f78870753f70def3]::OwnerId, &[rustc_hir_id[f78870753f70def3]::OwnerId], <rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt>::par_hir_for_each_module<rustc_interface[e1e3761b472e4558]::passes::run_required_analyses::{closure#0}::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}>::{closure#1}::{closure#0}>::{closure#0}> as rustc_thread_pool[572c054113993799]::job::Job>::execute
14: 0x112c55e14 - <rustc_thread_pool[572c054113993799]::registry::WorkerThread>::wait_or_steal_until_cold
15: 0x10f5bae2c - <rustc_thread_pool[572c054113993799]::registry::ThreadBuilder>::run
16: 0x10d910d74 - std[b9b2ea19604012fc]::sys::backtrace::__rust_begin_short_backtrace::<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
17: 0x10d9219cc - <std[b9b2ea19604012fc]::thread::lifecycle::spawn_unchecked<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[e51672913656d187]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
18: 0x10fab60a8 - <std[b9b2ea19604012fc]::sys::thread::unix::Thread>::new::thread_start
19: 0x1871d7c58 - __pthread_cond_wait
query stack during panic:
#0 [analysis] running analysis passes on crate `kms_lib`
end of query stack
thread 'rustc' panicked at /rustc-dev/f5eca4fcfa908d1e038afd19c6e746f075859130/compiler/rustc_middle/src/query/on_disk_cache.rs:663:9:
cannot decode `AttrId` with `CacheDecoder`
stack backtrace:
0: 0x10fa9a214 - <std[b9b2ea19604012fc]::backtrace::Backtrace>::create
1: 0x10d918538 - std[b9b2ea19604012fc]::panicking::update_hook::<alloc[2936732e9dff64f9]::boxed::Box<rustc_driver_impl[af5d728f7692f4f1]::install_ice_hook::{closure#1}>>::{closure#0}
2: 0x10faab864 - std[b9b2ea19604012fc]::panicking::panic_with_hook
3: 0x10fa8f7e8 - std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}
4: 0x10fa86160 - std[b9b2ea19604012fc]::sys::backtrace::__rust_end_short_backtrace::<std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}, !>
5: 0x10fa90d8c - __rustc[af02054c5d8a4591]::rust_begin_unwind
6: 0x112acc20c - core[e51672913656d187]::panicking::panic_fmt
7: 0x10e6a0428 - <rustc_middle[ea55ef0647322b56]::query::on_disk_cache::OnDiskCache>::load_side_effect
8: 0x10f2167fc - <rustc_query_impl[74f8fd548954c2e1]::dep_kind_vtables::non_query::SideEffect::{closure#0} as core[e51672913656d187]::ops::function::FnOnce<(rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt, rustc_middle[ea55ef0647322b56]::dep_graph::dep_node::DepNode, rustc_middle[ea55ef0647322b56]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once
9: 0x10e6ce3c0 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_previous_green
10: 0x10e6ce234 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_green
11: 0x10efab87c - rustc_query_impl[74f8fd548954c2e1]::execution::ensure_can_skip_execution::<rustc_middle[ea55ef0647322b56]::query::caches::DefaultCache<rustc_span[91418ac2216fffb7]::def_id::LocalModDefId, rustc_middle[ea55ef0647322b56]::query::erase::ErasedData<[u8; 0usize]>>>
12: 0x10f0d6a54 - rustc_query_impl[74f8fd548954c2e1]::query_impl::check_mod_unstable_api_usage::execute_query_incr::__rust_end_short_backtrace
13: 0x10e2d71ec - <rustc_thread_pool[572c054113993799]::job::HeapJob<<rustc_thread_pool[572c054113993799]::scope::Scope>::spawn<rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_slice<&rustc_hir_id[f78870753f70def3]::OwnerId, rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_for_each_in<&rustc_hir_id[f78870753f70def3]::OwnerId, &[rustc_hir_id[f78870753f70def3]::OwnerId], <rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt>::par_hir_for_each_module<rustc_interface[e1e3761b472e4558]::passes::run_required_analyses::{closure#0}::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}>::{closure#1}::{closure#0}>::{closure#0}> as rustc_thread_pool[572c054113993799]::job::Job>::execute
14: 0x112c55e14 - <rustc_thread_pool[572c054113993799]::registry::WorkerThread>::wait_or_steal_until_cold
15: 0x10f5bae2c - <rustc_thread_pool[572c054113993799]::registry::ThreadBuilder>::run
16: 0x10d910d74 - std[b9b2ea19604012fc]::sys::backtrace::__rust_begin_short_backtrace::<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
17: 0x10d9219cc - <std[b9b2ea19604012fc]::thread::lifecycle::spawn_unchecked<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[e51672913656d187]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
18: 0x10fab60a8 - <std[b9b2ea19604012fc]::sys::thread::unix::Thread>::new::thread_start
19: 0x1871d7c58 - __pthread_cond_wait
query stack during panic:
#0 [analysis] running analysis passes on crate `kms_lib`
end of query stack
thread 'rustc' panicked at /rustc-dev/f5eca4fcfa908d1e038afd19c6e746f075859130/compiler/rustc_middle/src/query/on_disk_cache.rs:663:9:
cannot decode `AttrId` with `CacheDecoder`
stack backtrace:
0: 0x10fa9a214 - <std[b9b2ea19604012fc]::backtrace::Backtrace>::create
1: 0x10d918538 - std[b9b2ea19604012fc]::panicking::update_hook::<alloc[2936732e9dff64f9]::boxed::Box<rustc_driver_impl[af5d728f7692f4f1]::install_ice_hook::{closure#1}>>::{closure#0}
2: 0x10faab864 - std[b9b2ea19604012fc]::panicking::panic_with_hook
3: 0x10fa8f7e8 - std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}
4: 0x10fa86160 - std[b9b2ea19604012fc]::sys::backtrace::__rust_end_short_backtrace::<std[b9b2ea19604012fc]::panicking::panic_handler::{closure#0}, !>
5: 0x10fa90d8c - __rustc[af02054c5d8a4591]::rust_begin_unwind
6: 0x112acc20c - core[e51672913656d187]::panicking::panic_fmt
7: 0x10e6a0428 - <rustc_middle[ea55ef0647322b56]::query::on_disk_cache::OnDiskCache>::load_side_effect
8: 0x10f2167fc - <rustc_query_impl[74f8fd548954c2e1]::dep_kind_vtables::non_query::SideEffect::{closure#0} as core[e51672913656d187]::ops::function::FnOnce<(rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt, rustc_middle[ea55ef0647322b56]::dep_graph::dep_node::DepNode, rustc_middle[ea55ef0647322b56]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once
9: 0x10e6ce3c0 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_previous_green
10: 0x10e6ce234 - <rustc_middle[ea55ef0647322b56]::dep_graph::graph::DepGraphData>::try_mark_green
11: 0x10efab87c - rustc_query_impl[74f8fd548954c2e1]::execution::ensure_can_skip_execution::<rustc_middle[ea55ef0647322b56]::query::caches::DefaultCache<rustc_span[91418ac2216fffb7]::def_id::LocalModDefId, rustc_middle[ea55ef0647322b56]::query::erase::ErasedData<[u8; 0usize]>>>
12: 0x10f0d6a54 - rustc_query_impl[74f8fd548954c2e1]::query_impl::check_mod_unstable_api_usage::execute_query_incr::__rust_end_short_backtrace
13: 0x10e2d71ec - <rustc_thread_pool[572c054113993799]::job::HeapJob<<rustc_thread_pool[572c054113993799]::scope::Scope>::spawn<rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_slice<&rustc_hir_id[f78870753f70def3]::OwnerId, rustc_data_structures[2b2a31026d8abb23]::sync::parallel::par_for_each_in<&rustc_hir_id[f78870753f70def3]::OwnerId, &[rustc_hir_id[f78870753f70def3]::OwnerId], <rustc_middle[ea55ef0647322b56]::ty::context::TyCtxt>::par_hir_for_each_module<rustc_interface[e1e3761b472e4558]::passes::run_required_analyses::{closure#0}::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}>::{closure#1}::{closure#0}>::{closure#0}> as rustc_thread_pool[572c054113993799]::job::Job>::execute
14: 0x112c55e14 - <rustc_thread_pool[572c054113993799]::registry::WorkerThread>::wait_or_steal_until_cold
15: 0x10f5bae2c - <rustc_thread_pool[572c054113993799]::registry::ThreadBuilder>::run
16: 0x10d910d74 - std[b9b2ea19604012fc]::sys::backtrace::__rust_begin_short_backtrace::<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
17: 0x10d9219cc - <std[b9b2ea19604012fc]::thread::lifecycle::spawn_unchecked<<rustc_thread_pool[572c054113993799]::ThreadPoolBuilder>::build_scoped<rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#0}, rustc_interface[e1e3761b472e4558]::util::run_in_thread_pool_with_globals<rustc_interface[e1e3761b472e4558]::interface::run_compiler<(), rustc_driver_impl[af5d728f7692f4f1]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#5}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#1} as core[e51672913656d187]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
18: 0x10fab60a8 - <std[b9b2ea19604012fc]::sys::thread::unix::Thread>::new::thread_start
19: 0x1871d7c58 - __pthread_cond_wait
query stack during panic:
#0 [analysis] running analysis passes on crate `kms_lib`
end of query stack
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 reproducing the ICE in rustc 1.96.0-nightly (f5eca4fcf 2026-04-09) and compare it with nightly-2026-04-03, which is reported as good. Inspect compiler/rustc_middle/src/query/on_disk_cache.rs around line 663 and the analysis query for crate kms_lib. Done means the compiler no longer panics with cannot decode AttrId for the reported case.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100