[INFO] cloning repository https://github.com/jsonmona/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/jsonmona/rust-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsonmona%2Frust-gb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsonmona%2Frust-gb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 24bf44a7099f0890d1b0c2e329621c4efb1da780
[INFO] checking jsonmona/rust-gb against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsonmona%2Frust-gb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jsonmona/rust-gb
[INFO] finished tweaking git repo https://github.com/jsonmona/rust-gb
[INFO] tweaked toml for git repo https://github.com/jsonmona/rust-gb written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jsonmona/rust-gb on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jsonmona/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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f36a5acfde26bac84e65818058f6b184de18a52efdf4e3f800770ea51f062545
[INFO] running `Command { std: "docker" "start" "-a" "f36a5acfde26bac84e65818058f6b184de18a52efdf4e3f800770ea51f062545", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f36a5acfde26bac84e65818058f6b184de18a52efdf4e3f800770ea51f062545", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f36a5acfde26bac84e65818058f6b184de18a52efdf4e3f800770ea51f062545", kill_on_drop: false }`
[INFO] [stdout] f36a5acfde26bac84e65818058f6b184de18a52efdf4e3f800770ea51f062545
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9db2de33751799a4d41fdd478552554ef48fe9c04559de2d65aafea769aba1c4
[INFO] running `Command { std: "docker" "start" "-a" "9db2de33751799a4d41fdd478552554ef48fe9c04559de2d65aafea769aba1c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rust-gb v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Reg::AF => ((self.a as u16) << 8 | self.f as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -             Reg::AF => ((self.a as u16) << 8 | self.f as u16),
[INFO] [stdout] 147 +             Reg::AF => (self.a as u16) << 8 | self.f as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Reg::BC => ((self.b as u16) << 8 | self.c as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             Reg::BC => ((self.b as u16) << 8 | self.c as u16),
[INFO] [stdout] 148 +             Reg::BC => (self.b as u16) << 8 | self.c as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Reg::DE => ((self.d as u16) << 8 | self.e as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -             Reg::DE => ((self.d as u16) << 8 | self.e as u16),
[INFO] [stdout] 149 +             Reg::DE => (self.d as u16) << 8 | self.e as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:150:24
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Reg::HL => ((self.h as u16) << 8 | self.l as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 -             Reg::HL => ((self.h as u16) << 8 | self.l as u16),
[INFO] [stdout] 150 +             Reg::HL => (self.h as u16) << 8 | self.l as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Reg::AF => ((self.a as u16) << 8 | self.f as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -             Reg::AF => ((self.a as u16) << 8 | self.f as u16),
[INFO] [stdout] 147 +             Reg::AF => (self.a as u16) << 8 | self.f as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:148:24
[INFO] [stdout]     |
[INFO] [stdout] 148 |             Reg::BC => ((self.b as u16) << 8 | self.c as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -             Reg::BC => ((self.b as u16) << 8 | self.c as u16),
[INFO] [stdout] 148 +             Reg::BC => (self.b as u16) << 8 | self.c as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Reg::DE => ((self.d as u16) << 8 | self.e as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -             Reg::DE => ((self.d as u16) << 8 | self.e as u16),
[INFO] [stdout] 149 +             Reg::DE => (self.d as u16) << 8 | self.e as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/gameboy/z80.rs:150:24
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Reg::HL => ((self.h as u16) << 8 | self.l as u16),
[INFO] [stdout]     |                        ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 -             Reg::HL => ((self.h as u16) << 8 | self.l as u16),
[INFO] [stdout] 150 +             Reg::HL => (self.h as u16) << 8 | self.l as u16 ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `advance_instruction` is never used
[INFO] [stdout]   --> src/gameboy/mod.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Gameboy {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn advance_instruction(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `video` is never read
[INFO] [stdout]   --> src/gameboy/ppu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct PPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 54 |     video: VideoSubsystem,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `audio` and `player` are never read
[INFO] [stdout]    --> src/gameboy/sound.rs:584:5
[INFO] [stdout]     |
[INFO] [stdout] 574 | pub struct Sound {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 584 |     audio: AudioSubsystem,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 585 |     player: AudioDevice<Callback>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PC` is never constructed
[INFO] [stdout]   --> src/gameboy/z80.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Reg {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     PC,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Reg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassembly` is never used
[INFO] [stdout]    --> src/gameboy/z80.rs:429:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Z80 {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn disassembly(&self, bus: &mut MemoryBus) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `advance_instruction` is never used
[INFO] [stdout]   --> src/gameboy/mod.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Gameboy {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn advance_instruction(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `video` is never read
[INFO] [stdout]   --> src/gameboy/ppu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct PPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 54 |     video: VideoSubsystem,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `audio` and `player` are never read
[INFO] [stdout]    --> src/gameboy/sound.rs:584:5
[INFO] [stdout]     |
[INFO] [stdout] 574 | pub struct Sound {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 584 |     audio: AudioSubsystem,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 585 |     player: AudioDevice<Callback>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PC` is never constructed
[INFO] [stdout]   --> src/gameboy/z80.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Reg {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     PC,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Reg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassembly` is never used
[INFO] [stdout]    --> src/gameboy/z80.rs:429:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl Z80 {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn disassembly(&self, bus: &mut MemoryBus) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s
[INFO] running `Command { std: "docker" "inspect" "9db2de33751799a4d41fdd478552554ef48fe9c04559de2d65aafea769aba1c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9db2de33751799a4d41fdd478552554ef48fe9c04559de2d65aafea769aba1c4", kill_on_drop: false }`
[INFO] [stdout] 9db2de33751799a4d41fdd478552554ef48fe9c04559de2d65aafea769aba1c4
