rust
rust copied to clipboard
rust compile error
Code
<code>
Meta
rustc --version --verbose
:
<version>
Error output
thread 'rustc' panicked at compiler/rustc_codegen_ssa/src/back/archive.rs:453:29:
range end index 56048152 out of range for slice of length 54914853
Backtrace
thread 'rustc' panicked at compiler/rustc_codegen_ssa/src/back/archive.rs:453:29:
range end index 56048152 out of range for slice of length 54914853
stack backtrace:
0: 0x7943a4a7dae5 - std::backtrace::Backtrace::create::h7d2dc8e7359e23d1
1: 0x7943a31d7fe5 - std::backtrace::Backtrace::force_capture::h9da8509fb866dd5e
2: 0x7943a2365fce - std[a1dbd854c1325271]::panicking::update_hook::<alloc[3fbf3ac9bf9e6fee]::boxed::Box<rustc_driver_impl[efee53de8626d180]::install_ice_hook::{closure#0}>>::{closure#0}
3: 0x7943a31efe57 - std::panicking::rust_panic_with_hook::h76eaaf856d4627ce
4: 0x7943a31efb17 - std::panicking::begin_panic_handler::{{closure}}::h822501910e3f1a1e
5: 0x7943a31ed319 - std::sys::backtrace::__rust_end_short_backtrace::hd0a94a8e1050aebb
6: 0x7943a31ef7e4 - rust_begin_unwind
7: 0x7943a10be9b3 - core::panicking::panic_fmt::h20afa97c0700e760
8: 0x7943a0d84537 - core::slice::index::slice_end_index_len_fail::h67e874000ea72dbd
9: 0x7943a470bf7a - <rustc_codegen_ssa[ab9517ab64be802e]::back::archive::ArArchiveBuilder>::build_inner
10: 0x7943a47095f0 - <rustc_codegen_ssa[ab9517ab64be802e]::back::archive::ArArchiveBuilder as rustc_codegen_ssa[ab9517ab64be802e]::back::archive::ArchiveBuilder>::build
11: 0x7943a1aa6fec - rustc_codegen_ssa[ab9517ab64be802e]::back::link::link_binary
12: 0x7943a49209be - <rustc_codegen_llvm[9d3d159f4de86b58]::LlvmCodegenBackend as rustc_codegen_ssa[ab9517ab64be802e]::traits::backend::CodegenBackend>::link
13: 0x7943a4920434 - <rustc_interface[aa59e22bcd409986]::queries::Linker>::link
14: 0x7943a47ebb23 - rustc_interface[aa59e22bcd409986]::interface::run_compiler::<core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>, rustc_driver_impl[efee53de8626d180]::run_compiler::{closure#0}>::{closure#1}
15: 0x7943a236fd5d - <rayon_core[3d20b23d40a5251c]::job::StackJob<rayon_core[3d20b23d40a5251c]::latch::LatchRef<rayon_core[3d20b23d40a5251c]::latch::LockLatch>, <rayon_core[3d20b23d40a5251c]::registry::Registry>::in_worker_cold<<rayon_core[3d20b23d40a5251c]::thread_pool::ThreadPool>::install<rustc_interface[aa59e22bcd409986]::util::run_in_thread_pool_with_globals<rustc_interface[aa59e22bcd409986]::interface::run_compiler<core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>, rustc_driver_impl[efee53de8626d180]::run_compiler::{closure#0}>::{closure#1}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#1}::{closure#0}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>>::{closure#0}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>> as rayon_core[3d20b23d40a5251c]::job::Job>::execute
16: 0x7943a1e8d8de - <rayon_core[3d20b23d40a5251c]::registry::WorkerThread>::wait_until_cold
17: 0x7943a1e8b469 - <rayon_core[3d20b23d40a5251c]::registry::ThreadBuilder>::run
18: 0x7943a2368617 - <<crossbeam_utils[12652dbc0cf7bb47]::thread::ScopedThreadBuilder>::spawn<<rayon_core[3d20b23d40a5251c]::ThreadPoolBuilder>::build_scoped<rustc_interface[aa59e22bcd409986]::util::run_in_thread_pool_with_globals<rustc_interface[aa59e22bcd409986]::interface::run_compiler<core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>, rustc_driver_impl[efee53de8626d180]::run_compiler::{closure#0}>::{closure#1}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#0}, rustc_interface[aa59e22bcd409986]::util::run_in_thread_pool_with_globals<rustc_interface[aa59e22bcd409986]::interface::run_compiler<core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>, rustc_driver_impl[efee53de8626d180]::run_compiler::{closure#0}>::{closure#1}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#1}, core[ba50336fd15f7b99]::result::Result<(), rustc_span[7709997ecec77dfd]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#0} as core[ba50336fd15f7b99]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
19: 0x7943a235be0e - std[a1dbd854c1325271]::sys::backtrace::__rust_begin_short_backtrace::<alloc[3fbf3ac9bf9e6fee]::boxed::Box<dyn core[ba50336fd15f7b99]::ops::function::FnOnce<(), Output = ()> + core[ba50336fd15f7b99]::marker::Send>, ()>
20: 0x7943a236830a - <<std[a1dbd854c1325271]::thread::Builder>::spawn_unchecked_<alloc[3fbf3ac9bf9e6fee]::boxed::Box<dyn core[ba50336fd15f7b99]::ops::function::FnOnce<(), Output = ()> + core[ba50336fd15f7b99]::marker::Send>, ()>::{closure#1} as core[ba50336fd15f7b99]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
21: 0x7943a487e6ab - std::sys::pal::unix::thread::Thread::new::thread_start::h524c2fb54e75be43
22: 0x79439ea9ca94 - start_thread
at ./nptl/pthread_create.c:447:8
23: 0x79439eb29c3c - clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
24: 0x0 - <unknown>
rustc version: 1.82.0-nightly (4074d4902 2024-08-23)
platform: x86_64-unknown-linux-gnu