rust-lang / rust-lang/rust

[ICE]: compiler\rustc_const_eval\src\interpret\operand.rs:664:13: primitive read not possible for type: usize

Open
#156,312 1 comment 0 reactions 0 assignees View on GitHub

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

Meta

rustc --version --verbose:

rustc 1.90.0 (1159e78c4 2025-09-14)
binary: rustc
commit-hash: 1159e78c4747b02ef996e55082b704c09b970588
commit-date: 2025-09-14
host: x86_64-pc-windows-msvc
release: 1.90.0
LLVM version: 20.1.8
Error output
error: internal compiler error: compiler\rustc_const_eval\src\interpret\operand.rs:664:13: primitive read not possible for type: usize
   --> C:\Users\Admin\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tokio-1.48.0\src\runtime\task\raw.rs:147:8
    |
147 |     if core_misalign > 0 {
    |        ^^^^^^^^^^^^^^^^^


thread 'rustc' panicked at compiler\rustc_const_eval\src\interpret\operand.rs:664:13:
Box<dyn Any>
Backtrace


stack backtrace:
   0:     0x7ffca0ec8b82 - std::backtrace_rs::backtrace::win64::trace
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\..\..\backtrace\src\backtrace\win64.rs:85
   1:     0x7ffca0ec8b82 - std::backtrace_rs::backtrace::trace_unsynchronized
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66
   2:     0x7ffca0ec8b82 - std::sys::backtrace::_print_fmt
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\sys\backtrace.rs:66
   3:     0x7ffca0ec8b82 - std::sys::backtrace::impl$0::print::impl$0::fmt
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\sys\backtrace.rs:39
   4:     0x7ffca0efbbab - core::fmt::rt::Argument::fmt
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\core\src\fmt\rt.rs:173
   5:     0x7ffca0efbbab - core::fmt::write
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\core\src\fmt\mod.rs:1468
   6:     0x7ffca0ebe5d7 - std::io::default_write_fmt
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\io\mod.rs:639
   7:     0x7ffca0ebe5d7 - std::io::Write::write_fmt<std::sys::stdio::windows::Stderr>
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\io\mod.rs:1954
   8:     0x7ffca0ec89c5 - std::sys::backtrace::BacktraceLock::print
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\sys\backtrace.rs:42
   9:     0x7ffca0ece729 - std::panicking::default_hook::closure$0
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\panicking.rs:300
  10:     0x7ffca0ece49f - std::panicking::default_hook
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\panicking.rs:327
  11:     0x7ffca269a479 - core[443c7eb89c3a0e8]::slice::sort::unstable::heapsort::heapsort::<((rustc_lint_defs[b5dab8794e6fe27b]::Level, &str), usize), <((rustc_lint_defs[b5dab8794e6fe27b]::Level, &str), usize) as core[443c7eb89c3a0e8]::cmp::PartialOrd>::lt>
  12:     0x7ffca0ecf37a - std::panicking::rust_panic_with_hook
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\panicking.rs:841
  13:     0x7ffca3f2e973 - RINvNtNtNtNtCsmHtFwzCQ9E_4core5slice4sort6stable9quicksort9quicksortTjRNtNtCsiz5Xl3xv90a_12rustc_errors7snippet10AnnotationENCINvMNtCsj4FhK7DZU1O_5alloc5sliceSB14_11sort_by_keyTINtNtBa_3cmp7ReversejEbENCNCNvMs4_NtB1b_7emitterNtB3n_12HumanEmitter18render_so
  14:     0x7ffca3f23419 - std[6c5d1f3eac284022]::sys::backtrace::__rust_end_short_backtrace::<std[6c5d1f3eac284022]::panicking::begin_panic<rustc_errors[d8401da0aa1587a8]::ExplicitBug>::{closure#0}, !>
  15:     0x7ffca3f1e403 - std[6c5d1f3eac284022]::panicking::begin_panic::<rustc_errors[d8401da0aa1587a8]::ExplicitBug>
  16:     0x7ffca3f3ab95 - <rustc_errors[d8401da0aa1587a8]::diagnostic::BugAbort as rustc_errors[d8401da0aa1587a8]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
  17:     0x7ffca3dd713f - RINvMs6_NtCs3R9eRT1Oe2i_9hashbrown3rawINtB6_8RawTableTTNtNtCsgbr1mWUUPzi_10rustc_span6def_id5DefIdRINtNtNtCs5y5f17YIu3x_12rustc_middle2ty4list7RawListuNtNtB1E_12generic_args10GenericArgEENtB1E_2TyEE14reserve_rehashNCINvNtB8_3map11make_hasherBQ_B2Z_NtCsRalD
  18:     0x7ffca3e87a66 - rustc_middle[40a43184bc452295]::util::bug::span_bug_fmt::<rustc_span[bc82a23e283dcada]::span_encoding::Span>
  19:     0x7ffca3e5ec2d - <rustc_middle[40a43184bc452295]::ty::consts::Const>::walk
  20:     0x7ffca3e5e9f6 - <rustc_middle[40a43184bc452295]::ty::consts::Const>::walk
  21:     0x7ffca3e879c9 - rustc_middle[40a43184bc452295]::util::bug::span_bug_fmt::<rustc_span[bc82a23e283dcada]::span_encoding::Span>
  22:     0x7ffca187e427 - <rustc_const_eval[34f8a375f6ff751b]::interpret::eval_context::InterpCx<_>>::storage_live_dyn::is_very_trivially_sized
  23:     0x7ffca1923896 - <rustc_const_eval[34f8a375f6ff751b]::check_consts::qualifs::NeedsNonConstDrop as rustc_const_eval[34f8a375f6ff751b]::check_consts::qualifs::Qualif>::in_any_value_of_ty
  24:     0x7ffca193eef8 - rustc_const_eval[34f8a375f6ff751b]::const_eval::eval_queries::eval_to_allocation_raw_provider
  25:     0x7ffca1e34e05 - rustc_query_impl[862a5c2b543b8aef]::plumbing::query_key_hash_verify_all
  26:     0x7ffca0a3315b - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  27:     0x7ffca0a26081 - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  28:     0x7ffca099275f - RINvNtNtCskYAanemdnmB_18rustc_query_system5query8plumbing17try_execute_queryINtCsbw9TFknRBud_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheINtNtCs5y5f17YIu3x_12rustc_middle2ty20PseudoCanonicalInputNtNtNtB2y_3mir9interpret8GlobalIdEINtNtNtB2
  29:     0x7ffca0a6d339 - rustc_query_impl[862a5c2b543b8aef]::query_system
  30:     0x7ffca193cc78 - rustc_const_eval[34f8a375f6ff751b]::const_eval::eval_queries::eval_to_const_value_raw_provider
  31:     0x7ffca1e351c8 - rustc_query_impl[862a5c2b543b8aef]::plumbing::query_key_hash_verify_all
  32:     0x7ffca0a3580b - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  33:     0x7ffca0a26081 - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  34:     0x7ffca0994be2 - RINvNtNtCskYAanemdnmB_18rustc_query_system5query8plumbing17try_execute_queryINtCsbw9TFknRBud_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheINtNtCs5y5f17YIu3x_12rustc_middle2ty20PseudoCanonicalInputNtNtNtB2y_3mir9interpret8GlobalIdEINtNtNtB2
  35:     0x7ffca0a6da99 - rustc_query_impl[862a5c2b543b8aef]::query_system
  36:     0x7ffca2591334 - <rustc_middle[40a43184bc452295]::ty::context::TyCtxt>::const_eval_resolve
  37:     0x7ffca197129c - rustc_const_eval[34f8a375f6ff751b]::const_eval::eval_queries::eval_to_allocation_raw_provider
  38:     0x7ffca1921f92 - <rustc_const_eval[34f8a375f6ff751b]::check_consts::qualifs::NeedsNonConstDrop as rustc_const_eval[34f8a375f6ff751b]::check_consts::qualifs::Qualif>::in_any_value_of_ty
  39:     0x7ffca193eef8 - rustc_const_eval[34f8a375f6ff751b]::const_eval::eval_queries::eval_to_allocation_raw_provider
  40:     0x7ffca1e34e05 - rustc_query_impl[862a5c2b543b8aef]::plumbing::query_key_hash_verify_all
  41:     0x7ffca0a3315b - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  42:     0x7ffca0a26081 - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  43:     0x7ffca099275f - RINvNtNtCskYAanemdnmB_18rustc_query_system5query8plumbing17try_execute_queryINtCsbw9TFknRBud_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheINtNtCs5y5f17YIu3x_12rustc_middle2ty20PseudoCanonicalInputNtNtNtB2y_3mir9interpret8GlobalIdEINtNtNtB2
  44:     0x7ffca0a6d339 - rustc_query_impl[862a5c2b543b8aef]::query_system
  45:     0x7ffca193cc78 - rustc_const_eval[34f8a375f6ff751b]::const_eval::eval_queries::eval_to_const_value_raw_provider
  46:     0x7ffca1e351c8 - rustc_query_impl[862a5c2b543b8aef]::plumbing::query_key_hash_verify_all
  47:     0x7ffca0a3580b - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  48:     0x7ffca0a26081 - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
  49:     0x7ffca0994be2 - RINvNtNtCskYAanemdnmB_18rustc_query_system5query8plumbing17try_execute_queryINtCsbw9TFknRBud_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheINtNtCs5y5f17YIu3x_12rustc_middle2ty20PseudoCanonicalInputNtNtNtB2y_3mir9interpret8GlobalIdEINtNtNtB2
  50:     0x7ffca0a6da99 - rustc_query_impl[862a5c2b543b8aef]::query_system
  51:     0x7ffca2591334 - <rustc_middle[40a43184bc452295]::ty::context::TyCtxt>::const_eval_resolve
  52:     0x7ffca134461b - rustc_monomorphize[88a58f0032ecc814]::collector::items_of_instance
  53:     0x7ffca1e346a7 - rustc_query_impl[862a5c2b543b8aef]::plumbing::query_key_hash_verify_all
  54:     0x7ffca1d6519c - RINvNtNtCskYAanemdnmB_18rustc_query_system5query8plumbing17try_execute_queryINtCsbw9TFknRBud_16rustc_query_impl13DynamicConfigINtNtB4_6caches12DefaultCacheTNtNtNtCs5y5f17YIu3x_12rustc_middle2ty8instance8InstanceNtNtNtB2A_3mir4mono14CollectionModeEINtNtNtB2
  55:     0x7ffca1e45f2e - rustc_query_impl[862a5c2b543b8aef]::plumbing::query_key_hash_verify_all
  56:     0x7ffca13630eb - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  57:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  58:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  59:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  60:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  61:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  62:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  63:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  64:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  65:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  66:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  67:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  68:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  69:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  70:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  71:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  72:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  73:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  74:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  75:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  76:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  77:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  78:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  79:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  80:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  81:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  82:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  83:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  84:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  85:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  86:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  87:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  88:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  89:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  90:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  91:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  92:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  93:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  94:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  95:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  96:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  97:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  98:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
  99:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 100:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 101:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 102:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 103:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 104:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 105:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 106:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 107:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 108:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 109:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 110:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 111:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 112:     0x7ffca1365352 - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 113:     0x7ffca072f7bf - RINvNtNtNtNtCsmHtFwzCQ9E_4core5slice4sort6stable9quicksort9quicksortNtNtNtCs5y5f17YIu3x_12rustc_middle3mir4mono11CodegenUnitNCINvMNtCsj4FhK7DZU1O_5alloc5sliceSB14_7sort_byNCNvNtCsbJmLHytaqK6_18rustc_monomorphize12partitioning19merge_codegen_unitss4_0E0EB2P
 114:     0x7ffca1355cba - rustc_monomorphize[88a58f0032ecc814]::partitioning::collect_and_partition_mono_items
 115:     0x7ffca0a5a217 - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
 116:     0x7ffca0a3b31d - <alloc[de2e6a6a198033fa]::sync::Arc<rustc_session[5e600bcd25a33234]::cstore::CrateSource>>::drop_slow
 117:     0x7ffca096bd68 - RINvNtNtCskYAanemdnmB_18rustc_query_system5query8plumbing17try_execute_queryINtCsbw9TFknRBud_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCs5y5f17YIu3x_12rustc_middle5query5erase6ErasedAhj28_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCt
 118:     0x7ffca3705f70 - <rustc_span[bc82a23e283dcada]::def_id::DefIndex as rustc_query_impl[862a5c2b543b8aef]::profiling_support::SpecIntoSelfProfilingString>::spec_to_self_profile_string
 119:     0x7ffc9d466c36 - std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >::_Construct_n<std::basic_string<char,std::char_traits<char>,std::allocator<char> > * __
 120:     0x7ffc9d4cfbb3 - <rustc_codegen_llvm[570e6ca01e2cde5e]::LlvmCodegenBackend as rustc_codegen_ssa[1c350e621ee76e2]::traits::backend::CodegenBackend>::codegen_crate
 121:     0x7ffc9d454ac7 - <rustc_interface[1967195aafe50f11]::queries::Linker>::codegen_and_build_linker
 122:     0x7ffc9d3d82b1 - std[6c5d1f3eac284022]::sys::backtrace::__rust_begin_short_backtrace::<<std[6c5d1f3eac284022]::thread::Builder>::spawn_unchecked_<ctrlc[235230c93d35bd7a]::set_handler_inner<rustc_driver_impl[d050a74338996c79]::install_ctrlc_handler::{closure#0}>::{closure#0}, ()>::{closure#1}::{closure#0}::{closure#0}, ()>
 123:     0x7ffc9d3d2940 - std[6c5d1f3eac284022]::sys::backtrace::__rust_begin_short_backtrace::<<std[6c5d1f3eac284022]::thread::Builder>::spawn_unchecked_<ctrlc[235230c93d35bd7a]::set_handler_inner<rustc_driver_impl[d050a74338996c79]::install_ctrlc_handler::{closure#0}>::{closure#0}, ()>::{closure#1}::{closure#0}::{closure#0}, ()>
 124:     0x7ffc9d3ce38f - RINvNtNtCs9iOHoBythrW_3std3sys9backtrace28___rust_begin_short_backtraceNCNCINvNtCs2bdwwDMrIBx_15rustc_interface4util26run_in_thread_with_globalsNCINvB1e_31run_in_thread_pool_with_globalsNCINvNtB1g_9interface12run_compileruNCNvCshSR4YUB5FzN_17rustc_driver_i
 125:     0x7ffc9d3dc50d - std[6c5d1f3eac284022]::sys::backtrace::__rust_begin_short_backtrace::<<std[6c5d1f3eac284022]::thread::Builder>::spawn_unchecked_<ctrlc[235230c93d35bd7a]::set_handler_inner<rustc_driver_impl[d050a74338996c79]::install_ctrlc_handler::{closure#0}>::{closure#0}, ()>::{closure#1}::{closure#0}::{closure#0}, ()>
 126:     0x7ffca0ed2f3d - alloc::boxed::impl$28::call_once
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\alloc\src\boxed.rs:1971
 127:     0x7ffca0ed2f3d - alloc::boxed::impl$28::call_once
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\alloc\src\boxed.rs:1971
 128:     0x7ffca0ed2f3d - std::sys::pal::windows::thread::impl$0::new::thread_start
                               at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\sys\pal\windows\thread.rs:60
 129:     0x7ffdbbd7e8d7 - BaseThreadInitThunk
 130:     0x7ffdbcccc3fc - RtlUserThreadStart

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 x86_64-pc-windows-msvc

note: compiler flags: --crate-type cdylib -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED] --crate-type cdylib

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ICE with rustc 1.90.0 on the reported tokio-1.48.0 code, then inspect compiler/rustc_const_eval/src/interpret/operand.rs around line 664 and the const-evaluation frames in the backtrace. The reported code location is tokio-1.48.0/src/runtime/task/raw.rs:147. Done means the reproducer no longer triggers an internal compiler error and the behavior is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.