[INFO] cloning repository https://github.com/Tormyst/myst_gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tormyst/myst_gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTormyst%2Fmyst_gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTormyst%2Fmyst_gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 574c2912b6aff2e42fcc10f0d7aac89de552f073 [INFO] building Tormyst/myst_gb against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTormyst%2Fmyst_gb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tormyst/myst_gb on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tormyst/myst_gb [INFO] finished tweaking git repo https://github.com/Tormyst/myst_gb [INFO] tweaked toml for git repo https://github.com/Tormyst/myst_gb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tormyst/myst_gb 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] [stderr] Downloaded libc v0.2.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3d36ab4f7e577e0f81f80c58538bab0a7e66fc055f4a9190624110b59dce45e [INFO] running `Command { std: "docker" "start" "-a" "c3d36ab4f7e577e0f81f80c58538bab0a7e66fc055f4a9190624110b59dce45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3d36ab4f7e577e0f81f80c58538bab0a7e66fc055f4a9190624110b59dce45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d36ab4f7e577e0f81f80c58538bab0a7e66fc055f4a9190624110b59dce45e", kill_on_drop: false }` [INFO] [stdout] c3d36ab4f7e577e0f81f80c58538bab0a7e66fc055f4a9190624110b59dce45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f02be13ab741a350092655d03ebb9843bc1ae9b60fbe918302db6279267450f [INFO] running `Command { std: "docker" "start" "-a" "4f02be13ab741a350092655d03ebb9843bc1ae9b60fbe918302db6279267450f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.32.1 [INFO] [stderr] Compiling FeGaBo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mem/ppu.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | 0...77 => self.stat & 0xF8 | 0x02, [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/gb/mem/ppu.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | 78...247 => self.stat & 0xF8 | 0x03, [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/gb/mem/ppu.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | 248...456 => self.stat & 0xF8 | 0x00, [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/gb/mem/cm/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 0x05...0x06 => (CMtype::MBC2, None), [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/gb/mem/cm/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | 0x08...0x09 => (CMtype::ROM, None), [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/gb/mem/cm/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | 0x10...0x13 => (CMtype::MBC3, None), [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: unnecessary parentheses around block return value [INFO] [stdout] --> src/gb/mem/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | (!res & 0xF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - (!res & 0xF) [INFO] [stdout] 35 + !res & 0xF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gb/mem/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | (!res & 0xF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - (!res & 0xF) [INFO] [stdout] 44 + !res & 0xF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mem/mod.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | 0x0000...0x00FF => if !self.boot { self.boot_rom.read(addr) } else { self.cartrage.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/gb/mem/mod.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | 0x0000...0x7FFF => self.cartrage.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/gb/mem/mod.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | 0x8000...0x9FFF => Some(self.vram[addr as usize & KB_8_MASK]), [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/gb/mem/mod.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 427 | 0xA000...0xBFFF => self.cartrage.read_ram(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/gb/mem/mod.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | 0xC000...0xDFFF => Some(self.wram[addr as usize & KB_8_MASK]), [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/gb/mem/mod.rs:429:19 [INFO] [stdout] | [INFO] [stdout] 429 | 0xE000...0xFDFF => Some(self.wram[addr as usize & KB_8_MASK]), [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/gb/mem/mod.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | 0xFE00...0xFE9F => self.oam.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/gb/mem/mod.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | 0xFF01...0xFF02 => self.serial.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/gb/mem/mod.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | 0xFF04...0xFF07 => self.timer.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/gb/mem/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 436 | 0xFF10...0xFF3F => Some(0xFF), // Audio device not implemented. [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/gb/mem/mod.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 437 | 0xFF40...0xFF45 => self.ppu.read(addr), // PPU state [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/gb/mem/mod.rs:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | 0xFF47...0xFF49 => self.gbp.read(addr), // Pallet for GB [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/gb/mem/mod.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | 0xFF80...0xFFFE => Some(self.hram[addr as usize & 0x007F]), [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/gb/mem/mod.rs:448:19 [INFO] [stdout] | [INFO] [stdout] 448 | 0x0000...0x7FFF => self.cartrage.write(addr, data), [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/gb/mem/mod.rs:449:19 [INFO] [stdout] | [INFO] [stdout] 449 | 0x8000...0x9FFF => {self.vram[addr as usize & KB_8_MASK] = data; true} [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/gb/mem/mod.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | 0xA000...0xBFFF => self.cartrage.write_ram(addr, data), [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/gb/mem/mod.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 451 | 0xC000...0xDFFF => {self.wram[addr as usize & KB_8_MASK] = data; true} [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/gb/mem/mod.rs:452:19 [INFO] [stdout] | [INFO] [stdout] 452 | 0xE000...0xFDFF => {self.wram[addr as usize & KB_8_MASK] = data; true} [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/gb/mem/mod.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | 0xFE00...0xFE9F => self.oam.write(addr, data), [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/gb/mem/mod.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 468 | 0xFF01...0xFF02 => self.serial.write(addr, data), [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/gb/mem/mod.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | 0xFF04...0xFF07 => self.timer.write(addr, data), [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/gb/mem/mod.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | 0xFF01...0xFF02 => true, // Not implemented serial [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/gb/mem/mod.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | 0xFF10...0xFF3F => true, // Audio device not implemented. [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/gb/mem/mod.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | 0xFF40...0xFF45 => self.ppu.write(addr, data), // PPU state [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/gb/mem/mod.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | 0xFF47...0xFF49 => self.gbp.write(addr, data), // Pallet for GB [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/gb/mem/mod.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | 0xFF80...0xFFFE => {self.hram[addr as usize & 0x007F] = data; true} [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: unused label [INFO] [stdout] --> src/gb/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | 'cycle_loop: loop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mem/mod.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | map_holder: Box, [INFO] [stdout] | ^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 312 | map_holder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mem/mod.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | map: &MemMapper, [INFO] [stdout] | ^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | map: &dyn MemMapper, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/gb/mem/cm/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let size = file.read_to_end(&mut rom).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gb/mem/cm/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ram = match ram_type { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/mem/mod.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 468 | 0xFF01...0xFF02 => self.serial.write(addr, data), [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] 469 | 0xFF04...0xFF07 => self.timer.write(addr, data), [INFO] [stdout] 470 | 0xFF01...0xFF02 => true, // Not implemented serial [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_offset` [INFO] [stdout] --> src/gb/mem/mod.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | let x_offset = self.ppu.scx; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_offset` [INFO] [stdout] --> src/gb/mem/mod.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let y_offset = self.ppu.scy.wrapping_add(row); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/decode.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 879 | _ => panic!("Instruction CB{:02X} cannot be decoded.", op), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/decode.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 607 | 0x00 => op!(0xCB, op, RLC(B), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 608 | 0x01 => op!(0xCB, op, RLC(C), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 609 | 0x02 => op!(0xCB, op, RLC(D), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 610 | 0x03 => op!(0xCB, op, RLC(E), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 879 | _ => panic!("Instruction CB{:02X} cannot be decoded.", op), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/gb/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let size = file.read_to_end(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_background_map` and `print_sprite_table` are never used [INFO] [stdout] --> src/gb/mem/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait MemMapper { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn print_background_map(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | fn print_sprite_table(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F` is never constructed [INFO] [stdout] --> src/gb/decode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ByteR { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteR` has derived impls for the traits `Clone` and `Debug`, 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/gb/mem/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | write!(f,"Serial Log:"); [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] = 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/gb/mem/mod.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | write!(f,"{}", self.out as char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.32s [INFO] running `Command { std: "docker" "inspect" "4f02be13ab741a350092655d03ebb9843bc1ae9b60fbe918302db6279267450f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f02be13ab741a350092655d03ebb9843bc1ae9b60fbe918302db6279267450f", kill_on_drop: false }` [INFO] [stdout] 4f02be13ab741a350092655d03ebb9843bc1ae9b60fbe918302db6279267450f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d440ce83fd94b85104ee1679245c6cc8e43f6e0264dc4f7f2eb450bd14eb4499 [INFO] running `Command { std: "docker" "start" "-a" "d440ce83fd94b85104ee1679245c6cc8e43f6e0264dc4f7f2eb450bd14eb4499", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling FeGaBo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mem/ppu.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | 0...77 => self.stat & 0xF8 | 0x02, [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/gb/mem/ppu.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | 78...247 => self.stat & 0xF8 | 0x03, [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/gb/mem/ppu.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | 248...456 => self.stat & 0xF8 | 0x00, [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/gb/mem/cm/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 0x05...0x06 => (CMtype::MBC2, None), [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/gb/mem/cm/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | 0x08...0x09 => (CMtype::ROM, None), [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/gb/mem/cm/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | 0x10...0x13 => (CMtype::MBC3, None), [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: unnecessary parentheses around block return value [INFO] [stdout] --> src/gb/mem/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | (!res & 0xF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - (!res & 0xF) [INFO] [stdout] 35 + !res & 0xF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/gb/mem/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | (!res & 0xF) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - (!res & 0xF) [INFO] [stdout] 44 + !res & 0xF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/gb/mem/mod.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | 0x0000...0x00FF => if !self.boot { self.boot_rom.read(addr) } else { self.cartrage.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/gb/mem/mod.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | 0x0000...0x7FFF => self.cartrage.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/gb/mem/mod.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | 0x8000...0x9FFF => Some(self.vram[addr as usize & KB_8_MASK]), [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/gb/mem/mod.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 427 | 0xA000...0xBFFF => self.cartrage.read_ram(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/gb/mem/mod.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | 0xC000...0xDFFF => Some(self.wram[addr as usize & KB_8_MASK]), [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/gb/mem/mod.rs:429:19 [INFO] [stdout] | [INFO] [stdout] 429 | 0xE000...0xFDFF => Some(self.wram[addr as usize & KB_8_MASK]), [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/gb/mem/mod.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | 0xFE00...0xFE9F => self.oam.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/gb/mem/mod.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | 0xFF01...0xFF02 => self.serial.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/gb/mem/mod.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | 0xFF04...0xFF07 => self.timer.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/gb/mem/mod.rs:436:19 [INFO] [stdout] | [INFO] [stdout] 436 | 0xFF10...0xFF3F => Some(0xFF), // Audio device not implemented. [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/gb/mem/mod.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 437 | 0xFF40...0xFF45 => self.ppu.read(addr), // PPU state [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/gb/mem/mod.rs:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | 0xFF47...0xFF49 => self.gbp.read(addr), // Pallet for GB [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/gb/mem/mod.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | 0xFF80...0xFFFE => Some(self.hram[addr as usize & 0x007F]), [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/gb/mem/mod.rs:448:19 [INFO] [stdout] | [INFO] [stdout] 448 | 0x0000...0x7FFF => self.cartrage.write(addr, data), [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/gb/mem/mod.rs:449:19 [INFO] [stdout] | [INFO] [stdout] 449 | 0x8000...0x9FFF => {self.vram[addr as usize & KB_8_MASK] = data; true} [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/gb/mem/mod.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | 0xA000...0xBFFF => self.cartrage.write_ram(addr, data), [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/gb/mem/mod.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 451 | 0xC000...0xDFFF => {self.wram[addr as usize & KB_8_MASK] = data; true} [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/gb/mem/mod.rs:452:19 [INFO] [stdout] | [INFO] [stdout] 452 | 0xE000...0xFDFF => {self.wram[addr as usize & KB_8_MASK] = data; true} [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/gb/mem/mod.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | 0xFE00...0xFE9F => self.oam.write(addr, data), [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/gb/mem/mod.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 468 | 0xFF01...0xFF02 => self.serial.write(addr, data), [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/gb/mem/mod.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | 0xFF04...0xFF07 => self.timer.write(addr, data), [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/gb/mem/mod.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | 0xFF01...0xFF02 => true, // Not implemented serial [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/gb/mem/mod.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | 0xFF10...0xFF3F => true, // Audio device not implemented. [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/gb/mem/mod.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | 0xFF40...0xFF45 => self.ppu.write(addr, data), // PPU state [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/gb/mem/mod.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | 0xFF47...0xFF49 => self.gbp.write(addr, data), // Pallet for GB [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/gb/mem/mod.rs:477:19 [INFO] [stdout] | [INFO] [stdout] 477 | 0xFF80...0xFFFE => {self.hram[addr as usize & 0x007F] = data; true} [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: unused label [INFO] [stdout] --> src/gb/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | 'cycle_loop: loop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mem/mod.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | map_holder: Box, [INFO] [stdout] | ^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 312 | map_holder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gb/mem/mod.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | map: &MemMapper, [INFO] [stdout] | ^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | map: &dyn MemMapper, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/gb/mem/cm/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let size = file.read_to_end(&mut rom).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gb/mem/cm/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut ram = match ram_type { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/mem/mod.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 468 | 0xFF01...0xFF02 => self.serial.write(addr, data), [INFO] [stdout] | --------------- matches all the relevant values [INFO] [stdout] 469 | 0xFF04...0xFF07 => self.timer.write(addr, data), [INFO] [stdout] 470 | 0xFF01...0xFF02 => true, // Not implemented serial [INFO] [stdout] | ^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_offset` [INFO] [stdout] --> src/gb/mem/mod.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | let x_offset = self.ppu.scx; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_offset` [INFO] [stdout] --> src/gb/mem/mod.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let y_offset = self.ppu.scy.wrapping_add(row); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/gb/decode.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 879 | _ => panic!("Instruction CB{:02X} cannot be decoded.", op), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/gb/decode.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 607 | 0x00 => op!(0xCB, op, RLC(B), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 608 | 0x01 => op!(0xCB, op, RLC(C), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 609 | 0x02 => op!(0xCB, op, RLC(D), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 610 | 0x03 => op!(0xCB, op, RLC(E), 8), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 879 | _ => panic!("Instruction CB{:02X} cannot be decoded.", op), [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/gb/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let size = file.read_to_end(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_background_map` and `print_sprite_table` are never used [INFO] [stdout] --> src/gb/mem/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub trait MemMapper { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn print_background_map(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | fn print_sprite_table(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F` is never constructed [INFO] [stdout] --> src/gb/decode.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ByteR { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteR` has derived impls for the traits `Clone` and `Debug`, 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/gb/mem/mod.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | write!(f,"Serial Log:"); [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] = 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/gb/mem/mod.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | write!(f,"{}", self.out as char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "d440ce83fd94b85104ee1679245c6cc8e43f6e0264dc4f7f2eb450bd14eb4499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d440ce83fd94b85104ee1679245c6cc8e43f6e0264dc4f7f2eb450bd14eb4499", kill_on_drop: false }` [INFO] [stdout] d440ce83fd94b85104ee1679245c6cc8e43f6e0264dc4f7f2eb450bd14eb4499