[INFO] cloning repository https://github.com/mward-sudo/z80_undead [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mward-sudo/z80_undead" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmward-sudo%2Fz80_undead", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmward-sudo%2Fz80_undead'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4a80c3d3240482ebdde77f614b5b4fc978e7a07 [INFO] testing mward-sudo/z80_undead against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmward-sudo%2Fz80_undead" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mward-sudo/z80_undead on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mward-sudo/z80_undead [INFO] finished tweaking git repo https://github.com/mward-sudo/z80_undead [INFO] tweaked toml for git repo https://github.com/mward-sudo/z80_undead written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mward-sudo/z80_undead 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 795659a9a08c8dd37fe305a730ff0908fb3faf1609010b1c20b353990fdb75f3 [INFO] running `Command { std: "docker" "start" "-a" "795659a9a08c8dd37fe305a730ff0908fb3faf1609010b1c20b353990fdb75f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "795659a9a08c8dd37fe305a730ff0908fb3faf1609010b1c20b353990fdb75f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795659a9a08c8dd37fe305a730ff0908fb3faf1609010b1c20b353990fdb75f3", kill_on_drop: false }` [INFO] [stdout] 795659a9a08c8dd37fe305a730ff0908fb3faf1609010b1c20b353990fdb75f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42bb62faf8c2647173a1f295af14b82466741ec05a2ba81080e3ff90baee3ba3 [INFO] running `Command { std: "docker" "start" "-a" "42bb62faf8c2647173a1f295af14b82466741ec05a2ba81080e3ff90baee3ba3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling z80_undead v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ExecuteFn` [INFO] [stdout] --> src/cpu/tables.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use super::instruction::{ExecuteFn, Instruction, InstructionType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instruction` and `create_nop` [INFO] [stdout] --> src/cpu/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use instruction::{create_nop, Instruction}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/timing/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/cpu/mod.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | while let Some((event, t_state)) = self.event_queue.peek() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sp`, `ix`, `iy`, and `i` are never read [INFO] [stdout] --> src/cpu/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Cpu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 36 | ix: u16, // IX index register [INFO] [stdout] | ^^ [INFO] [stdout] 37 | iy: u16, // IY index register [INFO] [stdout] | ^^ [INFO] [stdout] 38 | // Special purpose registers [INFO] [stdout] 39 | i: u8, // Interrupt vector [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `affects_flags` is never read [INFO] [stdout] --> src/cpu/instruction.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub affects_flags: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_flags` is never used [INFO] [stdout] --> src/cpu/instruction.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub const fn with_flags(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Logic`, `Jump`, `Call`, `Return`, and `Exchange` are never constructed [INFO] [stdout] --> src/cpu/instruction.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum InstructionType { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Logic, // Logical operations [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | Jump, // Jump instructions [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | Call, // Subroutine calls [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | Return, // Return instructions [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | Exchange, // Register exchange [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ED_BLOCK_MNEMONICS` is never used [INFO] [stdout] --> src/cpu/tables.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | const ED_BLOCK_MNEMONICS: [&str; 16] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ED_IO_MNEMONICS` is never used [INFO] [stdout] --> src/cpu/tables.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | const ED_IO_MNEMONICS: [[&str; 8]; 2] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcdFE3hr/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libenv_logger-8ae876b7998cc564.rlib,libtermcolor-96a9ed65821a6544.rlib,libis_terminal-1930cffca6b6f398.rlib,liblibc-e57f72c4fc712844.rlib,libhumantime-271ba35809dd8c72.rlib,libregex-e5833f384a39b0ec.rlib,libregex_automata-8670fc997c8edd03.rlib,libaho_corasick-50150a17a2667fa6.rlib,libmemchr-4f0714dc45d95749.rlib,libregex_syntax-2f734124a51b36fa.rlib,libz80_undead-ba0e2bf48e83455b.rlib,libthiserror-2258dc36db173637.rlib,liblog-669e9396cafcbb01.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" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/z80_undead-000a07d86f191b1a" "-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: 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 `z80_undead` (bin "z80_undead") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "42bb62faf8c2647173a1f295af14b82466741ec05a2ba81080e3ff90baee3ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42bb62faf8c2647173a1f295af14b82466741ec05a2ba81080e3ff90baee3ba3", kill_on_drop: false }` [INFO] [stdout] 42bb62faf8c2647173a1f295af14b82466741ec05a2ba81080e3ff90baee3ba3