[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] 5acef798dbdebd1ffc87f11831706a19d6776254 [INFO] checking drgomesp/oxiboy against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrgomesp%2Foxiboy" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drgomesp/oxiboy on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-5/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: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1b84312ca0cfd95018125bab1081702344253dd8d622bc5f9bea3461e2a097f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1b84312ca0cfd95018125bab1081702344253dd8d622bc5f9bea3461e2a097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1b84312ca0cfd95018125bab1081702344253dd8d622bc5f9bea3461e2a097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b84312ca0cfd95018125bab1081702344253dd8d622bc5f9bea3461e2a097f", kill_on_drop: false }` [INFO] [stdout] f1b84312ca0cfd95018125bab1081702344253dd8d622bc5f9bea3461e2a097f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e52679dde112ddd396b1f0760d229ccf78d99a79135e270a8d1934d8c475fec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e52679dde112ddd396b1f0760d229ccf78d99a79135e270a8d1934d8c475fec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [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] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking oxiboy v0.1.0 (/opt/rustwide/workdir) [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` (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` (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` (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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | 0x0...0xFF => self.bootrom[addr as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | 0x0100...0x7FFF => panic!("-- writing cartdrige 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | 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 issue #80165 [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 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 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 issue #80165 [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` (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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_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` (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` (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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | 0x0...0xFF => self.bootrom[addr as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | 0x0100...0x7FFF => panic!("-- writing cartdrige 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | 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 issue #80165 [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 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gameboy/hardware/interconnect.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | 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 issue #80165 [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` (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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/gameboy/hardware/cpu/registers.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VBlank` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | VBlank, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_x` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | scroll_x: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_y` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | scroll_y: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scroll_y` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:44:12 [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/mod.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | / match dst { [INFO] [stdout] 532 | | Dst::A8(val) => { [INFO] [stdout] 533 | | let addr = 0xFF00u16 | val as u16; [INFO] [stdout] 534 | | bus.write(addr, cpu.registers.read8(Reg8::A)) [INFO] [stdout] ... | [INFO] [stdout] 552 | | Dst::Addr(addr) => bus.write(addr, val as u8), [INFO] [stdout] 553 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/gameboy/hardware/cpu/registers.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VBlank` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | VBlank, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_x` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | scroll_x: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scroll_y` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | scroll_y: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scroll_y` [INFO] [stdout] --> src/gameboy/hardware/ppu/mod.rs:44:12 [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/mod.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | / match dst { [INFO] [stdout] 532 | | Dst::A8(val) => { [INFO] [stdout] 533 | | let addr = 0xFF00u16 | val as u16; [INFO] [stdout] 534 | | bus.write(addr, cpu.registers.read8(Reg8::A)) [INFO] [stdout] ... | [INFO] [stdout] 552 | | Dst::Addr(addr) => bus.write(addr, val as u8), [INFO] [stdout] 553 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.82s [INFO] running `Command { std: "docker" "inspect" "1e52679dde112ddd396b1f0760d229ccf78d99a79135e270a8d1934d8c475fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e52679dde112ddd396b1f0760d229ccf78d99a79135e270a8d1934d8c475fec", kill_on_drop: false }` [INFO] [stdout] 1e52679dde112ddd396b1f0760d229ccf78d99a79135e270a8d1934d8c475fec