[INFO] cloning repository https://github.com/nt591/rust_gb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nt591/rust_gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnt591%2Frust_gb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnt591%2Frust_gb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28ee77f5eae2151740807b57f031162a54990296
[INFO] checking nt591/rust_gb against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnt591%2Frust_gb" "/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/nt591/rust_gb
[INFO] finished tweaking git repo https://github.com/nt591/rust_gb
[INFO] tweaked toml for git repo https://github.com/nt591/rust_gb written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nt591/rust_gb on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nt591/rust_gb 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837
[INFO] running `Command { std: "docker" "start" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_gb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Cpu` is never constructed
[INFO] [stdout]  --> src/cpu.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Cpu {
[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 `exec` and `add` are never used
[INFO] [stdout]   --> src/cpu.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Cpu {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 12 |     pub fn exec(&mut self, ins: Instruction) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn add(&mut self, reg: Register) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ArithmeticTarget` is never used
[INFO] [stdout]   --> src/instruction.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ArithmeticTarget {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> src/instruction.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Instruction {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegisterBank` is never constructed
[INFO] [stdout]  --> src/register_bank.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct RegisterBank {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Register` is never used
[INFO] [stdout]   --> src/register_bank.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum Register {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/register_bank.rs:27:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl RegisterBank {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout]  27 |     pub fn read(&self, register: Register) -> u8 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub fn write_register(&mut self, register: Register, val: u8) -> Result<(), &str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub fn read_bc(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn write_bc(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn read_de(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn write_de(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn read_hl(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn write_hl(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn set_zero_bit(&mut self, v: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn has_zero_bit(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn set_subtraction_bit(&mut self, v: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn has_subtraction_bit(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn set_half_carry_bit(&mut self, v: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn has_half_carry_bit(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn set_carry_bit(&mut self, v: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn has_carry_bit(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cpu` is never constructed
[INFO] [stdout]  --> src/cpu.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Cpu {
[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 `exec` and `add` are never used
[INFO] [stdout]   --> src/cpu.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Cpu {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 12 |     pub fn exec(&mut self, ins: Instruction) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn add(&mut self, reg: Register) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ArithmeticTarget` is never used
[INFO] [stdout]   --> src/instruction.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ArithmeticTarget {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> src/instruction.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Instruction {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837", kill_on_drop: false }`
[INFO] [stdout] 37a9ac25cf71762ae062e5e3f1e1a3101a23e1b5fcfdc56e5891f68a272bb837
