-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler error #148
Comments
by the way,the rust version is as follows: |
Install |
clang has installed before this compiling Reading package lists... Done |
|
here is the file content,thank u @chettoy rustc version: 1.82.0-nightly (4074d4902 2024-08-23) |
I also have the same problem. Have you solved it? |
I removed a lot of module to compile it |
Compiling bit-vec v0.6.3
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: 0x70ca807e6d3d - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4178db4b62b6a7c8
1: 0x70ca81004c97 - core::fmt::write::hdebf67a64074cdfd
2: 0x70ca822c3511 - std::io::Write::write_fmt::h67b07a8971426909
3: 0x70ca807e941b - std::panicking::default_hook::{{closure}}::hb33c35cc1f4b50b3
4: 0x70ca807e908e - std::panicking::default_hook::h2c83543c651f3125
5: 0x70ca7f95fc79 - std[6e15924ca43b8509]::panicking::update_hook::<alloc[74339d1d9b201e21]::boxed::Box<rustc_driver_impl[d6b1c5b97f2d776c]::install_ice_hook::{closure#0}>>::{closure#0}
6: 0x70ca807e9d37 - std::panicking::rust_panic_with_hook::h48ec1454fab3e9d6
7: 0x70ca807e99f7 - std::panicking::begin_panic_handler::{{closure}}::hdfdc79a140009172
8: 0x70ca807e71f9 - std::sys::backtrace::__rust_end_short_backtrace::h5e9ef3624d34a08c
9: 0x70ca807e96c4 - rust_begin_unwind
10: 0x70ca7d99f263 - core::panicking::panic_fmt::h5c7dda2686e962d9
11: 0x70ca7ec02867 - core::slice::index::slice_end_index_len_fail::h2d5540bcb1f80daa
12: 0x70ca81c5373a - <rustc_codegen_ssa[360404bd41fe828f]::back::archive::ArArchiveBuilder>::build_inner
13: 0x70ca81c50db0 - <rustc_codegen_ssa[360404bd41fe828f]::back::archive::ArArchiveBuilder as rustc_codegen_ssa[360404bd41fe828f]::back::archive::ArchiveBuilder>::build
14: 0x70ca7ec0d3ec - rustc_codegen_ssa[360404bd41fe828f]::back::link::link_binary
15: 0x70ca81f8fcbe - <rustc_codegen_llvm[4ac59c4c50f2d586]::LlvmCodegenBackend as rustc_codegen_ssa[360404bd41fe828f]::traits::backend::CodegenBackend>::link
16: 0x70ca81f8f734 - <rustc_interface[eb6eb7ed9ab023cb]::queries::Linker>::link
17: 0x70ca81df4c23 - rustc_interface[eb6eb7ed9ab023cb]::interface::run_compiler::<core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>, rustc_driver_impl[d6b1c5b97f2d776c]::run_compiler::{closure#0}>::{closure#1}
18: 0x70ca7f96a0bd - <rayon_core[b59a5ddc7c964e89]::job::StackJob<rayon_core[b59a5ddc7c964e89]::latch::LatchRef<rayon_core[b59a5ddc7c964e89]::latch::LockLatch>, <rayon_core[b59a5ddc7c964e89]::registry::Registry>::in_worker_cold<<rayon_core[b59a5ddc7c964e89]::thread_pool::ThreadPool>::install<rustc_interface[eb6eb7ed9ab023cb]::util::run_in_thread_pool_with_globals<rustc_interface[eb6eb7ed9ab023cb]::interface::run_compiler<core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>, rustc_driver_impl[d6b1c5b97f2d776c]::run_compiler::{closure#0}>::{closure#1}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#1}::{closure#0}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>>::{closure#0}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>> as rayon_core[b59a5ddc7c964e89]::job::Job>::execute
19: 0x70ca7f48583e - <rayon_core[b59a5ddc7c964e89]::registry::WorkerThread>::wait_until_cold
20: 0x70ca7f4833c9 - <rayon_core[b59a5ddc7c964e89]::registry::ThreadBuilder>::run
21: 0x70ca7f9628f7 - <<crossbeam_utils[69f3e4e9922a2578]::thread::ScopedThreadBuilder>::spawn<<rayon_core[b59a5ddc7c964e89]::ThreadPoolBuilder>::build_scoped<rustc_interface[eb6eb7ed9ab023cb]::util::run_in_thread_pool_with_globals<rustc_interface[eb6eb7ed9ab023cb]::interface::run_compiler<core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>, rustc_driver_impl[d6b1c5b97f2d776c]::run_compiler::{closure#0}>::{closure#1}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#0}, rustc_interface[eb6eb7ed9ab023cb]::util::run_in_thread_pool_with_globals<rustc_interface[eb6eb7ed9ab023cb]::interface::run_compiler<core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>, rustc_driver_impl[d6b1c5b97f2d776c]::run_compiler::{closure#0}>::{closure#1}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>>::{closure#3}::{closure#0}::{closure#1}, core[f2f627d3c87d2691]::result::Result<(), rustc_span[641b1e127128c80]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#0} as core[f2f627d3c87d2691]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
22: 0x70ca7f95584e - std[6e15924ca43b8509]::sys::backtrace::_rust_begin_short_backtrace::<alloc[74339d1d9b201e21]::boxed::Box<dyn core[f2f627d3c87d2691]::ops::function::FnOnce<(), Output = ()> + core[f2f627d3c87d2691]::marker::Send>, ()>
23: 0x70ca7f9625ea - <<std[6e15924ca43b8509]::thread::Builder>::spawn_unchecked<alloc[74339d1d9b201e21]::boxed::Box<dyn core[f2f627d3c87d2691]::ops::function::FnOnce<(), Output = ()> + core[f2f627d3c87d2691]::marker::Send>, ()>::{closure#1} as core[f2f627d3c87d2691]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
24: 0x70ca81e6fd6b - std::sys::pal::unix::thread::Thread::new::thread_start::h5ac727470998e7f2
Compiling unicode-segmentation v1.11.0
25: 0x70ca7c09ca94 - start_thread
at ./nptl/pthread_create.c:447:8
26: 0x70ca7c129c3c - clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
27: 0x0 -
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: please make sure that you have updated to the latest nightly
note: please attach the file at
/home/jason/.cargo/registry/src/mirrors.aliyun.com-8754fae0eb2f08f1/v8-0.103.0/rustc-ice-2024-08-25T09_59_20-200180.txt
to your bug reportnote: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C linker=clang -C strip=debuginfo -C link-arg=-fuse-ld=lld -Z share-generics=y -Z threads=0 -Z macro-backtrace
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
Compiling tonic-build v0.12.1
Compiling overload v0.1.1
Compiling data-url v0.3.1
Compiling deno_media_type v0.1.4
Compiling nu-ansi-term v0.46.0
Compiling zvariant v4.2.0
Compiling include-flate-codegen v0.2.0
Compiling swc_ecma_transforms_typescript v0.195.0
Compiling oxc_minifier v0.24.3
Compiling parse-js v0.20.1
Compiling bit-set v0.5.3
Compiling reqwest v0.12.7
Compiling dprint-swc-ext v0.19.0
Compiling serde_v8 v0.213.0
Compiling clap v4.5.16
Compiling rand v0.3.23
Compiling async-stream v0.3.5
Compiling matchers v0.1.0
Compiling memflow-win32-defs v0.2.0
Compiling crossterm v0.28.1
Compiling swc_ecma_transforms_proposal v0.178.0
Compiling swc_ecma_loader v0.49.1
Compiling async-broadcast v0.7.1
Compiling zbus_macros v4.4.0
Compiling rand_isaac v0.1.1
Compiling rand_xorshift v0.1.1
Compiling rand_hc v0.1.0
Compiling deno_unsync v0.4.1
Compiling zbus_names v3.0.0
Compiling sourcemap v8.0.1
Compiling unicode-truncate v1.1.0
Compiling lru v0.12.4
Compiling xattr v1.3.1
Compiling skyapex-derive v0.1.0 (/home/jason/apex/apexsky/apex_dma/lib/skyapex/skyapex-derive)
Compiling pelite v0.10.0
Compiling scan_fmt v0.2.6
Compiling bincode v1.3.3
Compiling tracing-serde v0.1.3
Compiling swc_visit_macros v0.5.13
Compiling bytemuck v1.17.0
Compiling serde_repr v0.1.19
Compiling instability v0.3.2
Compiling swc_ecma_codegen v0.155.0
Compiling num-derive v0.4.2
error: could not compile
v8
(lib)warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: