~/wasmtime$ cargo +nightly fuzz run table_ops -- =runs=1
Compiling pulley-interpreter v37.0.0 (/users/khan22/wasmtime/pulley)
Compiling cranelift-assembler-x64 v0.124.0 (/users/khan22/wasmtime/cranelift/assembler-x64)
Compiling wast v236.0.0
Compiling wasmi v0.43.1
Compiling v8 v137.2.0
Compiling wat v1.236.0
Compiling json-from-wast v0.236.0
Compiling wasm-smith v0.236.0
thread 'rustc' (35669) panicked at compiler/rustc_codegen_ssa/src/back/archive.rs:481:29:
range end index 69270030 out of range for slice of length 69173248
stack backtrace:
0: 0x7f1353028793 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hbdbe8f63c4388170
1: 0x7f1353801abc - core::fmt::write::h7c9d996133c09c4c
2: 0x7f13530138c3 - std::io::Write::write_fmt::h8b5d91cb0716ac92
3: 0x7f1353028c02 - std::sys::backtrace::BacktraceLock::print::h7a1c92e005ea0ae7
4: 0x7f135300af17 - std::panicking::default_hook::{{closure}}::h45e09df88661c95d
5: 0x7f135300aa43 - std::panicking::default_hook::h0a541c0c26e412a1
6: 0x7f1352079455 - std[329196bafda325c0]::panicking::update_hook::<alloc[2a86354f952d53f3]::boxed::Box<rustc_driver_impl[c30650361e8f6db4]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7f135300a5f3 - std::panicking::panic_with_hook::h80e20cfe56475828
8: 0x7f1353028cba - std::panicking::panic_handler::{{closure}}::hf62ab8c5ae80a164
9: 0x7f1353028c19 - std::sys::backtrace::__rust_end_short_backtrace::h95407abd26228287
10: 0x7f135300b5cd - __rustc[c13b085bc3ccd426]::rust_begin_unwind
11: 0x7f134f6d8be0 - core::panicking::panic_fmt::h9b3c3ebe00732244
12: 0x7f1351a1d797 - core::slice::index::slice_end_index_len_fail::do_panic::runtime::h83a25ef06dac8793
13: 0x7f1350f3cbca - core::slice::index::slice_end_index_len_fail::h212b8b4a9f378074
14: 0x7f135497403f - <rustc_codegen_ssa[7a807fb7ad75c85e]::back::archive::ArArchiveBuilder>::build_inner
15: 0x7f135497162c - <rustc_codegen_ssa[7a807fb7ad75c85e]::back::archive::ArArchiveBuilder as rustc_codegen_ssa[7a807fb7ad75c85e]::back::archive::ArchiveBuilder>::build
16: 0x7f1354976bee - rustc_codegen_ssa[7a807fb7ad75c85e]::back::link::link_binary
17: 0x7f1354a94fe8 - <rustc_interface[6d8968059bc7f4aa]::queries::Linker>::link
18: 0x7f1354a8e218 - rustc_interface[6d8968059bc7f4aa]::interface::run_compiler::<(), rustc_driver_impl[c30650361e8f6db4]::run_compiler::{closure#0}>::{closure#1}
19: 0x7f135494c2f8 - std[329196bafda325c0]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[6d8968059bc7f4aa]::util::run_in_thread_with_globals<rustc_interface[6d8968059bc7f4aa]::util::run_in_thread_pool_with_globals<rustc_interface[6d8968059bc7f4aa]::interface::run_compiler<(), rustc_driver_impl[c30650361e8f6db4]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
20: 0x7f135494bfdc - <<std[329196bafda325c0]::thread::Builder>::spawn_unchecked_<rustc_interface[6d8968059bc7f4aa]::util::run_in_thread_with_globals<rustc_interface[6d8968059bc7f4aa]::util::run_in_thread_pool_with_globals<rustc_interface[6d8968059bc7f4aa]::interface::run_compiler<(), rustc_driver_impl[c30650361e8f6db4]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[d0239552f4cfc2f7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
21: 0x7f135495194b - std::sys::pal::unix::thread::Thread::new::thread_start::hc1a4fde7edfacb97
22: 0x7f134e26bac3 - start_thread
at ./nptl/pthread_create.c:442:8
23: 0x7f134e2fd850 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81:0
24: 0x0 - <unknown>
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 `/users/khan22/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/v8-137.2.0/rustc-ice-2025-08-19T20_04_14-35658.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C debuginfo=line-tables-only -C passes=sancov-module -C llvm-args=-sanitizer-coverage-level=4 -C llvm-args=-sanitizer-coverage-inline-8bit-counters -C llvm-args=-sanitizer-coverage-pc-table -C llvm-args=-sanitizer-coverage-trace-compares -C llvm-args=-simplifycfg-branch-fold-threshold=0 -Z sanitizer=address -C llvm-args=-sanitizer-coverage-stack-depth -C debug-assertions -C codegen-units=1
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
error: could not compile `v8` (lib)
Caused by:
process didn't exit successfully: `/users/khan22/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name v8 --edition=2024 /users/khan22/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/v8-137.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=260 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=line-tables-only --cfg 'feature="default"' --cfg 'feature="use_custom_libcxx"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_custom_libcxx", "v8_enable_pointer_compression"))' -C metadata=3eafacdf5c6562c2 -C extra-filename=-1bd660b9da1fce87 --out-dir /users/khan22/wasmtime/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/users/khan22/wasmtime/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/users/khan22/wasmtime/target/release/deps --extern bitflags=/users/khan22/wasmtime/target/x86_64-unknown-linux-gnu/release/deps/libbitflags-2385c39d2c31e37c.rmeta --extern paste=/users/khan22/wasmtime/target/release/deps/libpaste-4be1c55b718dfb2c.so --cap-lints allow -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Cllvm-args=-simplifycfg-branch-fold-threshold=0 -Zsanitizer=address -Cllvm-args=-sanitizer-coverage-stack-depth -Cdebug-assertions -Ccodegen-units=1 -L /users/khan22/wasmtime/target/x86_64-unknown-linux-gnu/release/gn_out/obj -l static=rusty_v8` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
Error: failed to build fuzz script: ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS=" -Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Cllvm-args=-simplifycfg-branch-fold-threshold=0 -Zsanitizer=address -Cllvm-args=-sanitizer-coverage-stack-depth -Cdebug-assertions -Ccodegen-units=1" "cargo" "build" "--manifest-path" "/users/khan22/wasmtime/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--config" "profile.release.debug=\"line-tables-only\"" "--bin" "table_ops"
~/wasmtime$ cargo +nightly -vV
cargo 1.91.0-nightly (71eb84f21 2025-08-17)
release: 1.91.0-nightly
commit-hash: 71eb84f21aef43c07580c6aed6f806a6299f5042
commit-date: 2025-08-17
host: x86_64-unknown-linux-gnu
libgit2: 1.9.1 (sys:0.20.2 vendored)
libcurl: 8.14.1-DEV (sys:0.4.82+curl-8.14.1 vendored ssl:OpenSSL/3.5.0)
ssl: OpenSSL 3.5.0 8 Apr 2025
os: Ubuntu 22.4.0 (jammy) [64-bit]
Hi! I am working on
wasmtimeand I have been using the same build methods to run and test. The newest nightly gives the following output. I also make this report while I am trying to figure it out myself too: