[INFO] cloning repository https://github.com/mattbettcher/res [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattbettcher/res" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbettcher%2Fres", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbettcher%2Fres'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0573d722abd5557271d94a18995a4d973470c6b [INFO] checking mattbettcher/res against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbettcher%2Fres" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattbettcher/res on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattbettcher/res [INFO] finished tweaking git repo https://github.com/mattbettcher/res [INFO] tweaked toml for git repo https://github.com/mattbettcher/res written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mattbettcher/res 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.10.3 [INFO] [stderr] Downloaded bitfield v0.12.0 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aeeb2072f1bb17298cb84b54547faec3b763acc47649f2d59ff1b6a1030897f [INFO] running `Command { std: "docker" "start" "-a" "1aeeb2072f1bb17298cb84b54547faec3b763acc47649f2d59ff1b6a1030897f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aeeb2072f1bb17298cb84b54547faec3b763acc47649f2d59ff1b6a1030897f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aeeb2072f1bb17298cb84b54547faec3b763acc47649f2d59ff1b6a1030897f", kill_on_drop: false }` [INFO] [stdout] 1aeeb2072f1bb17298cb84b54547faec3b763acc47649f2d59ff1b6a1030897f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73b536b0da6e1c4e0a6773300e6a18604804185015d5d41df8d24a60e8ebd459 [INFO] running `Command { std: "docker" "start" "-a" "73b536b0da6e1c4e0a6773300e6a18604804185015d5d41df8d24a60e8ebd459", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking bitfield v0.12.0 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Checking res v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | 0x0000 ... 0x1fff => self.ram[a % 0x0800], // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/mem.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | 0x0000 ... 0x1fff => self.ram[a % 0x0800], // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/mem.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4018 ... 0xffff => self.mapper.read_byte(a as u16), // prg rom [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4018 ... 0xffff => self.mapper.read_byte(a as u16), // prg rom [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 0x2000 ... 0x3fff => self.ppu.read_reg(a % 8), // ppu registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 0x2000 ... 0x3fff => self.ppu.read_reg(a % 8), // ppu registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x4016 ... 0x4017 => 0, // joypad i/o NOTE: not implented yet!!!! [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x4016 ... 0x4017 => 0, // joypad i/o NOTE: not implented yet!!!! [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000 ... 0x1fff => self.ram[a % 0x0800] = v, // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | 0x2000 ... 0x3fff => self.ppu.write_reg(a % 8, v), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000 ... 0x1fff => self.ram[a % 0x0800] = v, // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmc/nrom.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x0000 ... 0x1FFF => return self.chr_rom[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/mem.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | 0x2000 ... 0x3fff => self.ppu.write_reg(a % 8, v), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmc/nrom.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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/mmc/nrom.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x0000 ... 0x1FFF => return self.chr_rom[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/mmc/nrom.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x8000 ... 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/mmc/nrom.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | 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/mmc/nrom.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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/mmc/nrom.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x8000 ... 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/mmc/nrom.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub mapper: 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] 9 | pub mapper: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub mapper: 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] 9 | pub mapper: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nes.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(m: Box) -> Self { [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] 13 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(m: Box) -> Self { [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] 14 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nes.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(m: Box) -> Self { [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] 13 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(m: Box) -> Self { [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] 14 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn step(&mut self, _mapper: &mut Mapper, cycles: usize) -> 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] 144 | pub fn step(&mut self, _mapper: &mut dyn Mapper, cycles: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> 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] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn step(&mut self, _mapper: &mut Mapper, cycles: usize) -> 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] 144 | pub fn step(&mut self, _mapper: &mut dyn Mapper, cycles: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> 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] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mapper: Box = match header.mapper_number { [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] 108 | let mapper: Box = match header.mapper_number { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mapper: Box = match header.mapper_number { [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] 108 | let mapper: Box = match header.mapper_number { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | Err(why) => panic!("Couldn't open {}: {}", file_path, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | Err(why) => panic!("Couldn't read data: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | Err(why) => panic!("Couldn't open {}: {}", file_path, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | Err(why) => panic!("Couldn't read data: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 306 | ... 0x00 => P65::op_nil, 0x01 => P65::op_ora, 0x02 => P65::op_unk, 0x03 => P65::op_unk, 0x04 => P65::op_unk, 0x05 => P65::op_ora, 0x06 ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 322 | ... _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 306 | ... 0x00 => P65::op_nil, 0x01 => P65::op_ora, 0x02 => P65::op_unk, 0x03 => P65::op_unk, 0x04 => P65::op_unk, 0x05 => P65::op_ora, 0x06 ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 322 | ... _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | _ => { P65::ad_unk } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 763 | ... 0x00 => { P65::brk_imp },0x01 => { P65::a2_ix} ,0x02 => { P65::ad_unk } ,0x03 => { P65::ad_unk },0x04 => { P65::ad_unk },0x05 => { ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 779 | ... _ => { P65::ad_unk } [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | _ => { P65::ad_unk } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 763 | ... 0x00 => { P65::brk_imp },0x01 => { P65::a2_ix} ,0x02 => { P65::ad_unk } ,0x03 => { P65::ad_unk },0x04 => { P65::ad_unk },0x05 => { ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 779 | ... _ => { P65::ad_unk } [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "73b536b0da6e1c4e0a6773300e6a18604804185015d5d41df8d24a60e8ebd459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b536b0da6e1c4e0a6773300e6a18604804185015d5d41df8d24a60e8ebd459", kill_on_drop: false }` [INFO] [stdout] 73b536b0da6e1c4e0a6773300e6a18604804185015d5d41df8d24a60e8ebd459 [INFO] checking mattbettcher/res against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbettcher%2Fres" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattbettcher/res on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattbettcher/res [INFO] finished tweaking git repo https://github.com/mattbettcher/res [INFO] tweaked toml for git repo https://github.com/mattbettcher/res written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mattbettcher/res 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 439973b3c2b0a8edadf8bd8bd68295603734636500e15f9891ea012cbc73f065 [INFO] running `Command { std: "docker" "start" "-a" "439973b3c2b0a8edadf8bd8bd68295603734636500e15f9891ea012cbc73f065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "439973b3c2b0a8edadf8bd8bd68295603734636500e15f9891ea012cbc73f065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439973b3c2b0a8edadf8bd8bd68295603734636500e15f9891ea012cbc73f065", kill_on_drop: false }` [INFO] [stdout] 439973b3c2b0a8edadf8bd8bd68295603734636500e15f9891ea012cbc73f065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51964110e24a658134c3d06169817e3687ed77eef3e1ede9c8789dc144295359 [INFO] running `Command { std: "docker" "start" "-a" "51964110e24a658134c3d06169817e3687ed77eef3e1ede9c8789dc144295359", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking bitfield v0.12.0 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Compiling minifb v0.10.3 [INFO] [stderr] Checking res v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | 0x0000 ... 0x1fff => self.ram[a % 0x0800], // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/mem.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4018 ... 0xffff => self.mapper.read_byte(a as u16), // prg rom [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 0x2000 ... 0x3fff => self.ppu.read_reg(a % 8), // ppu registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | 0x0000 ... 0x1fff => self.ram[a % 0x0800], // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/mem.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x4016 ... 0x4017 => 0, // joypad i/o NOTE: not implented yet!!!! [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000 ... 0x1fff => self.ram[a % 0x0800] = v, // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | 0x4018 ... 0xffff => self.mapper.read_byte(a as u16), // prg rom [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | 0x2000 ... 0x3fff => self.ppu.write_reg(a % 8, v), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 0x2000 ... 0x3fff => self.ppu.read_reg(a % 8), // ppu registers [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmc/nrom.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x0000 ... 0x1FFF => return self.chr_rom[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/mem.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x4016 ... 0x4017 => 0, // joypad i/o NOTE: not implented yet!!!! [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mem.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x0000 ... 0x1fff => self.ram[a % 0x0800] = v, // work ram mirrored [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmc/nrom.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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/mem.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | 0x2000 ... 0x3fff => self.ppu.write_reg(a % 8, v), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mmc/nrom.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x8000 ... 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/mmc/nrom.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0x0000 ... 0x1FFF => return self.chr_rom[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/mmc/nrom.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | 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/mmc/nrom.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 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/mmc/nrom.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | 0x8000 ... 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/mmc/nrom.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub mapper: 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] 9 | pub mapper: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | pub mapper: 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] 9 | pub mapper: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nes.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(m: Box) -> Self { [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] 13 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nes.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(m: Box) -> Self { [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] 13 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(m: Box) -> Self { [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] 14 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(m: Box) -> Self { [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] 14 | pub fn new(m: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn step(&mut self, _mapper: &mut Mapper, cycles: usize) -> 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] 144 | pub fn step(&mut self, _mapper: &mut dyn Mapper, cycles: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn step(&mut self, _mapper: &mut Mapper, cycles: usize) -> 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] 144 | pub fn step(&mut self, _mapper: &mut dyn Mapper, cycles: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> 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] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> 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] 88 | pub fn load_from_cartridge(nes_header: NesHeader, cartridge: &Vec) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mapper: Box = match header.mapper_number { [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] 108 | let mapper: Box = match header.mapper_number { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cart.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mapper: Box = match header.mapper_number { [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] 108 | let mapper: Box = match header.mapper_number { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | Err(why) => panic!("Couldn't open {}: {}", file_path, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | Err(why) => panic!("Couldn't read data: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | Err(why) => panic!("Couldn't open {}: {}", file_path, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | Err(why) => panic!("Couldn't read data: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 306 | ... 0x00 => P65::op_nil, 0x01 => P65::op_ora, 0x02 => P65::op_unk, 0x03 => P65::op_unk, 0x04 => P65::op_unk, 0x05 => P65::op_ora, 0x06 ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 322 | ... _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 306 | ... 0x00 => P65::op_nil, 0x01 => P65::op_ora, 0x02 => P65::op_unk, 0x03 => P65::op_unk, 0x04 => P65::op_unk, 0x05 => P65::op_ora, 0x06 ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 322 | ... _ => P65::op_unk, /* silly silly, op is a u8 */ [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | _ => { P65::ad_unk } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 763 | ... 0x00 => { P65::brk_imp },0x01 => { P65::a2_ix} ,0x02 => { P65::ad_unk } ,0x03 => { P65::ad_unk },0x04 => { P65::ad_unk },0x05 => { ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 779 | ... _ => { P65::ad_unk } [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | _ => { P65::ad_unk } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 763 | ... 0x00 => { P65::brk_imp },0x01 => { P65::a2_ix} ,0x02 => { P65::ad_unk } ,0x03 => { P65::ad_unk },0x04 => { P65::ad_unk },0x05 => { ... [INFO] [stdout] | ---- ---- ---- ---- matches some of the same values [INFO] [stdout] | | | | [INFO] [stdout] | | | matches some of the same values [INFO] [stdout] | | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 779 | ... _ => { P65::ad_unk } [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut file = match File::open(file_path) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Err(why) => panic!("Couldn't open {}: {}", file_path, why.description()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | match file.read_to_end(&mut cartridge) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(m: Box) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | mem: MemMap::new(m), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut file = match File::open(file_path) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | Err(why) => panic!("Couldn't open {}: {}", file_path, why.description()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | match file.read_to_end(&mut cartridge) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nes.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(m: Box) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | mem: MemMap::new(m), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `res` (bin "res") due to 3 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `res` (bin "res" test) due to 3 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "51964110e24a658134c3d06169817e3687ed77eef3e1ede9c8789dc144295359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51964110e24a658134c3d06169817e3687ed77eef3e1ede9c8789dc144295359", kill_on_drop: false }` [INFO] [stdout] 51964110e24a658134c3d06169817e3687ed77eef3e1ede9c8789dc144295359