[INFO] cloning repository https://github.com/YuraCobain/chip8_emulator_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YuraCobain/chip8_emulator_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuraCobain%2Fchip8_emulator_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuraCobain%2Fchip8_emulator_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a769c7e94e2f8759e0da72e0d3e6d7701a6bdd3 [INFO] testing YuraCobain/chip8_emulator_rust 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%2FYuraCobain%2Fchip8_emulator_rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YuraCobain/chip8_emulator_rust 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/YuraCobain/chip8_emulator_rust [INFO] finished tweaking git repo https://github.com/YuraCobain/chip8_emulator_rust [INFO] tweaked toml for git repo https://github.com/YuraCobain/chip8_emulator_rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/YuraCobain/chip8_emulator_rust 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] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 315325ae1eb5acfa64a4cd05d3976b2caa563df4225b942270dc86b53b71783d [INFO] running `Command { std: "docker" "start" "-a" "315325ae1eb5acfa64a4cd05d3976b2caa563df4225b942270dc86b53b71783d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "315325ae1eb5acfa64a4cd05d3976b2caa563df4225b942270dc86b53b71783d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315325ae1eb5acfa64a4cd05d3976b2caa563df4225b942270dc86b53b71783d", kill_on_drop: false }` [INFO] [stdout] 315325ae1eb5acfa64a4cd05d3976b2caa563df4225b942270dc86b53b71783d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c255f1d05a3bc98ac1419a42223c3335b921edc668e71f188a6842d2540da9 [INFO] running `Command { std: "docker" "start" "-a" "e6c255f1d05a3bc98ac1419a42223c3335b921edc668e71f188a6842d2540da9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.41 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rand_core v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.5.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling chip8_opcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/memory/mod.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | cpu_mem: &'a mut (CpuMemory + 'a), [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] 42 - cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stdout] 42 + cpu_mem: &'a mut (dyn CpuMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | gfx_mem: &'a mut (VideoMemory + 'a), [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] 43 - gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stdout] 43 + gfx_mem: &'a mut (dyn VideoMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [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] 44 - media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] 44 + media_if: &'a mut (dyn MediaIf + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [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] 49 - pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] 49 + pub fn new(cpu_mem: &'a mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [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] 50 - gfx_mem: &'a mut VideoMemory, [INFO] [stdout] 50 + gfx_mem: &'a mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [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] 51 - media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] 51 + media_if: &'a mut dyn MediaIf) -> CPU<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let mut row_bh = self.memory[curr_r][byte_offset] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut row_bl = self.memory[curr_r][(byte_offset + 1)] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/memory/mod.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | cpu_mem: &'a mut (CpuMemory + 'a), [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] 42 - cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stdout] 42 + cpu_mem: &'a mut (dyn CpuMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | gfx_mem: &'a mut (VideoMemory + 'a), [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] 43 - gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stdout] 43 + gfx_mem: &'a mut (dyn VideoMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [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] 44 - media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] 44 + media_if: &'a mut (dyn MediaIf + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [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] 49 - pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] 49 + pub fn new(cpu_mem: &'a mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [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] 50 - gfx_mem: &'a mut VideoMemory, [INFO] [stdout] 50 + gfx_mem: &'a mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [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] 51 - media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] 51 + media_if: &'a mut dyn MediaIf) -> CPU<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [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] 72 - let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [INFO] [stdout] 72 + let mut emulator = CPU::new(&mut mem as &mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 73 | ... &mut display as &mut VideoMemory, [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] 73 - &mut display as &mut VideoMemory, [INFO] [stdout] 73 + &mut display as &mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | ... &mut media_if as &mut MediaIf); [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] 74 - &mut media_if as &mut MediaIf); [INFO] [stdout] 74 + &mut media_if as &mut dyn MediaIf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let mut row_bh = self.memory[curr_r][byte_offset] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut row_bl = self.memory[curr_r][(byte_offset + 1)] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.84s [INFO] running `Command { std: "docker" "inspect" "e6c255f1d05a3bc98ac1419a42223c3335b921edc668e71f188a6842d2540da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c255f1d05a3bc98ac1419a42223c3335b921edc668e71f188a6842d2540da9", kill_on_drop: false }` [INFO] [stdout] e6c255f1d05a3bc98ac1419a42223c3335b921edc668e71f188a6842d2540da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4556106c9f1a0e96c4e780ba9da0b9a11929c34560931b606d96c2ec923674a [INFO] running `Command { std: "docker" "start" "-a" "f4556106c9f1a0e96c4e780ba9da0b9a11929c34560931b606d96c2ec923674a", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/memory/mod.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | cpu_mem: &'a mut (CpuMemory + 'a), [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] 42 - cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stdout] 42 + cpu_mem: &'a mut (dyn CpuMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | gfx_mem: &'a mut (VideoMemory + 'a), [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] 43 - gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stdout] 43 + gfx_mem: &'a mut (dyn VideoMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [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] 44 - media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] 44 + media_if: &'a mut (dyn MediaIf + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [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] 49 - pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] 49 + pub fn new(cpu_mem: &'a mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [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] 50 - gfx_mem: &'a mut VideoMemory, [INFO] [stdout] 50 + gfx_mem: &'a mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [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] 51 - media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] 51 + media_if: &'a mut dyn MediaIf) -> CPU<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let mut row_bh = self.memory[curr_r][byte_offset] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut row_bl = self.memory[curr_r][(byte_offset + 1)] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chip8_opcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/memory/mod.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | cpu_mem: &'a mut (CpuMemory + 'a), [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] 42 - cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stdout] 42 + cpu_mem: &'a mut (dyn CpuMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | gfx_mem: &'a mut (VideoMemory + 'a), [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] 43 - gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stdout] 43 + gfx_mem: &'a mut (dyn VideoMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [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] 44 - media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] 44 + media_if: &'a mut (dyn MediaIf + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [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] 49 - pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] 49 + pub fn new(cpu_mem: &'a mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [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] 50 - gfx_mem: &'a mut VideoMemory, [INFO] [stdout] 50 + gfx_mem: &'a mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [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] 51 - media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] 51 + media_if: &'a mut dyn MediaIf) -> CPU<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/memory/mod.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | cpu_mem: &'a mut (CpuMemory + 'a), [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] 42 - cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stdout] 42 + cpu_mem: &'a mut (dyn CpuMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | gfx_mem: &'a mut (VideoMemory + 'a), [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] 43 - gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stdout] 43 + gfx_mem: &'a mut (dyn VideoMemory + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [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] 44 - media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] 44 + media_if: &'a mut (dyn MediaIf + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [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] 49 - pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] 49 + pub fn new(cpu_mem: &'a mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [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] 50 - gfx_mem: &'a mut VideoMemory, [INFO] [stdout] 50 + gfx_mem: &'a mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [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] 51 - media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] 51 + media_if: &'a mut dyn MediaIf) -> CPU<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [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] 72 - let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [INFO] [stdout] 72 + let mut emulator = CPU::new(&mut mem as &mut dyn CpuMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 73 | ... &mut display as &mut VideoMemory, [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] 73 - &mut display as &mut VideoMemory, [INFO] [stdout] 73 + &mut display as &mut dyn VideoMemory, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | ... &mut media_if as &mut MediaIf); [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] 74 - &mut media_if as &mut MediaIf); [INFO] [stdout] 74 + &mut media_if as &mut dyn MediaIf); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let mut row_bh = self.memory[curr_r][byte_offset] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut row_bl = self.memory[curr_r][(byte_offset + 1)] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let mut row_bh = self.memory[curr_r][byte_offset] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/memory/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut row_bl = self.memory[curr_r][(byte_offset + 1)] as u16; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/chip8_opcode-e6039c28561d050f) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_opcode-f1eb7ddd92863dc9) [INFO] running `Command { std: "docker" "inspect" "f4556106c9f1a0e96c4e780ba9da0b9a11929c34560931b606d96c2ec923674a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4556106c9f1a0e96c4e780ba9da0b9a11929c34560931b606d96c2ec923674a", kill_on_drop: false }` [INFO] [stdout] f4556106c9f1a0e96c4e780ba9da0b9a11929c34560931b606d96c2ec923674a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d8ef4d7b1f8a84f1f382979b809193877a4b0fab1f29e17f7f138f1ddf7a5ff [INFO] running `Command { std: "docker" "start" "-a" "6d8ef4d7b1f8a84f1f382979b809193877a4b0fab1f29e17f7f138f1ddf7a5ff", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/memory/mod.rs:189:61 [INFO] [stderr] | [INFO] [stderr] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/mod.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - cpu_mem: &'a mut (CpuMemory + 'a), [INFO] [stderr] 42 + cpu_mem: &'a mut (dyn CpuMemory + 'a), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/mod.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - gfx_mem: &'a mut (VideoMemory + 'a), [INFO] [stderr] 43 + gfx_mem: &'a mut (dyn VideoMemory + 'a), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/mod.rs:44:24 [INFO] [stderr] | [INFO] [stderr] 44 | media_if: &'a mut (MediaIf + 'a), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - media_if: &'a mut (MediaIf + 'a), [INFO] [stderr] 44 + media_if: &'a mut (dyn MediaIf + 'a), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/mod.rs:49:33 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stderr] 49 + pub fn new(cpu_mem: &'a mut dyn CpuMemory, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/mod.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | gfx_mem: &'a mut VideoMemory, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - gfx_mem: &'a mut VideoMemory, [INFO] [stderr] 50 + gfx_mem: &'a mut dyn VideoMemory, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu/mod.rs:51:30 [INFO] [stderr] | [INFO] [stderr] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stderr] 51 + media_if: &'a mut dyn MediaIf) -> CPU<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/memory/mod.rs:176:17 [INFO] [stderr] | [INFO] [stderr] 176 | let mut row_bh = self.memory[curr_r][byte_offset] as u16; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/memory/mod.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | let mut row_bl = self.memory[curr_r][(byte_offset + 1)] as u16; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `chip8_opcode` (lib) generated 9 warnings [INFO] [stderr] warning: `chip8_opcode` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:72:50 [INFO] [stderr] | [INFO] [stderr] 72 | let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 72 - let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [INFO] [stderr] 72 + let mut emulator = CPU::new(&mut mem as &mut dyn CpuMemory, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:73:54 [INFO] [stderr] | [INFO] [stderr] 73 | ... &mut display as &mut VideoMemory, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - &mut display as &mut VideoMemory, [INFO] [stderr] 73 + &mut display as &mut dyn VideoMemory, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:74:55 [INFO] [stderr] | [INFO] [stderr] 74 | ... &mut media_if as &mut MediaIf); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - &mut media_if as &mut MediaIf); [INFO] [stderr] 74 + &mut media_if as &mut dyn MediaIf); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chip8_opcode` (bin "chip8_opcode" test) generated 12 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chip8_opcode-e6039c28561d050f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_opcode-f1eb7ddd92863dc9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests chip8_opcode [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/memory/mod.rs:189:61 [INFO] [stderr] | [INFO] [stderr] 189 | collision |= (row & row_prev != row_prev) as u8;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d8ef4d7b1f8a84f1f382979b809193877a4b0fab1f29e17f7f138f1ddf7a5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8ef4d7b1f8a84f1f382979b809193877a4b0fab1f29e17f7f138f1ddf7a5ff", kill_on_drop: false }` [INFO] [stdout] 6d8ef4d7b1f8a84f1f382979b809193877a4b0fab1f29e17f7f138f1ddf7a5ff