[INFO] cloning repository https://github.com/npdawson/rustboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/npdawson/rustboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%2Frustboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%2Frustboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d2d5de67799a4924e34be4cfa08c2b7f666bd03
[INFO] checking npdawson/rustboy against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpdawson%2Frustboy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/npdawson/rustboy
[INFO] finished tweaking git repo https://github.com/npdawson/rustboy
[INFO] tweaked toml for git repo https://github.com/npdawson/rustboy written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/npdawson/rustboy on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/npdawson/rustboy 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num v0.1.35
[INFO] [stderr]   Downloaded num-iter v0.1.32
[INFO] [stderr]   Downloaded sdl2 v0.25.0
[INFO] [stderr]   Downloaded bitflags v0.6.0
[INFO] [stderr]   Downloaded num-traits v0.1.35
[INFO] [stderr]   Downloaded sdl2-sys v0.25.0
[INFO] [stderr]   Downloaded nom v1.2.4
[INFO] [stderr]   Downloaded num-integer v0.1.32
[INFO] [stderr]   Downloaded libc v0.2.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 305efc804386ea5c6451b11e626a90ebd7ccda33633785f394ce3485adee30e7
[INFO] running `Command { std: "docker" "start" "-a" "305efc804386ea5c6451b11e626a90ebd7ccda33633785f394ce3485adee30e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "305efc804386ea5c6451b11e626a90ebd7ccda33633785f394ce3485adee30e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "305efc804386ea5c6451b11e626a90ebd7ccda33633785f394ce3485adee30e7", kill_on_drop: false }`
[INFO] [stdout] 305efc804386ea5c6451b11e626a90ebd7ccda33633785f394ce3485adee30e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7a4a7be87f7eda6d5b0afa859f483b1c84be69c852a9475ad278efbafc3771b
[INFO] running `Command { std: "docker" "start" "-a" "a7a4a7be87f7eda6d5b0afa859f483b1c84be69c852a9475ad278efbafc3771b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking num-traits v0.1.35
[INFO] [stderr]     Checking libc v0.2.16
[INFO] [stderr]    Compiling sdl2-sys v0.25.0
[INFO] [stderr]     Checking bitflags v0.6.0
[INFO] [stderr]     Checking lazy_static v0.2.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking nom v1.2.4
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]     Checking num-integer v0.1.32
[INFO] [stderr]     Checking num-iter v0.1.32
[INFO] [stderr]     Checking num v0.1.35
[INFO] [stderr]     Checking sdl2 v0.25.0
[INFO] [stderr]     Checking rustboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:648:40
[INFO] [stdout]     |
[INFO] [stdout] 648 |         let addr = self.read_reg16(HL);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:648:40
[INFO] [stdout]     |
[INFO] [stdout] 648 |         let addr = self.read_reg16(HL);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:664:40
[INFO] [stdout]     |
[INFO] [stdout] 664 |         let addr = self.read_reg16(HL);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:664:40
[INFO] [stdout]     |
[INFO] [stdout] 664 |         let addr = self.read_reg16(HL);;
[INFO] [stdout]     |                                        ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FF_C` should have an upper camel case name
[INFO] [stdout]   --> src/dmg/cpu/opcode.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     FF_C,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `FfC`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FF_C` should have an upper camel case name
[INFO] [stdout]   --> src/dmg/cpu/opcode.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     FF_C,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `FfC`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::cpu::Cpu`
[INFO] [stdout]   --> src/dmg/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use self::cpu::Cpu;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::cpu::Cpu`
[INFO] [stdout]   --> src/dmg/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use self::cpu::Cpu;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/debugger/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmg::cpu::Instruction`
[INFO] [stdout]  --> src/debugger/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use dmg::cpu::Instruction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmg::cpu::Opcode::*`
[INFO] [stdout]  --> src/debugger/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use dmg::cpu::Opcode::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/debugger/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmg::mem_map::Addr::*`
[INFO] [stdout]   --> src/debugger/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use dmg::mem_map::Addr::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmg::cpu::Instruction`
[INFO] [stdout]  --> src/debugger/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use dmg::cpu::Instruction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmg::cpu::Opcode::*`
[INFO] [stdout]  --> src/debugger/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use dmg::cpu::Opcode::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dmg::mem_map::Addr::*`
[INFO] [stdout]   --> src/debugger/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use dmg::mem_map::Addr::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::sync::mpsc::channel;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut value = match op {
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut value = match op {
[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: unused variable: `cycles`
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:367:21
[INFO] [stdout]     |
[INFO] [stdout] 367 |                 let cycles = self.execute(instr, interconnect);
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cycles`
[INFO] [stdout]    --> src/dmg/cpu/cpu.rs:367:21
[INFO] [stdout]     |
[INFO] [stdout] 367 |                 let cycles = self.execute(instr, interconnect);
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/dmg/cpu/instruction.rs:628:9
[INFO] [stdout]     |
[INFO] [stdout] 628 |         _ => unreachable!()
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/dmg/cpu/instruction.rs:628:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |         0x00 => (2, 2, Rlc(Reg(B))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 341 |         0x01 => (2, 2, Rlc(Reg(C))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 342 |         0x02 => (2, 2, Rlc(Reg(D))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 343 |         0x03 => (2, 2, Rlc(Reg(E))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 628 |         _ => unreachable!()
[INFO] [stdout]     |         ^ ...and 252 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/dmg/cpu/instruction.rs:628:9
[INFO] [stdout]     |
[INFO] [stdout] 628 |         _ => unreachable!()
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/dmg/cpu/instruction.rs:628:9
[INFO] [stdout]     |
[INFO] [stdout] 340 |         0x00 => (2, 2, Rlc(Reg(B))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 341 |         0x01 => (2, 2, Rlc(Reg(C))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 342 |         0x02 => (2, 2, Rlc(Reg(D))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] 343 |         0x03 => (2, 2, Rlc(Reg(E))),
[INFO] [stdout]     |         ---- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 628 |         _ => unreachable!()
[INFO] [stdout]     |         ^ ...and 252 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/dmg/interconnect.rs:255:23
[INFO] [stdout]     |
[INFO] [stdout] 255 |             Addr::Rom(offset) => panic!("Write word to MBC not supported"),
[INFO] [stdout]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/dmg/interconnect.rs:255:23
[INFO] [stdout]     |
[INFO] [stdout] 255 |             Addr::Rom(offset) => panic!("Write word to MBC not supported"),
[INFO] [stdout]     |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/dmg/interconnect.rs:327:24
[INFO] [stdout]     |
[INFO] [stdout] 327 |             Addr::Vram(offset) => panic!("dma from vram not implemented"),
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/dmg/interconnect.rs:327:24
[INFO] [stdout]     |
[INFO] [stdout] 327 |             Addr::Vram(offset) => panic!("dma from vram not implemented"),
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/debugger/mod.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let addr = mem_map::map_addr(current_pc);
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/debugger/mod.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let addr = mem_map::map_addr(current_pc);
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pitch`
[INFO] [stdout]   --> src/main.rs:83:53
[INFO] [stdout]    |
[INFO] [stdout] 83 |         texture.with_lock(None, |buffer: &mut [u8], pitch: usize| {
[INFO] [stdout]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pitch`
[INFO] [stdout]   --> src/main.rs:83:53
[INFO] [stdout]    |
[INFO] [stdout] 83 |         texture.with_lock(None, |buffer: &mut [u8], pitch: usize| {
[INFO] [stdout]    |                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cpu` and `interconnect` are never used
[INFO] [stdout]   --> src/dmg/dmg.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Dmg {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn cpu(&self) -> &Cpu {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn interconnect(&self) -> &Interconnect {
[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 `cpu` and `interconnect` are never used
[INFO] [stdout]   --> src/dmg/dmg.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Dmg {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn cpu(&self) -> &Cpu {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn interconnect(&self) -> &Interconnect {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `current_pc` is never used
[INFO] [stdout]   --> src/dmg/cpu/cpu.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Cpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn current_pc(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `current_pc` is never used
[INFO] [stdout]   --> src/dmg/cpu/cpu.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Cpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn current_pc(&self) -> u16 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dma_from_vram` is never used
[INFO] [stdout]    --> src/dmg/ppu.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl Ppu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 256 |     pub fn dma_from_vram(&mut self, offset: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dma_from_vram` is never used
[INFO] [stdout]    --> src/dmg/ppu.rs:256:12
[INFO] [stdout]     |
[INFO] [stdout]  60 | impl Ppu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 256 |     pub fn dma_from_vram(&mut self, offset: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dma_buffer` is never read
[INFO] [stdout]   --> src/dmg/interconnect.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Interconnect {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     dma_buffer: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `dma_buffer` is never read
[INFO] [stdout]   --> src/dmg/interconnect.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Interconnect {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     dma_buffer: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title`, `cgb_flag`, `sgb_flag`, and `rom_size` are never read
[INFO] [stdout]    --> src/dmg/cart.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | struct Header {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 168 |     title: Box<[u8]>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 169 |     cgb_flag: CgbFlag,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 170 |     sgb_flag: SgbFlag,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 171 |     cart_type: Mbc,
[INFO] [stdout] 172 |     rom_size: RomSize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `title`, `cgb_flag`, `sgb_flag`, and `rom_size` are never read
[INFO] [stdout]    --> src/dmg/cart.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | struct Header {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 168 |     title: Box<[u8]>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 169 |     cgb_flag: CgbFlag,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 170 |     sgb_flag: SgbFlag,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 171 |     cart_type: Mbc,
[INFO] [stdout] 172 |     rom_size: RomSize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timer_cycle_count` is never read
[INFO] [stdout]  --> src/dmg/timer.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Timer {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     timer_cycle_count: usize
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timer_cycle_count` is never read
[INFO] [stdout]  --> src/dmg/timer.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Timer {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     timer_cycle_count: usize
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Timer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Debugger` is never constructed
[INFO] [stdout]   --> src/debugger/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Debugger {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Debugger` is never constructed
[INFO] [stdout]   --> src/debugger/mod.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Debugger {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used
[INFO] [stdout]   --> src/debugger/mod.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Debugger {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(dmg: Dmg) -> Debugger {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn run(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn step(&mut self, count: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_stdin` is never used
[INFO] [stdout]   --> src/debugger/mod.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn read_stdin() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used
[INFO] [stdout]   --> src/debugger/mod.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Debugger {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(dmg: Dmg) -> Debugger {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn run(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn step(&mut self, count: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]  --> src/debugger/command.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Command {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_stdin` is never used
[INFO] [stdout]   --> src/debugger/mod.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn read_stdin() -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]  --> src/debugger/command.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Command {
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         renderer.copy(&texture, None, None);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _ = renderer.copy(&texture, None, None);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         renderer.copy(&texture, None, None);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _ = renderer.copy(&texture, None, None);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.6.0, nom v1.2.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "a7a4a7be87f7eda6d5b0afa859f483b1c84be69c852a9475ad278efbafc3771b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7a4a7be87f7eda6d5b0afa859f483b1c84be69c852a9475ad278efbafc3771b", kill_on_drop: false }`
[INFO] [stdout] a7a4a7be87f7eda6d5b0afa859f483b1c84be69c852a9475ad278efbafc3771b
