[INFO] cloning repository https://github.com/pcwalton/sprocketnes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcwalton/sprocketnes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcwalton%2Fsprocketnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcwalton%2Fsprocketnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 163e5da03c6c1db2f78898a001f13d4dd739f0ff [INFO] testing pcwalton/sprocketnes against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcwalton%2Fsprocketnes" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pcwalton/sprocketnes on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pcwalton/sprocketnes [INFO] finished tweaking git repo https://github.com/pcwalton/sprocketnes [INFO] tweaked toml for git repo https://github.com/pcwalton/sprocketnes written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/pcwalton/sprocketnes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60cbf588e44f041e470b818541a12e15c6b549c9f274c38357bbbc1d3a73cbf5 [INFO] running `Command { std: "docker" "start" "-a" "60cbf588e44f041e470b818541a12e15c6b549c9f274c38357bbbc1d3a73cbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60cbf588e44f041e470b818541a12e15c6b549c9f274c38357bbbc1d3a73cbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60cbf588e44f041e470b818541a12e15c6b549c9f274c38357bbbc1d3a73cbf5", kill_on_drop: false }` [INFO] [stdout] 60cbf588e44f041e470b818541a12e15c6b549c9f274c38357bbbc1d3a73cbf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e0a7a3133aec72f7b4bff9fcd31735eb00e89ec5744c397bdbb87ba6a2b6f96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e0a7a3133aec72f7b4bff9fcd31735eb00e89ec5744c397bdbb87ba6a2b6f96", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.32.1 [INFO] [stderr] Compiling sprocketnes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let count = try!(rd.read(&mut buf[total..])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/apu.rs:471:19 [INFO] [stdout] | [INFO] [stdout] 471 | 0x4000...0x4003 => self.update_pulse(addr, val, 0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/apu.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | 0x4004...0x4007 => self.update_pulse(addr, val, 1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/apu.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | 0x4008...0x400b => self.regs.triangle.storeb(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/apu.rs:474:19 [INFO] [stdout] | [INFO] [stdout] 474 | 0x400c...0x400f => self.update_noise(addr, val), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:347:22 [INFO] [stdout] | [INFO] [stdout] 347 | 0...1 => self.chr_banks_2k[bank_update_select] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 348 | 2...5 => self.chr_banks_1k[bank_update_select - 2] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | 6...7 => self.prg_banks[bank_update_select - 6] = val, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | (0x0000...0x07ff, false) | (0x1000...0x17ff, true) => (self.chr_banks_2k[0], true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:371:47 [INFO] [stdout] | [INFO] [stdout] 371 | (0x0000...0x07ff, false) | (0x1000...0x17ff, true) => (self.chr_banks_2k[0], true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:372:20 [INFO] [stdout] | [INFO] [stdout] 372 | (0x0800...0x0fff, false) | (0x1800...0x1fff, true) => (self.chr_banks_2k[1], true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:372:47 [INFO] [stdout] | [INFO] [stdout] 372 | (0x0800...0x0fff, false) | (0x1800...0x1fff, true) => (self.chr_banks_2k[1], true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | (0x1000...0x13ff, false) | (0x0000...0x03ff, true) => (self.chr_banks_1k[0], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:373:47 [INFO] [stdout] | [INFO] [stdout] 373 | (0x1000...0x13ff, false) | (0x0000...0x03ff, true) => (self.chr_banks_1k[0], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | (0x1400...0x17ff, false) | (0x0400...0x07ff, true) => (self.chr_banks_1k[1], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:374:47 [INFO] [stdout] | [INFO] [stdout] 374 | (0x1400...0x17ff, false) | (0x0400...0x07ff, true) => (self.chr_banks_1k[1], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:375:20 [INFO] [stdout] | [INFO] [stdout] 375 | (0x1800...0x1bff, false) | (0x0800...0x0bff, true) => (self.chr_banks_1k[2], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:375:47 [INFO] [stdout] | [INFO] [stdout] 375 | (0x1800...0x1bff, false) | (0x0800...0x0bff, true) => (self.chr_banks_1k[2], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:376:20 [INFO] [stdout] | [INFO] [stdout] 376 | (0x1c00...0x1fff, false) | (0x0c00...0x0fff, true) => (self.chr_banks_1k[3], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper.rs:376:47 [INFO] [stdout] | [INFO] [stdout] 376 | (0x1c00...0x1fff, false) | (0x0c00...0x0fff, true) => (self.chr_banks_1k[3], false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (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/rom.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(util::read_to_buf(&mut header, r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(util::read_to_buf(&mut prg_rom, r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(util::read_to_buf(&mut chr_rom, r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_to_buf(buf: &mut [u8], rd: &mut Read) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn read_to_buf(buf: &mut [u8], rd: &mut Read) -> io::Result<()> { [INFO] [stdout] 9 + pub fn read_to_buf(buf: &mut [u8], rd: &mut dyn Read) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | pub mapper: Rc>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub mapper: Rc>>, [INFO] [stdout] 88 + pub mapper: Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | pub mapper: Rc>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 267 - pub mapper: Rc>>, [INFO] [stdout] 267 + pub mapper: Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapper.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn create_mapper(rom: Box) -> 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn create_mapper(rom: Box) -> Box { [INFO] [stdout] 26 + pub fn create_mapper(rom: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mem.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | mapper: Rc>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - mapper: Rc>>, [INFO] [stdout] 96 + mapper: Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ppu.rs:273:39 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn new(mapper: Rc>>) -> Vram { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 - pub fn new(mapper: Rc>>) -> Vram { [INFO] [stdout] 273 + pub fn new(mapper: Rc>>) -> Vram { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn load(r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn load(r: &mut Read) -> Result { [INFO] [stdout] 37 + pub fn load(r: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapper.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | 0 => Box::new(Nrom { rom: rom }) as 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - 0 => Box::new(Nrom { rom: rom }) as Box, [INFO] [stdout] 28 + 0 => Box::new(Nrom { rom: rom }) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapper.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | 1 => Box::new(SxRom::new(rom)) as 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - 1 => Box::new(SxRom::new(rom)) as Box, [INFO] [stdout] 29 + 1 => Box::new(SxRom::new(rom)) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapper.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | 4 => Box::new(TxRom::new(rom)) as 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - 4 => Box::new(TxRom::new(rom)) as Box, [INFO] [stdout] 30 + 4 => Box::new(TxRom::new(rom)) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let mapper: Box = mapper::create_mapper(rom); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let mapper: Box = mapper::create_mapper(rom); [INFO] [stdout] 66 + let mapper: Box = mapper::create_mapper(rom); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.nes.01b45709-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a.3fhdbrpo0e48903m.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libnes-485b8c6740b99711.rlib" "/opt/rustwide/target/debug/deps/libtime-569b4b6fa0fc2917.rlib" "/opt/rustwide/target/debug/deps/libsdl2-2d1f6527c6709f2f.rlib" "/opt/rustwide/target/debug/deps/librand-7c98037a728792be.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-e1e6595c1510a92b.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-beffa440162d02df.rlib" "/opt/rustwide/target/debug/deps/librand_hc-d74d4e92e57bde35.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-fcf3f49da3bad643.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-c53f556b9922bed7.rlib" "/opt/rustwide/target/debug/deps/librand_os-349bc2cccf6df85e.rlib" "/opt/rustwide/target/debug/deps/librand_core-c636a87079c26c83.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-25a10cb84b1e0b16.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libnum-1840110e9126cd74.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-caf135316d1c822e.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f0107a1a3205cd2a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-8c8d8af81d561c3a.rlib" "/opt/rustwide/target/debug/deps/liblibc-1dc5af793c54eb5b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-127689f7eaad1653.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lspeexdsp" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/nes-519ab3836d0d408a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lspeexdsp [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sprocketnes` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7e0a7a3133aec72f7b4bff9fcd31735eb00e89ec5744c397bdbb87ba6a2b6f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0a7a3133aec72f7b4bff9fcd31735eb00e89ec5744c397bdbb87ba6a2b6f96", kill_on_drop: false }` [INFO] [stdout] 7e0a7a3133aec72f7b4bff9fcd31735eb00e89ec5744c397bdbb87ba6a2b6f96