[INFO] cloning repository https://github.com/Xander-Br/dmg_emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xander-Br/dmg_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXander-Br%2Fdmg_emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXander-Br%2Fdmg_emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 63a4bf13cd53349641bd28616a83962b2b297c8d
[INFO] checking Xander-Br/dmg_emulator against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXander-Br%2Fdmg_emulator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Xander-Br/dmg_emulator
[INFO] finished tweaking git repo https://github.com/Xander-Br/dmg_emulator
[INFO] tweaked toml for git repo https://github.com/Xander-Br/dmg_emulator written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Xander-Br/dmg_emulator on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Xander-Br/dmg_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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 546f4766ddbaa51155c4a9b10f394eab3b04ac30247f22ea0a8fbb2fe7dd10da
[INFO] running `Command { std: "docker" "start" "-a" "546f4766ddbaa51155c4a9b10f394eab3b04ac30247f22ea0a8fbb2fe7dd10da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "546f4766ddbaa51155c4a9b10f394eab3b04ac30247f22ea0a8fbb2fe7dd10da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "546f4766ddbaa51155c4a9b10f394eab3b04ac30247f22ea0a8fbb2fe7dd10da", kill_on_drop: false }`
[INFO] [stdout] 546f4766ddbaa51155c4a9b10f394eab3b04ac30247f22ea0a8fbb2fe7dd10da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 568a8a5b50d20e791107ca49e129056cb45597341a948cbc96770e7181a57852
[INFO] running `Command { std: "docker" "start" "-a" "568a8a5b50d20e791107ca49e129056cb45597341a948cbc96770e7181a57852", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling xml-rs v0.8.18
[INFO] [stderr]    Compiling rustix v0.38.13
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]     Checking lib_dmg v0.1.0 (/opt/rustwide/workdir/lib_dmg)
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]  --> lib_dmg/src/io/joypad.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]   --> lib_dmg/src/io/joypad.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]  --> lib_dmg/src/gpu/mod.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]   --> lib_dmg/src/gpu/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]   --> lib_dmg/src/gpu/mod.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]   --> lib_dmg/src/gpu/mod.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]   --> lib_dmg/src/gpu/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]   --> lib_dmg/src/gpu/mod.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | #[cfg_attr(feature = "serialize", derive(Serialize))]
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:188:16
[INFO] [stdout]     |
[INFO] [stdout] 188 |     #[cfg_attr(feature = "serialize", serde(skip_serializing))]
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:190:16
[INFO] [stdout]     |
[INFO] [stdout] 190 |     #[cfg_attr(feature = "serialize", serde(skip_serializing))]
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:192:16
[INFO] [stdout]     |
[INFO] [stdout] 192 |     #[cfg_attr(feature = "serialize", serde(skip_serializing))]
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:194:16
[INFO] [stdout]     |
[INFO] [stdout] 194 |     #[cfg_attr(feature = "serialize", serde(skip_serializing))]
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `serialize`
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:196:16
[INFO] [stdout]     |
[INFO] [stdout] 196 |     #[cfg_attr(feature = "serialize", serde(skip_serializing))]
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `serialize` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bus::Bus`
[INFO] [stdout]  --> lib_dmg/src/cpu/function.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::bus::Bus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> lib_dmg/src/cpu/function.rs:268:22
[INFO] [stdout]     |
[INFO] [stdout] 268 |     let half_carry = ((cpu.registers.value_of(&destination) & 0xF) < (value & 0xF) + borrow);
[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] 268 -     let half_carry = ((cpu.registers.value_of(&destination) & 0xF) < (value & 0xF) + borrow);
[INFO] [stdout] 268 +     let half_carry = (cpu.registers.value_of(&destination) & 0xF) < (value & 0xF) + borrow ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> lib_dmg/src/cpu/function.rs:286:22
[INFO] [stdout]     |
[INFO] [stdout] 286 |     let half_carry = ((cpu.registers.value_of(&destination) & 0xF) < (value_from_memory & 0xF) + borrow);
[INFO] [stdout]     |                      ^                                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 286 -     let half_carry = ((cpu.registers.value_of(&destination) & 0xF) < (value_from_memory & 0xF) + borrow);
[INFO] [stdout] 286 +     let half_carry = (cpu.registers.value_of(&destination) & 0xF) < (value_from_memory & 0xF) + borrow ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bus::Bus`
[INFO] [stdout]  --> lib_dmg/src/cpu/cb_function.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::bus::Bus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Cycle`
[INFO] [stdout]  --> lib_dmg/src/cpu/instructions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::iter::Cycle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bus::Bus`
[INFO] [stdout]  --> lib_dmg/src/cpu/instructions.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::bus::Bus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::bus::Bus`
[INFO] [stdout]  --> lib_dmg/src/cpu/cb_instructions.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::bus::Bus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cpu::instructions::OpCodeHandler`
[INFO] [stdout]  --> lib_dmg/src/cpu/cb_instructions.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::cpu::instructions::OpCodeHandler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:766:64
[INFO] [stdout]     |
[INFO] [stdout] 766 |                         let pixel_x_offset = if object.xflip { (7 - x) } else { x } as usize;
[INFO] [stdout]     |                                                                ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 766 -                         let pixel_x_offset = if object.xflip { (7 - x) } else { x } as usize;
[INFO] [stdout] 766 +                         let pixel_x_offset = if object.xflip { 7 - x  } else { x } as usize;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking wayland-sys v0.29.5
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> lib_dmg/src/cpu/function.rs:866:9
[INFO] [stdout]     |
[INFO] [stdout] 866 |     let result = cpu.registers.sp as u32 + i16_value as u32;
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `register`
[INFO] [stdout]    --> lib_dmg/src/cpu/function.rs:934:30
[INFO] [stdout]     |
[INFO] [stdout] 934 | pub fn ld_rmv(cpu: &mut CPU, register: RegisterName, cycles: u8) -> u8 {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> lib_dmg/src/cpu/instructions.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |     map.insert(0x10, |cpu| panic!("STOP"));
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cycles` is never read
[INFO] [stdout]   --> lib_dmg/src/cpu/mod.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut cycles: u8 = 0;
[INFO] [stdout]    |                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> lib_dmg/src/bus/mod.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |             _ => panic!("Bus write address not implemented: {:04X}", address)
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> lib_dmg/src/bus/mod.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout]  82 |             0x0000..=0x3FFF => self.cart.cart_write(address, value),// ROM Bank 00
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout]  83 |             0x4000..=0x7FFF => self.cart.cart_write(address, value),// ROM Bank 01->NN
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout]  84 |             0x8000..=0x9FFF => self.gpu.gpu_write(address, value), // GPU VRAM
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout]  85 |             0xA000..=0xBFFF => self.ram.ram_write(address, value), // 8 KiB External RAM
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 109 |             _ => panic!("Bus write address not implemented: {:04X}", address)
[INFO] [stdout]     |             ^ ...and 11 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: variable does not need to be mutable
[INFO] [stdout]    --> lib_dmg/src/bus/mod.rs:113:38
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn bus_write_word(&mut self, mut address: u16, value: u16) {
[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: `res`
[INFO] [stdout]    --> lib_dmg/src/bus/mod.rs:118:20
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let (addr, res) = address.overflowing_add(1);
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lib_dmg/src/cart/mod.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut boot_rom = DATA.to_vec();
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lib_dmg/src/cart/mod.rs:48:33
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn cart_read(&mut self, mut address: u16) -> u8 {
[INFO] [stdout]    |                                 ----^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> lib_dmg/src/cart/mod.rs:67:34
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn cart_write(&mut self, mut address: u16, value: u8) {
[INFO] [stdout]    |                                  ----^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> lib_dmg/src/gpu/mod.rs:417:13
[INFO] [stdout]     |
[INFO] [stdout] 417 |         let mut data = self.object_data.get_mut(object_index).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `log_index` is never read
[INFO] [stdout]   --> lib_dmg/src/cpu/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct CPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     log_index: usize,
[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 `flush_frequency_based_on_index` and `flush_log_buffer` are never used
[INFO] [stdout]    --> lib_dmg/src/cpu/mod.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     fn flush_frequency_based_on_index(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn flush_log_buffer(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ldi_a_mhl` is never used
[INFO] [stdout]   --> lib_dmg/src/cpu/function.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub fn ldi_a_mhl(cpu: &mut CPU, cycles: u8) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_u16_a` is never used
[INFO] [stdout]    --> lib_dmg/src/cpu/function.rs:850:8
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub fn ld_u16_a(cpu: &mut CPU, cycles: u8) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `core::num::<impl u16>::wrapping_add` that must be used
[INFO] [stdout]   --> lib_dmg/src/io/timer.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             self.div.wrapping_add(1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this returns the result of the operation, without modifying the original
[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] 47 |             let _ = self.div.wrapping_add(1);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]    Compiling minifb v0.25.0
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking tempfile v3.8.0
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking dmg_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut cpu: CPU = CPU::new(&data);
[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/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut cpu: CPU = CPU::new(&data);
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.44s
[INFO] running `Command { std: "docker" "inspect" "568a8a5b50d20e791107ca49e129056cb45597341a948cbc96770e7181a57852", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "568a8a5b50d20e791107ca49e129056cb45597341a948cbc96770e7181a57852", kill_on_drop: false }`
[INFO] [stdout] 568a8a5b50d20e791107ca49e129056cb45597341a948cbc96770e7181a57852
