[INFO] cloning repository https://github.com/kenranunderscore/game-boy-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenranunderscore/game-boy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenranunderscore%2Fgame-boy-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenranunderscore%2Fgame-boy-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b047e1a8eedfc274441dfc40c36eec82554a803c
[INFO] checking kenranunderscore/game-boy-emulator against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenranunderscore%2Fgame-boy-emulator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kenranunderscore/game-boy-emulator
[INFO] finished tweaking git repo https://github.com/kenranunderscore/game-boy-emulator
[INFO] tweaked toml for git repo https://github.com/kenranunderscore/game-boy-emulator written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kenranunderscore/game-boy-emulator on toolchain 63132bd615c9bf75e93af8405d00064212331708
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kenranunderscore/game-boy-emulator 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" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be98dd19b844194b2d7ae5d625381d6e7c3340b624d248bbb7ec41881af7985d
[INFO] running `Command { std: "docker" "start" "-a" "be98dd19b844194b2d7ae5d625381d6e7c3340b624d248bbb7ec41881af7985d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be98dd19b844194b2d7ae5d625381d6e7c3340b624d248bbb7ec41881af7985d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be98dd19b844194b2d7ae5d625381d6e7c3340b624d248bbb7ec41881af7985d", kill_on_drop: false }`
[INFO] [stdout] be98dd19b844194b2d7ae5d625381d6e7c3340b624d248bbb7ec41881af7985d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 790d6eb22782dc53b16c1d2fca4149dcf15c9b6c29fd5b1ad5a1bdff28b845d8
[INFO] running `Command { std: "docker" "start" "-a" "790d6eb22782dc53b16c1d2fca4149dcf15c9b6c29fd5b1ad5a1bdff28b845d8", kill_on_drop: false }`
[INFO] [stderr]     Checking game-boy-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Instruction::ADD(target) => {
[INFO] [stdout]     |             ------------------------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 132 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut instr_byte = self.bus.read_byte(self.pc);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registers` is never constructed
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Registers {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_bc`, `set_bc`, `get_de`, `set_de`, `get_hl`, and `set_hl` are never used
[INFO] [stdout]   --> src/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Registers {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 49 |     fn get_bc(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_bc(&mut self, value: u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn get_de(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn set_de(&mut self, value: u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn get_hl(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn set_hl(&mut self, value: u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> src/main.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_byte` is never used
[INFO] [stdout]   --> src/main.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl Instruction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 82 |     fn from_byte(byte: u8) -> Option<Instruction> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ArithmeticTarget` is never used
[INFO] [stdout]   --> src/main.rs:89:6
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum ArithmeticTarget {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CPU` is never constructed
[INFO] [stdout]   --> src/main.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct CPU {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryBus` is never constructed
[INFO] [stdout]    --> src/main.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct MemoryBus {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_byte` is never used
[INFO] [stdout]    --> src/main.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl MemoryBus {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 110 |     fn read_byte(&self, address: u16) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `execute`, `add`, and `step` are never used
[INFO] [stdout]    --> src/main.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 116 |     fn execute(&mut self, instr: Instruction) -> u16 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn add(&mut self, val: u8) -> u8 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn step(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             Instruction::ADD(target) => {
[INFO] [stdout]     |             ------------------------ matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 132 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut instr_byte = self.bus.read_byte(self.pc);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registers` is never constructed
[INFO] [stdout]   --> src/main.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Registers {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_bc`, `set_bc`, `get_de`, `set_de`, `get_hl`, and `set_hl` are never used
[INFO] [stdout]   --> src/main.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Registers {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 49 |     fn get_bc(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_bc(&mut self, value: u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn get_de(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     fn set_de(&mut self, value: u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn get_hl(&self) -> u16 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     fn set_hl(&mut self, value: u16) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> src/main.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 | enum Instruction {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_byte` is never used
[INFO] [stdout]   --> src/main.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | impl Instruction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 82 |     fn from_byte(byte: u8) -> Option<Instruction> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ArithmeticTarget` is never used
[INFO] [stdout]   --> src/main.rs:89:6
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum ArithmeticTarget {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CPU` is never constructed
[INFO] [stdout]   --> src/main.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | struct CPU {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryBus` is never constructed
[INFO] [stdout]    --> src/main.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct MemoryBus {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_byte` is never used
[INFO] [stdout]    --> src/main.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl MemoryBus {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 110 |     fn read_byte(&self, address: u16) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `execute`, `add`, and `step` are never used
[INFO] [stdout]    --> src/main.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 116 |     fn execute(&mut self, instr: Instruction) -> u16 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn add(&mut self, val: u8) -> u8 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn step(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "790d6eb22782dc53b16c1d2fca4149dcf15c9b6c29fd5b1ad5a1bdff28b845d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "790d6eb22782dc53b16c1d2fca4149dcf15c9b6c29fd5b1ad5a1bdff28b845d8", kill_on_drop: false }`
[INFO] [stdout] 790d6eb22782dc53b16c1d2fca4149dcf15c9b6c29fd5b1ad5a1bdff28b845d8
