[INFO] cloning repository https://github.com/dpl0/gemub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpl0/gemub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0%2Fgemub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0%2Fgemub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 995f0dc826083ddd164f31a441ebddbdd48c92b3 [INFO] testing dpl0/gemub against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0%2Fgemub" "/workspace/builds/worker-94/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-94/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dpl0/gemub on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dpl0/gemub [INFO] finished tweaking git repo https://github.com/dpl0/gemub [INFO] tweaked toml for git repo https://github.com/dpl0/gemub written to /workspace/builds/worker-94/source/Cargo.toml [INFO] crate git repo https://github.com/dpl0/gemub already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e247120911b9b9a4a2d5f0303da56f841d8b3655dde62184124859b357708ebe [INFO] running `Command { std: "docker" "start" "-a" "e247120911b9b9a4a2d5f0303da56f841d8b3655dde62184124859b357708ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e247120911b9b9a4a2d5f0303da56f841d8b3655dde62184124859b357708ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e247120911b9b9a4a2d5f0303da56f841d8b3655dde62184124859b357708ebe", kill_on_drop: false }` [INFO] [stdout] e247120911b9b9a4a2d5f0303da56f841d8b3655dde62184124859b357708ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e84d75c5a12d198bca1027605997cb8bfa73f42f150e3728cf5a36c65e10e691 [INFO] running `Command { std: "docker" "start" "-a" "e84d75c5a12d198bca1027605997cb8bfa73f42f150e3728cf5a36c65e10e691", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gemub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/gameboy/bus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let buf = buf; // Shadow into an inmutable Copy. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z` [INFO] [stdout] --> src/gameboy/cpu.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | z: bool, // Zero, Non-Zero (set when the result of a math op is [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/gameboy/cpu.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | n: bool, // Set if the last math OP was a substraction. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h` [INFO] [stdout] --> src/gameboy/cpu.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | h: bool, // Half-Carry, set if a carry occurred from the lower [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c` [INFO] [stdout] --> src/gameboy/cpu.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | c: bool, // Carry Flag, set if a carry occured from the last [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `af` [INFO] [stdout] --> src/gameboy/cpu.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | af: (u8,u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bc` [INFO] [stdout] --> src/gameboy/cpu.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | bc: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `de` [INFO] [stdout] --> src/gameboy/cpu.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | de: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hl` [INFO] [stdout] --> src/gameboy/cpu.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | hl: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/gameboy/cpu.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | sp: u16, // Stack Pointer, used to keep track of the top of the stack. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/gameboy/cpu.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | pc: u16, // 0x100 by default. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag` [INFO] [stdout] --> src/gameboy/cpu.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | flag: Flag, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram` [INFO] [stdout] --> src/gameboy/bus.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ram: Box>, // Store memory in heap. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.47s [INFO] running `Command { std: "docker" "inspect" "e84d75c5a12d198bca1027605997cb8bfa73f42f150e3728cf5a36c65e10e691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84d75c5a12d198bca1027605997cb8bfa73f42f150e3728cf5a36c65e10e691", kill_on_drop: false }` [INFO] [stdout] e84d75c5a12d198bca1027605997cb8bfa73f42f150e3728cf5a36c65e10e691 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da1ee591990bfc30fd97ad69ba0f3eb0e1c962e8c1252a4de03f0d7cd6c13650 [INFO] running `Command { std: "docker" "start" "-a" "da1ee591990bfc30fd97ad69ba0f3eb0e1c962e8c1252a4de03f0d7cd6c13650", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gemub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/gameboy/bus.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let buf = buf; // Shadow into an inmutable Copy. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z` [INFO] [stdout] --> src/gameboy/cpu.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | z: bool, // Zero, Non-Zero (set when the result of a math op is [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/gameboy/cpu.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | n: bool, // Set if the last math OP was a substraction. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h` [INFO] [stdout] --> src/gameboy/cpu.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | h: bool, // Half-Carry, set if a carry occurred from the lower [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c` [INFO] [stdout] --> src/gameboy/cpu.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | c: bool, // Carry Flag, set if a carry occured from the last [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive (Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `af` [INFO] [stdout] --> src/gameboy/cpu.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | af: (u8,u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bc` [INFO] [stdout] --> src/gameboy/cpu.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | bc: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `de` [INFO] [stdout] --> src/gameboy/cpu.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | de: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hl` [INFO] [stdout] --> src/gameboy/cpu.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | hl: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/gameboy/cpu.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | sp: u16, // Stack Pointer, used to keep track of the top of the stack. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/gameboy/cpu.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | pc: u16, // 0x100 by default. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag` [INFO] [stdout] --> src/gameboy/cpu.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | flag: Flag, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/gameboy/cpu.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram` [INFO] [stdout] --> src/gameboy/bus.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | ram: Box>, // Store memory in heap. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "da1ee591990bfc30fd97ad69ba0f3eb0e1c962e8c1252a4de03f0d7cd6c13650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1ee591990bfc30fd97ad69ba0f3eb0e1c962e8c1252a4de03f0d7cd6c13650", kill_on_drop: false }` [INFO] [stdout] da1ee591990bfc30fd97ad69ba0f3eb0e1c962e8c1252a4de03f0d7cd6c13650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cbcc9a235f54022a8042ffcc3a25ee02facc65686f2eaa2ac1b19dccf838e9c7 [INFO] running `Command { std: "docker" "start" "-a" "cbcc9a235f54022a8042ffcc3a25ee02facc65686f2eaa2ac1b19dccf838e9c7", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/gameboy/bus.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | let buf = buf; // Shadow into an inmutable Copy. [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `z` [INFO] [stderr] --> src/gameboy/cpu.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | z: bool, // Zero, Non-Zero (set when the result of a math op is [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive (Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `n` [INFO] [stderr] --> src/gameboy/cpu.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | n: bool, // Set if the last math OP was a substraction. [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive (Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `h` [INFO] [stderr] --> src/gameboy/cpu.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | h: bool, // Half-Carry, set if a carry occurred from the lower [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive (Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `c` [INFO] [stderr] --> src/gameboy/cpu.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | c: bool, // Carry Flag, set if a carry occured from the last [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive (Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `af` [INFO] [stderr] --> src/gameboy/cpu.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | af: (u8,u8), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bc` [INFO] [stderr] --> src/gameboy/cpu.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | bc: (u8, u8), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `de` [INFO] [stderr] --> src/gameboy/cpu.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | de: (u8, u8), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hl` [INFO] [stderr] --> src/gameboy/cpu.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | hl: (u8, u8), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sp` [INFO] [stderr] --> src/gameboy/cpu.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | sp: u16, // Stack Pointer, used to keep track of the top of the stack. [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pc` [INFO] [stderr] --> src/gameboy/cpu.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | pc: u16, // 0x100 by default. [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `flag` [INFO] [stderr] --> src/gameboy/cpu.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | flag: Flag, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/gameboy/cpu.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ram` [INFO] [stderr] --> src/gameboy/bus.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | ram: Box>, // Store memory in heap. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gemub` (bin "gemub" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gemub-fe651a4aff583401) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cbcc9a235f54022a8042ffcc3a25ee02facc65686f2eaa2ac1b19dccf838e9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbcc9a235f54022a8042ffcc3a25ee02facc65686f2eaa2ac1b19dccf838e9c7", kill_on_drop: false }` [INFO] [stdout] cbcc9a235f54022a8042ffcc3a25ee02facc65686f2eaa2ac1b19dccf838e9c7