[INFO] cloning repository https://github.com/maxcohn/gb-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxcohn/gb-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxcohn%2Fgb-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxcohn%2Fgb-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dc4e06acec1b402911781fe707eb72deaf7be72 [INFO] checking maxcohn/gb-emu against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxcohn%2Fgb-emu" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxcohn/gb-emu on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxcohn/gb-emu [INFO] finished tweaking git repo https://github.com/maxcohn/gb-emu [INFO] tweaked toml for git repo https://github.com/maxcohn/gb-emu written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/maxcohn/gb-emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84dc4d0de96e3e2510432c582f02eac495fe7462cf98b44df4550a516a7545d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84dc4d0de96e3e2510432c582f02eac495fe7462cf98b44df4550a516a7545d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84dc4d0de96e3e2510432c582f02eac495fe7462cf98b44df4550a516a7545d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84dc4d0de96e3e2510432c582f02eac495fe7462cf98b44df4550a516a7545d1", kill_on_drop: false }` [INFO] [stdout] 84dc4d0de96e3e2510432c582f02eac495fe7462cf98b44df4550a516a7545d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9416c90d021534ecf7a7d282099dc734894eca703f5db0038ba99faf87d1d861 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9416c90d021534ecf7a7d282099dc734894eca703f5db0038ba99faf87d1d861", kill_on_drop: false }` [INFO] [stderr] Checking gb-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/memory.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cartridge::Cartridge` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/memory.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cartridge::Cartridge` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 100..500 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:1016:21 [INFO] [stdout] | [INFO] [stdout] 1016 | let cycles = self.exec_cb(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles_passed` [INFO] [stdout] --> src/cpu.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | let cycles_passed = OP_CYCLES[cur_op as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles_passed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_registers` [INFO] [stdout] --> src/registers.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print_registers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_af` [INFO] [stdout] --> src/registers.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flag_sub` [INFO] [stdout] --> src/registers.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_flag_sub(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flag_half_carry` [INFO] [stdout] --> src/registers.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get_flag_half_carry(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CB_LENGTHS` [INFO] [stdout] --> src/cpu.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / const CB_LENGTHS: [u8; 0x100] = [ [INFO] [stdout] 74 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] 75 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] 76 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] ... | [INFO] [stdout] 89 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] 90 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new(memory: Memory) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_empty_mem` [INFO] [stdout] --> src/cpu.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn new_empty_mem() -> CPU { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | std::io::stdin().read_line(&mut s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 100..500 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:1016:21 [INFO] [stdout] | [INFO] [stdout] 1016 | let cycles = self.exec_cb(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles_passed` [INFO] [stdout] --> src/cpu.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | let cycles_passed = OP_CYCLES[cur_op as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles_passed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_registers` [INFO] [stdout] --> src/registers.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn print_registers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CB_LENGTHS` [INFO] [stdout] --> src/cpu.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / const CB_LENGTHS: [u8; 0x100] = [ [INFO] [stdout] 74 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] 75 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] 76 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] ... | [INFO] [stdout] 89 | | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [INFO] [stdout] 90 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new(memory: Memory) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rlc` [INFO] [stdout] --> src/cpu.rs:1596:8 [INFO] [stdout] | [INFO] [stdout] 1596 | fn rlc() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | std::io::stdin().read_line(&mut s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "9416c90d021534ecf7a7d282099dc734894eca703f5db0038ba99faf87d1d861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9416c90d021534ecf7a7d282099dc734894eca703f5db0038ba99faf87d1d861", kill_on_drop: false }` [INFO] [stdout] 9416c90d021534ecf7a7d282099dc734894eca703f5db0038ba99faf87d1d861