[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drgomesp/oxiboy on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-2-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f21d3411dbc4f85d6ce0e963c2ba0ad7bbb25faa4d6ff791153f567690af313 [INFO] running `Command { std: "docker" "start" "-a" "6f21d3411dbc4f85d6ce0e963c2ba0ad7bbb25faa4d6ff791153f567690af313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f21d3411dbc4f85d6ce0e963c2ba0ad7bbb25faa4d6ff791153f567690af313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f21d3411dbc4f85d6ce0e963c2ba0ad7bbb25faa4d6ff791153f567690af313", kill_on_drop: false }` [INFO] [stdout] 6f21d3411dbc4f85d6ce0e963c2ba0ad7bbb25faa4d6ff791153f567690af313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c1f07429df8b4f1ab631ba275d00390fb7d8c6f7da27dc4e5b35febbf61745 [INFO] running `Command { std: "docker" "start" "-a" "e0c1f07429df8b4f1ab631ba275d00390fb7d8c6f7da27dc4e5b35febbf61745", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v1.0.5 [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)]` 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] 9 | | } [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] 9 | | } [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] 9 | | } [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] 11 | | } [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] 11 | | } [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] 11 | | } [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] 9 | | } [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] 9 | | } [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] 9 | | } [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] 11 | | } [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] 11 | | } [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] 11 | | } [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: 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: 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: 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: 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: 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: 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.... [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: 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.... [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.91s [INFO] running `Command { std: "docker" "inspect" "e0c1f07429df8b4f1ab631ba275d00390fb7d8c6f7da27dc4e5b35febbf61745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c1f07429df8b4f1ab631ba275d00390fb7d8c6f7da27dc4e5b35febbf61745", kill_on_drop: false }` [INFO] [stdout] e0c1f07429df8b4f1ab631ba275d00390fb7d8c6f7da27dc4e5b35febbf61745 [INFO] checking drgomesp/oxiboy against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drgomesp/oxiboy on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-2-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a667e4ab4751c2b72874563e7da57194c6b14fe6acc41cfb0cd9f5cae9e3666 [INFO] running `Command { std: "docker" "start" "-a" "5a667e4ab4751c2b72874563e7da57194c6b14fe6acc41cfb0cd9f5cae9e3666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a667e4ab4751c2b72874563e7da57194c6b14fe6acc41cfb0cd9f5cae9e3666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a667e4ab4751c2b72874563e7da57194c6b14fe6acc41cfb0cd9f5cae9e3666", kill_on_drop: false }` [INFO] [stdout] 5a667e4ab4751c2b72874563e7da57194c6b14fe6acc41cfb0cd9f5cae9e3666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20bab48fdb763657f6e5ceeace5b91a97e0742c9a675b2fec892a1b01232a4dc [INFO] running `Command { std: "docker" "start" "-a" "20bab48fdb763657f6e5ceeace5b91a97e0742c9a675b2fec892a1b01232a4dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num-integer v0.1.39 [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] 9 | | } [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] 9 | | } [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] 9 | | } [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] 11 | | } [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] 11 | | } [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] 11 | | } [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] 9 | | } [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] 9 | | } [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] 9 | | } [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] 11 | | } [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] 11 | | } [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] 11 | | } [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | interconnect: Interconnect::new(bootrom, rom), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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.... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | cartridge: Cartridge::new(rom), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | ppu: PPU::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | io: vec![0xFF; 127].into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | wram: vec![0xFF; 8192].into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | hram: vec![0xFF; 127].into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxiboy` (bin "oxiboy") due to 7 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | interconnect: Interconnect::new(bootrom, rom), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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.... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | cartridge: Cartridge::new(rom), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | ppu: PPU::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | io: vec![0xFF; 127].into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | wram: vec![0xFF; 8192].into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(bootrom: Box<[u8]>, rom: Box<[u8]>) -> Self { [INFO] [stdout] | ------------------ -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | hram: vec![0xFF; 127].into_boxed_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oxiboy` (bin "oxiboy" test) due to 7 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "20bab48fdb763657f6e5ceeace5b91a97e0742c9a675b2fec892a1b01232a4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20bab48fdb763657f6e5ceeace5b91a97e0742c9a675b2fec892a1b01232a4dc", kill_on_drop: false }` [INFO] [stdout] 20bab48fdb763657f6e5ceeace5b91a97e0742c9a675b2fec892a1b01232a4dc