thread 'rustc' panicked at /rustc/f4b771bf1fb836392e1c510a625cdc81be09c952/compiler/rustc_middle/src/hir/mod.rs:130:84: index out of bounds: the len is 1253 but the index is 1257 stack backtrace: 0: 0x101728fd4 - std::backtrace::Backtrace::create::h3a3a374e9e7e0700 1: 0x10ace1ba8 - as core[90a5c53afcfd51a7]::ops::function::Fn<(&dyn for<'a, 'b> core[90a5c53afcfd51a7]::ops::function::Fn<(&'a core[90a5c53afcfd51a7]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[90a5c53afcfd51a7]::marker::Sync + core[90a5c53afcfd51a7]::marker::Send, &core[90a5c53afcfd51a7]::panic::panic_info::PanicInfo)>>::call 2: 0x101741bdc - std::panicking::rust_panic_with_hook::h40d0b7f483c74a4e 3: 0x10174159c - std::panicking::begin_panic_handler::{{closure}}::h58be0aecd21db416 4: 0x10173eec0 - std::sys_common::backtrace::__rust_end_short_backtrace::h04c25f4b10b72c6e 5: 0x101741314 - _rust_begin_unwind 6: 0x10179bfb8 - core::panicking::panic_fmt::h6ebf981fc54f2791 7: 0x10179c128 - core::panicking::panic_bounds_check::h33c7b9b26d949bc8 8: 0x10b412e4c - >::call_once 9: 0x10bf50eb8 - rustc_query_impl[682394810b55ba24]::plumbing::__rust_begin_short_backtrace::> 10: 0x10c06cd1c - >::call_once 11: 0x10befd824 - rustc_query_system[55c8316e36b91968]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[682394810b55ba24]::plumbing::QueryCtxt, true> 12: 0x10c0f7a60 - rustc_query_impl[682394810b55ba24]::query_impl::local_def_id_to_hir_id::get_query_incr::__rust_end_short_backtrace 13: 0x1006b1bec - <&mut ::config::{closure#0}::{closure#0}::{closure#1} as core[90a5c53afcfd51a7]::ops::function::FnMut<(&rustc_span[58c7b7ec18b535c7]::def_id::LocalDefId,)>>::call_mut 14: 0x1006b79e0 - as core[90a5c53afcfd51a7]::iter::traits::collect::Extend<<[(rustc_middle[a133e6436611f9f4]::middle::exported_symbols::ExportedSymbol, rustc_middle[a133e6436611f9f4]::middle::exported_symbols::SymbolExportInfo); 8usize] as smallvec[ca482dcb4949f292]::Array>::Item>>::extend::, ::config::{closure#0}::{closure#0}::{closure#1}>> 15: 0x100836600 - rustc_arena[d4346163be343b66]::outline::<::alloc_from_iter<(rustc_middle[a133e6436611f9f4]::middle::exported_symbols::ExportedSymbol, rustc_middle[a133e6436611f9f4]::middle::exported_symbols::SymbolExportInfo), core[90a5c53afcfd51a7]::iter::adapters::filter_map::FilterMap, ::config::{closure#0}::{closure#0}::{closure#1}>>::{closure#0}, &mut [(rustc_middle[a133e6436611f9f4]::middle::exported_symbols::ExportedSymbol, rustc_middle[a133e6436611f9f4]::middle::exported_symbols::SymbolExportInfo)]> 16: 0x1006b2524 - <::config::{closure#0}::{closure#0} as core[90a5c53afcfd51a7]::ops::function::FnOnce<(rustc_middle[a133e6436611f9f4]::ty::context::TyCtxt, rustc_middle[a133e6436611f9f4]::query::keys::LocalCrate)>>::call_once 17: 0x10bf4eed8 - rustc_query_impl[682394810b55ba24]::plumbing::__rust_begin_short_backtrace::> 18: 0x10c10c944 - >::call_once 19: 0x10beff748 - rustc_query_system[55c8316e36b91968]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[682394810b55ba24]::plumbing::QueryCtxt, true> 20: 0x10c132750 - rustc_query_impl[682394810b55ba24]::query_impl::exported_symbols::get_query_incr::__rust_end_short_backtrace 21: 0x10b59a2b4 - rustc_middle[a133e6436611f9f4]::query::plumbing::query_get_at::>> 22: 0x10b5a04b0 - ::encode_crate_root 23: 0x10b5a7b0c - rustc_metadata[ed54500af7f6d91a]::rmeta::encoder::encode_metadata 24: 0x10b64b314 - rustc_metadata[ed54500af7f6d91a]::fs::encode_and_write_metadata 25: 0x10b41b1fc - rustc_interface[c597ac206337958b]::passes::start_codegen 26: 0x10b4364b4 - ::enter::<::codegen_and_build_linker::{closure#0}, core[90a5c53afcfd51a7]::result::Result> 27: 0x10b48d318 - ::codegen_and_build_linker 28: 0x10ac79c3c - ::enter::, rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>> 29: 0x10acd5084 - rustc_span[58c7b7ec18b535c7]::set_source_map::, rustc_interface[c597ac206337958b]::interface::run_compiler, rustc_driver_impl[721b8d1ac8fde8ab]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> 30: 0x10acd6708 - rustc_span[58c7b7ec18b535c7]::create_session_globals_then::, rustc_interface[c597ac206337958b]::util::run_in_thread_pool_with_globals, rustc_driver_impl[721b8d1ac8fde8ab]::run_compiler::{closure#0}>::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>>::{closure#0}> 31: 0x10acc2610 - std[838e2dcacfe5965e]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[721b8d1ac8fde8ab]::run_compiler::{closure#0}>::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>>::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>> 32: 0x10acd1f58 - <::spawn_unchecked_, rustc_driver_impl[721b8d1ac8fde8ab]::run_compiler::{closure#0}>::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>>::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[90a5c53afcfd51a7]::result::Result<(), rustc_span[58c7b7ec18b535c7]::ErrorGuaranteed>>::{closure#1} as core[90a5c53afcfd51a7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 33: 0x10174a03c - std::sys::pal::unix::thread::Thread::new::thread_start::h6d23e69c46c8136e 34: 0x1882a2f94 - __pthread_joiner_wake rustc version: 1.78.0-nightly (f4b771bf1 2024-03-14) platform: aarch64-apple-darwin query stack during panic: #0 [local_def_id_to_hir_id] getting HIR ID of `sign_algo::algo::PKCS_ECDSA_P256_SHA256::{constant#0}` #1 [exported_symbols] collecting exported symbols for crate `0` end of query stack