[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy: No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 1)
[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 master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/drgomesp/oxiboy on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc1/source/Cargo.toml
[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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded clippy v0.0.21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14444262f12d16cba1c3fb3f9d52245b2dfcc04c05009a9e9958773bafbf8ff4
[INFO] running `Command { std: "docker" "start" "-a" "14444262f12d16cba1c3fb3f9d52245b2dfcc04c05009a9e9958773bafbf8ff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14444262f12d16cba1c3fb3f9d52245b2dfcc04c05009a9e9958773bafbf8ff4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14444262f12d16cba1c3fb3f9d52245b2dfcc04c05009a9e9958773bafbf8ff4", kill_on_drop: false }`
[INFO] [stdout] 14444262f12d16cba1c3fb3f9d52245b2dfcc04c05009a9e9958773bafbf8ff4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1baa6009f8b19cd0bc076099c65eec8b329d027c79ca1aa327863dbe6c055eb1
[INFO] running `Command { std: "docker" "start" "-a" "1baa6009f8b19cd0bc076099c65eec8b329d027c79ca1aa327863dbe6c055eb1", 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 unicode-xid v0.1.0
[INFO] [stderr]    Compiling cc v1.0.34
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling syn v0.15.30
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling autocfg v0.1.2
[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]     Checking log v0.4.6
[INFO] [stderr]    Compiling backtrace v0.3.15
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking time v0.1.42
[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)]` 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: 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)]` 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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: 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)]` 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: 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)]` 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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)]` 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)]` 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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this warning originates in the macro `write` (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)]` 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)]` 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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s
[INFO] running `Command { std: "docker" "inspect" "1baa6009f8b19cd0bc076099c65eec8b329d027c79ca1aa327863dbe6c055eb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1baa6009f8b19cd0bc076099c65eec8b329d027c79ca1aa327863dbe6c055eb1", kill_on_drop: false }`
[INFO] [stdout] 1baa6009f8b19cd0bc076099c65eec8b329d027c79ca1aa327863dbe6c055eb1
