[INFO] cloning repository https://github.com/mehcode/lintel-nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mehcode/lintel-nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehcode%2Flintel-nes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehcode%2Flintel-nes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbc2385fdf8ebd3a6a31bbd8f7dd044b307f6dd3 [INFO] checking mehcode/lintel-nes against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehcode%2Flintel-nes" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mehcode/lintel-nes on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mehcode/lintel-nes [INFO] finished tweaking git repo https://github.com/mehcode/lintel-nes [INFO] tweaked toml for git repo https://github.com/mehcode/lintel-nes written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mehcode/lintel-nes 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strfmt v0.1.5 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded sdl2 v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a61e5710a83db7c103a88e6f932d1bf884c626bcbf375e944fe07dfdc3c95806 [INFO] running `Command { std: "docker" "start" "-a" "a61e5710a83db7c103a88e6f932d1bf884c626bcbf375e944fe07dfdc3c95806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a61e5710a83db7c103a88e6f932d1bf884c626bcbf375e944fe07dfdc3c95806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61e5710a83db7c103a88e6f932d1bf884c626bcbf375e944fe07dfdc3c95806", kill_on_drop: false }` [INFO] [stdout] a61e5710a83db7c103a88e6f932d1bf884c626bcbf375e944fe07dfdc3c95806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d051c909ffe2b14aad70beb16c96b0b83b019c919a1fc4cbcb7eb8f423db38f [INFO] running `Command { std: "docker" "start" "-a" "7d051c909ffe2b14aad70beb16c96b0b83b019c919a1fc4cbcb7eb8f423db38f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking strfmt v0.1.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking sdl2 v0.27.2 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking lintel_nes v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/controller.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | 0x0000...0x1FFF => ram[(address & 0x07FF) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/controller.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | 0x6000...0x7FFF => cartridge.prg_ram[(address - 0x6000) 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/controller.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | 0x8000...0xBFFF => cartridge.prg_rom[(address - 0x8000) 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/controller.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0xC000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | 0x0000...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/controller.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000...0x1FFF => cartridge.chr[address 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/controller.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | 0x2000...0x3EFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | 0x000...0x3FF => ram[address], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | 0x400...0x7FF => ram[address - 0x400], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | 0x800...0xBFF => ram[address - 0x400], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | 0xC00...0xFFF => ram[address - 0x800], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 155 | 0x000...0x3FF => ram[address], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | 0x400...0x7FF => ram[address], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | 0x800...0xBFF => ram[address - 0x800], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | 0xC00...0xFFF => ram[address - 0x800], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 0x3F00...0x3F1F => palette[((address as usize) - 0x3F00) & 0x1F], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | 0x0000...0x1FFF if cartridge.chr_mutable => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 0x2000...0x3EFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | 0x000...0x3FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | 0x400...0x7FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | 0x800...0xBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | 0xC00...0xFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | 0x000...0x3FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | 0x400...0x7FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | 0x800...0xBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | 0xC00...0xFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | 0x3F00...0x3F1F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | 0x2000...0x3FFF => self.ppu.read(&mut self.mmu, address), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | 0x4000...0x4013 | 0x4015 => self.apu.read(address), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | 0x2000...0x3FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | 0x4000...0x4013 | 0x4015 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `strfmt` is imported redundantly [INFO] [stdout] --> src/cpu/operation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use strfmt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate strfmt; [INFO] [stdout] | -------------------- the item `strfmt` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/cpu/table.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/controller.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | 0x0000...0x1FFF => ram[(address & 0x07FF) as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/controller.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | 0x6000...0x7FFF => cartridge.prg_ram[(address - 0x6000) 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/controller.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | 0x8000...0xBFFF => cartridge.prg_rom[(address - 0x8000) 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/controller.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | 0xC000...0xFFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | 0x0000...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/controller.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | 0x6000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | 0x0000...0x1FFF => cartridge.chr[address 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/controller.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | 0x2000...0x3EFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | 0x000...0x3FF => ram[address], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | 0x400...0x7FF => ram[address - 0x400], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | 0x800...0xBFF => ram[address - 0x400], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | 0xC00...0xFFF => ram[address - 0x800], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 155 | 0x000...0x3FF => ram[address], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | 0x400...0x7FF => ram[address], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | 0x800...0xBFF => ram[address - 0x800], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | 0xC00...0xFFF => ram[address - 0x800], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 0x3F00...0x3F1F => palette[((address as usize) - 0x3F00) & 0x1F], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | 0x0000...0x1FFF if cartridge.chr_mutable => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | 0x2000...0x3EFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | 0x000...0x3FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | 0x400...0x7FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | 0x800...0xBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | 0xC00...0xFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | 0x000...0x3FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | 0x400...0x7FF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | 0x800...0xBFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | 0xC00...0xFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/controller.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | 0x3F00...0x3F1F => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | 0x2000...0x3FFF => self.ppu.read(&mut self.mmu, address), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | 0x4000...0x4013 | 0x4015 => self.apu.read(address), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/bus.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | 0x2000...0x3FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / bitflags!( [INFO] [stdout] 12 | | #[derive(Default)] [INFO] [stdout] 13 | | pub flags Flags: u8 { [INFO] [stdout] 14 | | const CARRY = 0b_0000_0001, // C [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bus.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | 0x4000...0x4013 | 0x4015 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / bitflags!( [INFO] [stdout] 12 | | #[derive(Default)] [INFO] [stdout] 13 | | pub flags Flags: u8 { [INFO] [stdout] 14 | | const CARRY = 0b_0000_0001, // C [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/apu.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | 0x4015 => (if self.ch1_length > 0 { 1 } else { 0 }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - 0x4015 => (if self.ch1_length > 0 { 1 } else { 0 }), [INFO] [stdout] 32 + 0x4015 => if self.ch1_length > 0 { 1 } else { 0 }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/cartridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `strfmt` is imported redundantly [INFO] [stdout] --> src/cpu/operation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use strfmt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate strfmt; [INFO] [stdout] | -------------------- the item `strfmt` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/cpu/table.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / bitflags!( [INFO] [stdout] 12 | | #[derive(Default)] [INFO] [stdout] 13 | | pub flags Flags: u8 { [INFO] [stdout] 14 | | const CARRY = 0b_0000_0001, // C [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_cartridge(cartridge: &Cartridge) -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_cartridge(cartridge: &Cartridge) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cpu/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / bitflags!( [INFO] [stdout] 12 | | #[derive(Default)] [INFO] [stdout] 13 | | pub flags Flags: u8 { [INFO] [stdout] 14 | | const CARRY = 0b_0000_0001, // C [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ppu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmu.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | controller: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | controller: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/apu.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | 0x4015 => (if self.ch1_length > 0 { 1 } else { 0 }), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - 0x4015 => (if self.ch1_length > 0 { 1 } else { 0 }), [INFO] [stdout] 32 + 0x4015 => if self.ch1_length > 0 { 1 } else { 0 }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/cartridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | on_refresh: Option ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | on_refresh: Option ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controller.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_cartridge(cartridge: &Cartridge) -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_cartridge(cartridge: &Cartridge) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mmu.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | controller: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | controller: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | on_refresh: Option ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | on_refresh: Option ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn set_on_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | pub fn set_on_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:252:43 [INFO] [stdout] | [INFO] [stdout] 252 | fn fetch_nametable(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 252 | fn fetch_nametable(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:257:43 [INFO] [stdout] | [INFO] [stdout] 257 | fn fetch_attribute(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 | fn fetch_attribute(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:277:41 [INFO] [stdout] | [INFO] [stdout] 277 | fn fetch_tile_lo(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 277 | fn fetch_tile_lo(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:300:41 [INFO] [stdout] | [INFO] [stdout] 300 | fn fetch_tile_hi(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 | fn fetch_tile_hi(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:365:40 [INFO] [stdout] | [INFO] [stdout] 365 | fn render_pixel(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 365 | fn render_pixel(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn step(&mut self, c: &mut Controller, nmi_occurred: &mut bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | pub fn step(&mut self, c: &mut dyn Controller, nmi_occurred: &mut bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:510:36 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn read(&mut self, _: &mut Controller, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 510 | pub fn read(&mut self, _: &mut dyn Controller, address: u16) -> u8 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:542:37 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn write(&mut self, c: &mut Controller, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 542 | pub fn write(&mut self, c: &mut dyn Controller, address: u16, value: u8) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn set_on_video_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn set_on_video_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:208:52 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn set_on_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 208 | pub fn set_on_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:252:43 [INFO] [stdout] | [INFO] [stdout] 252 | fn fetch_nametable(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 252 | fn fetch_nametable(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:257:43 [INFO] [stdout] | [INFO] [stdout] 257 | fn fetch_attribute(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 | fn fetch_attribute(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:277:41 [INFO] [stdout] | [INFO] [stdout] 277 | fn fetch_tile_lo(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 277 | fn fetch_tile_lo(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:300:41 [INFO] [stdout] | [INFO] [stdout] 300 | fn fetch_tile_hi(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 | fn fetch_tile_hi(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:365:40 [INFO] [stdout] | [INFO] [stdout] 365 | fn render_pixel(&mut self, c: &mut Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 365 | fn render_pixel(&mut self, c: &mut dyn Controller) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn step(&mut self, c: &mut Controller, nmi_occurred: &mut bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | pub fn step(&mut self, c: &mut dyn Controller, nmi_occurred: &mut bool) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:510:36 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn read(&mut self, _: &mut Controller, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 510 | pub fn read(&mut self, _: &mut dyn Controller, address: u16) -> u8 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:542:37 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn write(&mut self, c: &mut Controller, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 542 | pub fn write(&mut self, c: &mut dyn Controller, address: u16, value: u8) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/machine.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn set_on_video_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn set_on_video_refresh(&mut self, callback: Box ()>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:407:50 [INFO] [stdout] | [INFO] [stdout] 407 | if self.line <= 239 && (1..257).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 407 | if self.line <= 239 && (1..257).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:407:50 [INFO] [stdout] | [INFO] [stdout] 407 | if self.line <= 239 && (1..257).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 407 | if self.line <= 239 && (1..257).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:416:38 [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(self.dots) || (322..338).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(&self.dots) || (322..338).contains(self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:416:72 [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(self.dots) || (322..338).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(self.dots) || (322..338).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:416:38 [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(self.dots) || (322..338).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(&self.dots) || (322..338).contains(self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:421:38 [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(self.dots) || (321..337).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(&self.dots) || (321..337).contains(self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:416:72 [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(self.dots) || (322..338).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 416 | if (2..258).contains(self.dots) || (322..338).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:421:72 [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(self.dots) || (321..337).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(self.dots) || (321..337).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:421:38 [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(self.dots) || (321..337).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(&self.dots) || (321..337).contains(self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:421:72 [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(self.dots) || (321..337).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 421 | if (1..257).contains(self.dots) || (321..337).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:457:56 [INFO] [stdout] | [INFO] [stdout] 457 | if self.line == 261 && (280..305).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 457 | if self.line == 261 && (280..305).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ppu.rs:457:56 [INFO] [stdout] | [INFO] [stdout] 457 | if self.line == 261 && (280..305).contains(self.dots) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `&_`, found `u16` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u16` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 457 | if self.line == 261 && (280..305).contains(&self.dots) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/apu.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn write(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/apu.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn write(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lintel_nes` (bin "lintel_nes") due to 7 previous errors; 54 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lintel_nes` (bin "lintel_nes" test) due to 7 previous errors; 54 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d051c909ffe2b14aad70beb16c96b0b83b019c919a1fc4cbcb7eb8f423db38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d051c909ffe2b14aad70beb16c96b0b83b019c919a1fc4cbcb7eb8f423db38f", kill_on_drop: false }` [INFO] [stdout] 7d051c909ffe2b14aad70beb16c96b0b83b019c919a1fc4cbcb7eb8f423db38f [INFO] checking mehcode/lintel-nes against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmehcode%2Flintel-nes" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mehcode/lintel-nes on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mehcode/lintel-nes [INFO] finished tweaking git repo https://github.com/mehcode/lintel-nes [INFO] tweaked toml for git repo https://github.com/mehcode/lintel-nes written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mehcode/lintel-nes 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 596c03e5a75b7dd792527e86683b83dfb8ca6a9e6d78792b33ef4eb8af4202b3 [INFO] running `Command { std: "docker" "start" "-a" "596c03e5a75b7dd792527e86683b83dfb8ca6a9e6d78792b33ef4eb8af4202b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "596c03e5a75b7dd792527e86683b83dfb8ca6a9e6d78792b33ef4eb8af4202b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "596c03e5a75b7dd792527e86683b83dfb8ca6a9e6d78792b33ef4eb8af4202b3", kill_on_drop: false }` [INFO] [stdout] 596c03e5a75b7dd792527e86683b83dfb8ca6a9e6d78792b33ef4eb8af4202b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccf3aee409842fe720fe87bb9824efba6de4e7b8538ee0374cdda266ef08a9aa [INFO] running `Command { std: "docker" "start" "-a" "ccf3aee409842fe720fe87bb9824efba6de4e7b8538ee0374cdda266ef08a9aa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "ccf3aee409842fe720fe87bb9824efba6de4e7b8538ee0374cdda266ef08a9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf3aee409842fe720fe87bb9824efba6de4e7b8538ee0374cdda266ef08a9aa", kill_on_drop: false }` [INFO] [stdout] ccf3aee409842fe720fe87bb9824efba6de4e7b8538ee0374cdda266ef08a9aa