[INFO] cloning repository https://github.com/drgomesp/oxiboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drgomesp/oxiboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3a3e8c08ac2992440fd0999fe4abb36b24894039
[INFO] checking drgomesp/oxiboy against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy" "/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/drgomesp/oxiboy
[INFO] finished tweaking git repo https://github.com/drgomesp/oxiboy
[INFO] tweaked toml for git repo https://github.com/drgomesp/oxiboy written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drgomesp/oxiboy on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drgomesp/oxiboy 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "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 backtrace v0.3.15
[INFO] [stderr]   Downloaded simplelog v0.5.3
[INFO] [stderr]   Downloaded cc v1.0.34
[INFO] [stderr]   Downloaded libc v0.2.51
[INFO] [stderr]   Downloaded syn v0.15.30
[INFO] [stderr]   Downloaded clippy v0.0.21
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98aaf4944cd6b7145c3a798ec5e79a8d83d7a8c2d491f4a6c010b9aabce5ae75
[INFO] running `Command { std: "docker" "start" "-a" "98aaf4944cd6b7145c3a798ec5e79a8d83d7a8c2d491f4a6c010b9aabce5ae75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98aaf4944cd6b7145c3a798ec5e79a8d83d7a8c2d491f4a6c010b9aabce5ae75", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98aaf4944cd6b7145c3a798ec5e79a8d83d7a8c2d491f4a6c010b9aabce5ae75", kill_on_drop: false }`
[INFO] [stdout] 98aaf4944cd6b7145c3a798ec5e79a8d83d7a8c2d491f4a6c010b9aabce5ae75
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18e79d8fddde3f1fc2d2ff7c640b48e7b04e65430dffeeea5990e4d350915318
[INFO] running `Command { std: "docker" "start" "-a" "18e79d8fddde3f1fc2d2ff7c640b48e7b04e65430dffeeea5990e4d350915318", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.51
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling cc v1.0.34
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling syn v0.15.30
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking rustc-demangle v0.1.13
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]    Compiling backtrace v0.3.15
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking term v0.5.2
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking simplelog v0.5.3
[INFO] [stderr]    Compiling synstructure v0.10.1
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking oxiboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `emulation::Emulator`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use emulation::Emulator;
[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: `emulation::Emulator`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use emulation::Emulator;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / bitflags!(
[INFO] [stdout]  4 | |   pub struct Flags: u8 {
[INFO] [stdout]  5 | |     const ZERO       = 0b_1000_0000; 
[INFO] [stdout]  6 | |     const ADD_SUB    = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / bitflags!(
[INFO] [stdout]  4 | |   pub struct Flags: u8 {
[INFO] [stdout]  5 | |     const ZERO       = 0b_1000_0000; 
[INFO] [stdout]  6 | |     const ADD_SUB    = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / bitflags!(
[INFO] [stdout]  4 | |   pub struct Flags: u8 {
[INFO] [stdout]  5 | |     const ZERO       = 0b_1000_0000; 
[INFO] [stdout]  6 | |     const ADD_SUB    = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / bitflags!(
[INFO] [stdout]  4 | |   pub struct Flags: u8 {
[INFO] [stdout]  5 | |     const ZERO       = 0b_1000_0000; 
[INFO] [stdout]  6 | |     const ADD_SUB    = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / bitflags!(
[INFO] [stdout]  4 | |   pub struct Flags: u8 {
[INFO] [stdout]  5 | |     const ZERO       = 0b_1000_0000; 
[INFO] [stdout]  6 | |     const ADD_SUB    = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/gameboy/hardware/cpu/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         ((h as u16) << 8 | (l 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] 65 -         ((h as u16) << 8 | (l as u16))
[INFO] [stdout] 65 +         (h as u16) << 8 | (l as u16) 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |             0x0...0xFF => self.bootrom[addr as usize],
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |             0x0100...0x7FFF => self.cartridge.read(addr),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |             0x8000...0x9FFF => self.ppu.read(addr - 0x8000),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |             0xC000...0xDFFF => self.wram[(addr - 0xC000) as usize],
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 34 |             0xFF00...0xFF7F => match addr {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |             0xFF80...0xFFFE => self.hram[(addr - 0xFF80) as usize],
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |             0x0100...0x7FFF => panic!("-- writing cartridge mem val:{:#04X} addr: ${:#06X}", val, addr - 0x0100),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |             0x8000...0x9FFF => self.ppu.write(addr - 0x8000, val),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / bitflags!(
[INFO] [stdout]  4 | |   pub struct Flags: u8 {
[INFO] [stdout]  5 | |     const ZERO       = 0b_1000_0000; 
[INFO] [stdout]  6 | |     const ADD_SUB    = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 10 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |             0xC000...0xDFFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |             0xFF00...0xFF7F => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |             0xFF80...0xFFFE => self.hram[(addr - 0xFF80) as usize] = val,
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/gameboy/hardware/cpu/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         ((h as u16) << 8 | (l 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] 65 -         ((h as u16) << 8 | (l as u16))
[INFO] [stdout] 65 +         (h as u16) << 8 | (l as u16) 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/ppu/registers.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / bitflags!(
[INFO] [stdout]  2 | |   pub struct Control: u8 {
[INFO] [stdout]  3 | |     const LCD_DISPLAY_ENABLE        = 0b_1000_0000;
[INFO] [stdout]  4 | |     const WINDOW_TILE_MAP_ADDR      = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |             0x0...0xFF => self.bootrom[addr as usize],
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |             0x0100...0x7FFF => self.cartridge.read(addr),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/ppu/registers.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / bitflags!(
[INFO] [stdout]  2 | |   pub struct Control: u8 {
[INFO] [stdout]  3 | |     const LCD_DISPLAY_ENABLE        = 0b_1000_0000;
[INFO] [stdout]  4 | |     const WINDOW_TILE_MAP_ADDR      = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |             0x8000...0x9FFF => self.ppu.read(addr - 0x8000),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |             0xC000...0xDFFF => self.wram[(addr - 0xC000) as usize],
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/ppu/registers.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / bitflags!(
[INFO] [stdout]  2 | |   pub struct Control: u8 {
[INFO] [stdout]  3 | |     const LCD_DISPLAY_ENABLE        = 0b_1000_0000;
[INFO] [stdout]  4 | |     const WINDOW_TILE_MAP_ADDR      = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:34:19
[INFO] [stdout]    |
[INFO] [stdout] 34 |             0xFF00...0xFF7F => match addr {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:39:19
[INFO] [stdout]    |
[INFO] [stdout] 39 |             0xFF80...0xFFFE => self.hram[(addr - 0xFF80) as usize],
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |             0x0100...0x7FFF => panic!("-- writing cartridge mem val:{:#04X} addr: ${:#06X}", val, addr - 0x0100),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |             0x8000...0x9FFF => self.ppu.write(addr - 0x8000, val),
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |             0xC000...0xDFFF => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |             0xFF00...0xFF7F => {
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/gameboy/hardware/interconnect.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |             0xFF80...0xFFFE => self.hram[(addr - 0xFF80) as usize] = val,
[INFO] [stdout]    |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/ppu/registers.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / bitflags!(
[INFO] [stdout]  2 | |   pub struct Control: u8 {
[INFO] [stdout]  3 | |     const LCD_DISPLAY_ENABLE        = 0b_1000_0000;
[INFO] [stdout]  4 | |     const WINDOW_TILE_MAP_ADDR      = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/ppu/registers.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / bitflags!(
[INFO] [stdout]  2 | |   pub struct Control: u8 {
[INFO] [stdout]  3 | |     const LCD_DISPLAY_ENABLE        = 0b_1000_0000;
[INFO] [stdout]  4 | |     const WINDOW_TILE_MAP_ADDR      = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/gameboy/hardware/ppu/registers.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / bitflags!(
[INFO] [stdout]  2 | |   pub struct Control: u8 {
[INFO] [stdout]  3 | |     const LCD_DISPLAY_ENABLE        = 0b_1000_0000;
[INFO] [stdout]  4 | |     const WINDOW_TILE_MAP_ADDR      = 0b_0100_0000;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `byte_length` and `cycle_duration` are never read
[INFO] [stdout]   --> src/gameboy/hardware/cpu/instructions.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Info {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     pub opcode: u8,
[INFO] [stdout] 15 |     pub byte_length: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 16 |     pub cycle_duration: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Info` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AF` is never constructed
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum Reg16 {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 35 |     AF,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Reg16` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]  --> src/gameboy/hardware/ppu/mod.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | enum Mode {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `scroll_x` is never read
[INFO] [stdout]   --> src/gameboy/hardware/ppu/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     scroll_x: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_scroll_y` is never used
[INFO] [stdout]   --> src/gameboy/hardware/ppu/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl PPU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_scroll_y(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Emulator` is never constructed
[INFO] [stdout]  --> src/emulation/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Emulator {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `run` are never used
[INFO] [stdout]   --> src/emulation/mod.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Emulator {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new(gb: GameBoy) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn run(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/mod.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 | /         match dst {
[INFO] [stdout] 489 | |             Dst::A8(val) => {
[INFO] [stdout] 490 | |                 let addr = 0xFF00u16 | val as u16;
[INFO] [stdout] 491 | |                 bus.write(addr, cpu.registers.read8(Reg8::A))
[INFO] [stdout] ...   |
[INFO] [stdout] 509 | |             Dst::Addr(addr) => bus.write(addr, val as u8),
[INFO] [stdout] 510 | |         };
[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] 488 |         let _ = match dst {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         write!(f, "+--------+-------+-------+-------+-------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let _ = write!(f, "+--------+-------+-------+-------+-------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         write!(f, "|   PC   |   SP  |   A   |   F   |   B   |   C   |   D   |   E   |   H   |   L   |\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let _ = write!(f, "|   PC   |   SP  |   A   |   F   |   B   |   C   |   D   |   E   |   H   |   L   |\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         write!(f, "+--------+-------+-------+---------------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let _ = write!(f, "+--------+-------+-------+---------------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...   write!(f, "|  {:04X}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |\n", self.pc, self.sp, self.a, self.f, self.b, self.c, self.d, self.e, self.h, self.l);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let _ = write!(f, "|  {:04X}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |\n", self.pc, self.sp, self.a, self.f, self.b, self.c, self.d, self.e, self.h, self.l);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `byte_length` and `cycle_duration` are never read
[INFO] [stdout]   --> src/gameboy/hardware/cpu/instructions.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Info {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 14 |     pub opcode: u8,
[INFO] [stdout] 15 |     pub byte_length: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 16 |     pub cycle_duration: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Info` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AF` is never constructed
[INFO] [stdout]   --> src/gameboy/hardware/cpu/registers.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum Reg16 {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 35 |     AF,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Reg16` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mode` is never used
[INFO] [stdout]  --> src/gameboy/hardware/ppu/mod.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | enum Mode {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `scroll_x` is never read
[INFO] [stdout]   --> src/gameboy/hardware/ppu/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     scroll_x: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_scroll_y` is never used
[INFO] [stdout]   --> src/gameboy/hardware/ppu/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl PPU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_scroll_y(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Emulator` is never constructed
[INFO] [stdout]  --> src/emulation/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Emulator {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `run` are never used
[INFO] [stdout]   --> src/emulation/mod.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Emulator {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new(gb: GameBoy) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn run(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/mod.rs:488:9
[INFO] [stdout]     |
[INFO] [stdout] 488 | /         match dst {
[INFO] [stdout] 489 | |             Dst::A8(val) => {
[INFO] [stdout] 490 | |                 let addr = 0xFF00u16 | val as u16;
[INFO] [stdout] 491 | |                 bus.write(addr, cpu.registers.read8(Reg8::A))
[INFO] [stdout] ...   |
[INFO] [stdout] 509 | |             Dst::Addr(addr) => bus.write(addr, val as u8),
[INFO] [stdout] 510 | |         };
[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] 488 |         let _ = match dst {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         write!(f, "+--------+-------+-------+-------+-------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let _ = write!(f, "+--------+-------+-------+-------+-------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         write!(f, "|   PC   |   SP  |   A   |   F   |   B   |   C   |   D   |   E   |   H   |   L   |\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let _ = write!(f, "|   PC   |   SP  |   A   |   F   |   B   |   C   |   D   |   E   |   H   |   L   |\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         write!(f, "+--------+-------+-------+---------------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let _ = write!(f, "+--------+-------+-------+---------------+-------+-------+-------+-------+-------+\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/gameboy/hardware/cpu/registers.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...   write!(f, "|  {:04X}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |\n", self.pc, self.sp, self.a, self.f, self.b, self.c, self.d, self.e, self.h, self.l);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let _ = write!(f, "|  {:04X}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |   {:02x}  |\n", self.pc, self.sp, self.a, self.f, self.b, self.c, self.d, self.e, self.h, self.l);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s
[INFO] running `Command { std: "docker" "inspect" "18e79d8fddde3f1fc2d2ff7c640b48e7b04e65430dffeeea5990e4d350915318", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18e79d8fddde3f1fc2d2ff7c640b48e7b04e65430dffeeea5990e4d350915318", kill_on_drop: false }`
[INFO] [stdout] 18e79d8fddde3f1fc2d2ff7c640b48e7b04e65430dffeeea5990e4d350915318
