[INFO] cloning repository https://github.com/Wilfred/gameboy_emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wilfred/gameboy_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fgameboy_emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fgameboy_emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb31f039427370ca7a2c6547acab8a4d8cd3c732 [INFO] checking Wilfred/gameboy_emulator against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilfred%2Fgameboy_emulator" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wilfred/gameboy_emulator on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wilfred/gameboy_emulator [INFO] finished tweaking git repo https://github.com/Wilfred/gameboy_emulator [INFO] tweaked toml for git repo https://github.com/Wilfred/gameboy_emulator written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Wilfred/gameboy_emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d45ea4a177c50750fa497eb03a92cdd6888367d7f5bac3ced50879ad0f4cd09 [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" "0d45ea4a177c50750fa497eb03a92cdd6888367d7f5bac3ced50879ad0f4cd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d45ea4a177c50750fa497eb03a92cdd6888367d7f5bac3ced50879ad0f4cd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d45ea4a177c50750fa497eb03a92cdd6888367d7f5bac3ced50879ad0f4cd09", kill_on_drop: false }` [INFO] [stdout] 0d45ea4a177c50750fa497eb03a92cdd6888367d7f5bac3ced50879ad0f4cd09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51aee3d5aba0b2ebb8f3d126bc8fffb089051c42c29fc6070b7fc928f3c8c4fa [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" "51aee3d5aba0b2ebb8f3d126bc8fffb089051c42c29fc6070b7fc928f3c8c4fa", kill_on_drop: false }` [INFO] [stderr] Checking gameboy_emulator v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write!(f, "CPU ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, "A: {:02X} ", self.a.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, "B: {:02X} ", self.b.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(write!(f, "C: {:02X} ", self.c.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "D: {:02X} ", self.d.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(write!(f, "E: {:02X} ", self.e.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(f, "H: {:02X} ", self.h.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(write!(f, "L: {:02X} ", self.l.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(f, "Flags: {:02X} ", self.flags.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(write!(f, "PC: {:02X} ", self.pc.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(write!(f, "SP: {:04X} ", self.sp.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | try!(step(&mut cpu, instr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write!(f, "CPU ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, "A: {:02X} ", self.a.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, "B: {:02X} ", self.b.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(write!(f, "C: {:02X} ", self.c.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "D: {:02X} ", self.d.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(write!(f, "E: {:02X} ", self.e.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(f, "H: {:02X} ", self.h.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(write!(f, "L: {:02X} ", self.l.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(f, "Flags: {:02X} ", self.flags.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | try!(write!(f, "PC: {:02X} ", self.pc.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(write!(f, "SP: {:04X} ", self.sp.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/instructions.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | try!(step(&mut cpu, instr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instructions.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | let mut reg = register8(cpu, target); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/instructions.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | memory: [u8; 65536], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instructions.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | let mut reg = register8(cpu, target); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/instructions.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | memory: [u8; 65536], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instructions.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | step(&mut cpu, Nop); [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: unused `Result` that must be used [INFO] [stdout] --> src/instructions.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | step(&mut cpu, Increment(Operand8::Register(A))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instructions.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | step(&mut cpu, Increment(Operand8::Register(A))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/instructions.rs:530:5 [INFO] [stdout] | [INFO] [stdout] 530 | step(&mut cpu, decode(&bytes, 0).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "51aee3d5aba0b2ebb8f3d126bc8fffb089051c42c29fc6070b7fc928f3c8c4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51aee3d5aba0b2ebb8f3d126bc8fffb089051c42c29fc6070b7fc928f3c8c4fa", kill_on_drop: false }` [INFO] [stdout] 51aee3d5aba0b2ebb8f3d126bc8fffb089051c42c29fc6070b7fc928f3c8c4fa