[INFO] cloning repository https://github.com/Matt-Hurd/42-GBmu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Matt-Hurd/42-GBmu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatt-Hurd%2F42-GBmu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatt-Hurd%2F42-GBmu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7735270bda03198ba002691093525e6afc9828f6 [INFO] checking Matt-Hurd/42-GBmu against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatt-Hurd%2F42-GBmu" "/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/Matt-Hurd/42-GBmu on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Matt-Hurd/42-GBmu [INFO] finished tweaking git repo https://github.com/Matt-Hurd/42-GBmu [INFO] tweaked toml for git repo https://github.com/Matt-Hurd/42-GBmu written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Matt-Hurd/42-GBmu 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded kernel32-sys v0.1.4 [INFO] [stderr] Downloaded dylib v0.0.1 [INFO] [stderr] Downloaded libc v0.1.12 [INFO] [stderr] Downloaded time v0.1.35 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded minifb v0.9.0 [INFO] [stderr] Downloaded gcc v0.3.41 [INFO] [stderr] Downloaded libc v0.2.19 [INFO] [stderr] Downloaded x11-dl v2.2.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3ade162da406ba33c6a9338e68d411bbf62ec85b8644b66d8c62759d93ede0d [INFO] running `Command { std: "docker" "start" "-a" "a3ade162da406ba33c6a9338e68d411bbf62ec85b8644b66d8c62759d93ede0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3ade162da406ba33c6a9338e68d411bbf62ec85b8644b66d8c62759d93ede0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ade162da406ba33c6a9338e68d411bbf62ec85b8644b66d8c62759d93ede0d", kill_on_drop: false }` [INFO] [stdout] a3ade162da406ba33c6a9338e68d411bbf62ec85b8644b66d8c62759d93ede0d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2108092337bbff5d2d1e67f5b7cc0b4f24b920a9e30740faf384693fc10d9829 [INFO] running `Command { std: "docker" "start" "-a" "2108092337bbff5d2d1e67f5b7cc0b4f24b920a9e30740faf384693fc10d9829", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.19 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Checking x11-dl v2.2.1 [INFO] [stderr] Compiling minifb v0.9.0 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking gbmu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | 0x4000 ... 0x7FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | 0x8000 ... 0x9FFF => return self.gpu.rb(addr & 0x1FFF), [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/z80/mmu.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 0xA000 ... 0xBFFF => return self.eram[(addr & 0x1FFF) 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/z80/mmu.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | 0xC000 ... 0xDFFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | 0xE000 ... 0xFDFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 0xFE00 ... 0xFE9F => return self.gpu.roam((addr & 0xFF) as u8), [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/z80/mmu.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | 0xFEA0 ... 0xFEFF => return 0, [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/z80/mmu.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | 0xFF02 ... 0xFF7F => return self.gpu.rb(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/z80/mmu.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFF80 ... 0xFFFE => return self.hram[(addr & 0x7F) 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/z80/mmu.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | 0x4000 ... 0x7FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | 0x8000 ... 0x9FFF => self.gpu.wb(addr & 0x1FFF, 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/z80/mmu.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | 0xA000 ... 0xBFFF => self.eram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | 0xC000 ... 0xDFFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | 0xE000 ... 0xFDFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 0xFE00 ... 0xFE9F => self.gpu.woam((addr & 0xFF) as u8, 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/z80/mmu.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | 0xFEA0 ... 0xFEFF => (), [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/z80/mmu.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | 0xFF10 ... 0xFF3F => (), [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/z80/mmu.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | 0xFF40 ... 0xFF7F => self.gpu.wb(addr, 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/z80/mmu.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | 0xFF80 ... 0xFFFE => self.hram[(addr & 0x7F) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | 0x0000 ... 0x17FF => return self.tiles[(addr / 16) as usize][(addr % 16) 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/z80/gpu.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | 0x1800 ... 0x2000 => { [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/z80/gpu.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | 0x0000 ... 0x17FF => self.tiles[(addr / 16) as usize][(addr % 16) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | 0x1800 ... 0x1FFF => { [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/z80/mmu.rs:180:75 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | 0x4000 ... 0x7FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | 0x8000 ... 0x9FFF => return self.gpu.rb(addr & 0x1FFF), [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/z80/mmu.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 0xA000 ... 0xBFFF => return self.eram[(addr & 0x1FFF) 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/z80/mmu.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | 0xC000 ... 0xDFFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | 0xE000 ... 0xFDFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 0xFE00 ... 0xFE9F => return self.gpu.roam((addr & 0xFF) as u8), [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/z80/mmu.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | 0xFEA0 ... 0xFEFF => return 0, [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/z80/mmu.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | 0xFF02 ... 0xFF7F => return self.gpu.rb(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/z80/mmu.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFF80 ... 0xFFFE => return self.hram[(addr & 0x7F) 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/z80/mmu.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | 0x4000 ... 0x7FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | 0x8000 ... 0x9FFF => self.gpu.wb(addr & 0x1FFF, 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/z80/mmu.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | 0xA000 ... 0xBFFF => self.eram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | 0xC000 ... 0xDFFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | 0xE000 ... 0xFDFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 0xFE00 ... 0xFE9F => self.gpu.woam((addr & 0xFF) as u8, 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/z80/mmu.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | 0xFEA0 ... 0xFEFF => (), [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/z80/mmu.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | 0xFF10 ... 0xFF3F => (), [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/z80/mmu.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | 0xFF40 ... 0xFF7F => self.gpu.wb(addr, 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/z80/mmu.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | 0xFF80 ... 0xFFFE => self.hram[(addr & 0x7F) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | 0x0000 ... 0x17FF => return self.tiles[(addr / 16) as usize][(addr % 16) 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/z80/gpu.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | 0x1800 ... 0x2000 => { [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/z80/gpu.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | 0x0000 ... 0x17FF => self.tiles[(addr / 16) as usize][(addr % 16) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | 0x1800 ... 0x1FFF => { [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/z80/mmu.rs:180:75 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[addr as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/z80/mmu.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => return 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr as usize] = val, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[addr as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/z80/mmu.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => return 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr as usize] = val, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/z80/gpu.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | for y in 0 .. size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/z80/gpu.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | for y in 0 .. size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | ... Err(err) => println!("Invalid Number: {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let result = z80.mmu.load(rom_path); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = core.mmu.load(path::PathBuf::from(&args[1])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | ... Err(err) => println!("Invalid Number: {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backup_r` is never read [INFO] [stdout] --> src/z80/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Z80 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub backup_r: registers::Z80Registers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `backup_registers`, `restore_registers`, and `debug_print_stack` are never used [INFO] [stdout] --> src/z80/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Z80 { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 51 | pub fn backup_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn restore_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn debug_print_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_subtract` and `get_half_carry` are never used [INFO] [stdout] --> src/z80/registers.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Z80Registers { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_subtract(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_half_carry(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/z80/gpu.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct GPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | panic!("Stack Underflow".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 10 | panic!("{}", "Stack Underflow".to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 - panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] 282 + panic!("Unimplemented op 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 286 - panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] 286 + panic!("Unimplemented op 0xCB 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let result = z80.mmu.load(rom_path); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = core.mmu.load(path::PathBuf::from(&args[1])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backup_r` is never read [INFO] [stdout] --> src/z80/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Z80 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub backup_r: registers::Z80Registers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `backup_registers`, `restore_registers`, and `debug_print_stack` are never used [INFO] [stdout] --> src/z80/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Z80 { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 51 | pub fn backup_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn restore_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn debug_print_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_subtract` and `get_half_carry` are never used [INFO] [stdout] --> src/z80/registers.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Z80Registers { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_subtract(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_half_carry(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/z80/gpu.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct GPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | panic!("Stack Underflow".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 10 | panic!("{}", "Stack Underflow".to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 - panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] 282 + panic!("Unimplemented op 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 286 - panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] 286 + panic!("Unimplemented op 0xCB 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.41s [INFO] running `Command { std: "docker" "inspect" "2108092337bbff5d2d1e67f5b7cc0b4f24b920a9e30740faf384693fc10d9829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2108092337bbff5d2d1e67f5b7cc0b4f24b920a9e30740faf384693fc10d9829", kill_on_drop: false }` [INFO] [stdout] 2108092337bbff5d2d1e67f5b7cc0b4f24b920a9e30740faf384693fc10d9829 [INFO] checking Matt-Hurd/42-GBmu against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatt-Hurd%2F42-GBmu" "/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/Matt-Hurd/42-GBmu on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Matt-Hurd/42-GBmu [INFO] finished tweaking git repo https://github.com/Matt-Hurd/42-GBmu [INFO] tweaked toml for git repo https://github.com/Matt-Hurd/42-GBmu written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Matt-Hurd/42-GBmu 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aa2364ca38d46e2a7b3e7c7a4458a553ab724754d16a47c5e023e26a2d1918c [INFO] running `Command { std: "docker" "start" "-a" "1aa2364ca38d46e2a7b3e7c7a4458a553ab724754d16a47c5e023e26a2d1918c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aa2364ca38d46e2a7b3e7c7a4458a553ab724754d16a47c5e023e26a2d1918c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa2364ca38d46e2a7b3e7c7a4458a553ab724754d16a47c5e023e26a2d1918c", kill_on_drop: false }` [INFO] [stdout] 1aa2364ca38d46e2a7b3e7c7a4458a553ab724754d16a47c5e023e26a2d1918c [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6db49905fcff86e44df7db4878fcae6367d9ad3cb74e96adefac397aff36f7f [INFO] running `Command { std: "docker" "start" "-a" "c6db49905fcff86e44df7db4878fcae6367d9ad3cb74e96adefac397aff36f7f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.19 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking dylib v0.0.1 [INFO] [stderr] Checking x11-dl v2.2.1 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Compiling minifb v0.9.0 [INFO] [stderr] Checking gbmu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | 0x4000 ... 0x7FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | 0x8000 ... 0x9FFF => return self.gpu.rb(addr & 0x1FFF), [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/z80/mmu.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 0xA000 ... 0xBFFF => return self.eram[(addr & 0x1FFF) 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/z80/mmu.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | 0xC000 ... 0xDFFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | 0xE000 ... 0xFDFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 0xFE00 ... 0xFE9F => return self.gpu.roam((addr & 0xFF) as u8), [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/z80/mmu.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | 0xFEA0 ... 0xFEFF => return 0, [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/z80/mmu.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | 0xFF02 ... 0xFF7F => return self.gpu.rb(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/z80/mmu.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFF80 ... 0xFFFE => return self.hram[(addr & 0x7F) 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/z80/mmu.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | 0x4000 ... 0x7FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | 0x8000 ... 0x9FFF => self.gpu.wb(addr & 0x1FFF, 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/z80/mmu.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | 0xA000 ... 0xBFFF => self.eram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | 0xC000 ... 0xDFFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | 0xE000 ... 0xFDFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 0xFE00 ... 0xFE9F => self.gpu.woam((addr & 0xFF) as u8, 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/z80/mmu.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | 0xFEA0 ... 0xFEFF => (), [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/z80/mmu.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | 0xFF10 ... 0xFF3F => (), [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/z80/mmu.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | 0xFF40 ... 0xFF7F => self.gpu.wb(addr, 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/z80/mmu.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | 0xFF80 ... 0xFFFE => self.hram[(addr & 0x7F) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | 0x0000 ... 0x17FF => return self.tiles[(addr / 16) as usize][(addr % 16) 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/z80/gpu.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | 0x1800 ... 0x2000 => { [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/z80/gpu.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | 0x0000 ... 0x17FF => self.tiles[(addr / 16) as usize][(addr % 16) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | 0x1800 ... 0x1FFF => { [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/z80/mmu.rs:180:75 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | 0x4000 ... 0x7FFF => return self.rom[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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | 0x8000 ... 0x9FFF => return self.gpu.rb(addr & 0x1FFF), [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/z80/mmu.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | 0xA000 ... 0xBFFF => return self.eram[(addr & 0x1FFF) 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/z80/mmu.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | 0xC000 ... 0xDFFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | 0xE000 ... 0xFDFF => return self.wram[(addr & 0x1FFF) 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/z80/mmu.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | 0xFE00 ... 0xFE9F => return self.gpu.roam((addr & 0xFF) as u8), [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/z80/mmu.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | 0xFEA0 ... 0xFEFF => return 0, [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/z80/mmu.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | 0xFF02 ... 0xFF7F => return self.gpu.rb(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/z80/mmu.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 122 | 0xFF80 ... 0xFFFE => return self.hram[(addr & 0x7F) 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/z80/mmu.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [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/z80/mmu.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | 0x4000 ... 0x7FFF => self.rom[addr 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | 0x8000 ... 0x9FFF => self.gpu.wb(addr & 0x1FFF, 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/z80/mmu.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | 0xA000 ... 0xBFFF => self.eram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | 0xC000 ... 0xDFFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | 0xE000 ... 0xFDFF => self.wram[(addr & 0x1FFF) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/mmu.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | 0xFE00 ... 0xFE9F => self.gpu.woam((addr & 0xFF) as u8, 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/z80/mmu.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | 0xFEA0 ... 0xFEFF => (), [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/z80/mmu.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | 0xFF10 ... 0xFF3F => (), [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/z80/mmu.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | 0xFF40 ... 0xFF7F => self.gpu.wb(addr, 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/z80/mmu.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | 0xFF80 ... 0xFFFE => self.hram[(addr & 0x7F) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | 0x0000 ... 0x17FF => return self.tiles[(addr / 16) as usize][(addr % 16) 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/z80/gpu.rs:286:20 [INFO] [stdout] | [INFO] [stdout] 286 | 0x1800 ... 0x2000 => { [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/z80/gpu.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | 0x0000 ... 0x17FF => self.tiles[(addr / 16) as usize][(addr % 16) 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: `...` range patterns are deprecated [INFO] [stdout] --> src/z80/gpu.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | 0x1800 ... 0x1FFF => { [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/z80/mmu.rs:180:75 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | pub fn load(&mut self, filename: path::PathBuf) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[addr as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/z80/mmu.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => return 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr as usize] = val, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/z80/gpu.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | for y in 0 .. size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | ... Err(err) => println!("Invalid Number: {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let result = z80.mmu.load(rom_path); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = core.mmu.load(path::PathBuf::from(&args[1])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backup_r` is never read [INFO] [stdout] --> src/z80/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Z80 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub backup_r: registers::Z80Registers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `backup_registers`, `restore_registers`, and `debug_print_stack` are never used [INFO] [stdout] --> src/z80/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Z80 { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 51 | pub fn backup_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn restore_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn debug_print_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_subtract` and `get_half_carry` are never used [INFO] [stdout] --> src/z80/registers.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Z80Registers { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_subtract(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_half_carry(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/z80/gpu.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct GPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | panic!("Stack Underflow".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 10 | panic!("{}", "Stack Underflow".to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 - panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] 282 + panic!("Unimplemented op 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 286 - panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] 286 + panic!("Unimplemented op 0xCB 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 86 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 94 | 0x00FF ... 0x3FFF => return self.rom[addr as usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/z80/mmu.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | _ => return 0, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/z80/mmu.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000 ... 0x00FF => { [INFO] [stdout] | ----------------- this range overlaps on `255_u16`... [INFO] [stdout] ... [INFO] [stdout] 146 | 0x00FF ... 0x3FFF => self.rom[addr as usize] = val, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/z80/gpu.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | for y in 0 .. size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | ... Err(err) => println!("Invalid breakpoint {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/debugger/simple_debug.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | ... Err(err) => println!("Invalid Number: {}", split[point]), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let result = z80.mmu.load(rom_path); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let result = core.mmu.load(path::PathBuf::from(&args[1])); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backup_r` is never read [INFO] [stdout] --> src/z80/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Z80 { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub backup_r: registers::Z80Registers, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `backup_registers`, `restore_registers`, and `debug_print_stack` are never used [INFO] [stdout] --> src/z80/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Z80 { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 51 | pub fn backup_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn restore_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn debug_print_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_subtract` and `get_half_carry` are never used [INFO] [stdout] --> src/z80/registers.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Z80Registers { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_subtract(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_half_carry(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/z80/gpu.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct GPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | panic!("Stack Underflow".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 10 | panic!("{}", "Stack Underflow".to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 282 - panic!(format!("Unimplemented op 0x{:X}", op)) [INFO] [stdout] 282 + panic!("Unimplemented op 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/z80/ops/misc.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 286 - panic!(format!("Unimplemented op 0xCB 0x{:X}", op)) [INFO] [stdout] 286 + panic!("Unimplemented op 0xCB 0x{:X}", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "c6db49905fcff86e44df7db4878fcae6367d9ad3cb74e96adefac397aff36f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6db49905fcff86e44df7db4878fcae6367d9ad3cb74e96adefac397aff36f7f", kill_on_drop: false }` [INFO] [stdout] c6db49905fcff86e44df7db4878fcae6367d9ad3cb74e96adefac397aff36f7f