[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] building Matt-Hurd/42-GBmu against master#ee1c3b385b6673b6ef37d80dfabe048e993c2ae2 for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatt-Hurd%2F42-GBmu" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Matt-Hurd/42-GBmu on toolchain ee1c3b385b6673b6ef37d80dfabe048e993c2ae2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "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/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: "/workspace/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [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 winapi v0.2.8 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded gcc v0.3.41 [INFO] [stderr] Downloaded kernel32-sys v0.2.2 [INFO] [stderr] Downloaded time v0.1.35 [INFO] [stderr] Downloaded libc v0.2.19 [INFO] [stderr] Downloaded winapi-build v0.1.1 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded x11-dl v2.2.1 [INFO] [stderr] Downloaded minifb v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cff207e893588db06f9590effb27e49e0b51412552578b9ade80d387079371c5 [INFO] running `Command { std: "docker" "start" "-a" "cff207e893588db06f9590effb27e49e0b51412552578b9ade80d387079371c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cff207e893588db06f9590effb27e49e0b51412552578b9ade80d387079371c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff207e893588db06f9590effb27e49e0b51412552578b9ade80d387079371c5", kill_on_drop: false }` [INFO] [stdout] cff207e893588db06f9590effb27e49e0b51412552578b9ade80d387079371c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fb0bff456894ff62626ede831b3afe0c18e19e8db92ec26e2c2fe800455bce4 [INFO] running `Command { std: "docker" "start" "-a" "3fb0bff456894ff62626ede831b3afe0c18e19e8db92ec26e2c2fe800455bce4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.19 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dylib v0.0.1 [INFO] [stderr] Compiling x11-dl v2.2.1 [INFO] [stderr] Compiling minifb v0.9.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling 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: 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: associated function `backup_registers` is never used [INFO] [stdout] --> src/z80/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn backup_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `restore_registers` is never used [INFO] [stdout] --> src/z80/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn restore_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_print_stack` is never used [INFO] [stdout] --> src/z80/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn debug_print_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_subtract` is never used [INFO] [stdout] --> src/z80/registers.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_subtract(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_half_carry` is never used [INFO] [stdout] --> src/z80/registers.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_half_carry(&mut self) -> u8 { [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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `Command { std: "docker" "inspect" "3fb0bff456894ff62626ede831b3afe0c18e19e8db92ec26e2c2fe800455bce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb0bff456894ff62626ede831b3afe0c18e19e8db92ec26e2c2fe800455bce4", kill_on_drop: false }` [INFO] [stdout] 3fb0bff456894ff62626ede831b3afe0c18e19e8db92ec26e2c2fe800455bce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aceb53cbd522e6b7dc555126cc1587fb2eaefbf04ae8914591607b0358be4837 [INFO] running `Command { std: "docker" "start" "-a" "aceb53cbd522e6b7dc555126cc1587fb2eaefbf04ae8914591607b0358be4837", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: associated function `backup_registers` is never used [INFO] [stdout] --> src/z80/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn backup_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `restore_registers` is never used [INFO] [stdout] --> src/z80/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn restore_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_print_stack` is never used [INFO] [stdout] --> src/z80/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn debug_print_stack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_subtract` is never used [INFO] [stdout] --> src/z80/registers.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_subtract(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_half_carry` is never used [INFO] [stdout] --> src/z80/registers.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_half_carry(&mut self) -> u8 { [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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "aceb53cbd522e6b7dc555126cc1587fb2eaefbf04ae8914591607b0358be4837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aceb53cbd522e6b7dc555126cc1587fb2eaefbf04ae8914591607b0358be4837", kill_on_drop: false }` [INFO] [stdout] aceb53cbd522e6b7dc555126cc1587fb2eaefbf04ae8914591607b0358be4837