[INFO] cloning repository https://github.com/johnrscott/riscvemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnrscott/riscvemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnrscott%2Friscvemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnrscott%2Friscvemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fb598d8a10698c50e4c7ca6f5496a3fc56e080b [INFO] testing johnrscott/riscvemu against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnrscott%2Friscvemu" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnrscott/riscvemu on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnrscott/riscvemu [INFO] finished tweaking git repo https://github.com/johnrscott/riscvemu [INFO] tweaked toml for git repo https://github.com/johnrscott/riscvemu written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/johnrscott/riscvemu already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84e513c4479484a72a87bd388e0b31023d26454e34934509b774a82a4e6d497 [INFO] running `Command { std: "docker" "start" "-a" "f84e513c4479484a72a87bd388e0b31023d26454e34934509b774a82a4e6d497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84e513c4479484a72a87bd388e0b31023d26454e34934509b774a82a4e6d497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84e513c4479484a72a87bd388e0b31023d26454e34934509b774a82a4e6d497", kill_on_drop: false }` [INFO] [stdout] f84e513c4479484a72a87bd388e0b31023d26454e34934509b774a82a4e6d497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce8d11a4de8f23932e81f63e85ffffc6765589c664f84e25b4542b2f01e5b9b1 [INFO] running `Command { std: "docker" "start" "-a" "ce8d11a4de8f23932e81f63e85ffffc6765589c664f84e25b4542b2f01e5b9b1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling elf v0.7.4 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling clap-num v1.0.2 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling riscvemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `queues` [INFO] [stdout] --> src/platform/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use queues::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `section` is never read [INFO] [stdout] --> src/elf_utils.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct FullSymbol { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 157 | pub name: Option, [INFO] [stdout] 158 | section: SymbolSection, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullSymbol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `string_table`, `section_header_table`, and `section_data` are never used [INFO] [stdout] --> src/elf_utils.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 224 | impl ElfFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 237 | fn string_table(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn section_header_table( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn section_data(&self, header: &SectionHeader) -> Result<&[u8], ElfError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alloc` is never used [INFO] [stdout] --> src/elf_utils.rs:325:4 [INFO] [stdout] | [INFO] [stdout] 325 | fn alloc(section_flags: u64) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/elf_utils.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn write(section_flags: u64) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcXqO2Pb/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libriscvemu-105947da941c07a7.rlib,libnum-7544ef40827bc774.rlib,libnum_iter-59641e14e6870a45.rlib,libnum_rational-d56030153803b98b.rlib,libnum_complex-a077696f2fce9905.rlib,libnum_bigint-6838f43f9d2de267.rlib,libnum_integer-bf997a9b925e6065.rlib,libitertools-8fc5c71cfbe400f2.rlib,libeither-2603831856d26698.rlib,libqueues-c82fd7213346c976.rlib,libelf-e512873384ab4649.rlib,libthiserror-1563d226d4d6e907.rlib,libclap_num-9f9de5d527bd2ba9.rlib,libnum_traits-66af25cac9c3b77c.rlib,libclap-65824dde61def914.rlib,libclap_builder-15ef9aed660a38c2.rlib,libterminal_size-8e7ab543e0e24304.rlib,librustix-fb806bef23addaf5.rlib,libbitflags-8c9d79e5077786a0.rlib,liblinux_raw_sys-2d971d3ceee0353f.rlib,libstrsim-d620f0ade87b0f1f.rlib,libanstream-b8a4eb57ccf10052.rlib,libanstyle_query-294da531cac097e0.rlib,libcolorchoice-bfe75a9d19074058.rlib,libanstyle_parse-6e0fae2a7a89fec9.rlib,libutf8parse-e98db3169219ea11.rlib,libclap_lex-628d2097fa6ffef1.rlib,libanstyle-668789c6154fae2f.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcXqO2Pb/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/emulate-506c4a9aa488fe79" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `riscvemu` (bin "emulate") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ce8d11a4de8f23932e81f63e85ffffc6765589c664f84e25b4542b2f01e5b9b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8d11a4de8f23932e81f63e85ffffc6765589c664f84e25b4542b2f01e5b9b1", kill_on_drop: false }` [INFO] [stdout] ce8d11a4de8f23932e81f63e85ffffc6765589c664f84e25b4542b2f01e5b9b1