[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] checking YuraCobain/chip8_emulator_rust against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuraCobain%2Fchip8_emulator_rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YuraCobain/chip8_emulator_rust on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-8/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ab0948adfab941a112185f9684969976b8484a76674a93f66954b82637c6fa4 [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" "9ab0948adfab941a112185f9684969976b8484a76674a93f66954b82637c6fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ab0948adfab941a112185f9684969976b8484a76674a93f66954b82637c6fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ab0948adfab941a112185f9684969976b8484a76674a93f66954b82637c6fa4", kill_on_drop: false }` [INFO] [stdout] 9ab0948adfab941a112185f9684969976b8484a76674a93f66954b82637c6fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d5c242a66fbee5eaa1ee58b25272862cbc76b9ed188fa80f1569709d8ea4766 [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" "0d5c242a66fbee5eaa1ee58b25272862cbc76b9ed188fa80f1569709d8ea4766", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking chip8_opcode v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [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] [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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: 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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [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] [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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: 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: 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: 9 warnings emitted [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [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] [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/main.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 73 | ... &mut display as &mut VideoMemory, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/main.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | ... &mut media_if as &mut MediaIf); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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: 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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [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] [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | media_if: &'a mut (MediaIf + 'a), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(cpu_mem: &'a mut CpuMemory, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | gfx_mem: &'a mut VideoMemory, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/cpu/mod.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | media_if: &'a mut MediaIf) -> CPU<'a> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/main.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | let mut emulator = CPU::new(&mut mem as &mut CpuMemory, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 73 | ... &mut display as &mut VideoMemory, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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/main.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | ... &mut media_if as &mut MediaIf); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stdout] | [INFO] [stdout] = warning: this is 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: 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: 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 14.46s [INFO] running `Command { std: "docker" "inspect" "0d5c242a66fbee5eaa1ee58b25272862cbc76b9ed188fa80f1569709d8ea4766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5c242a66fbee5eaa1ee58b25272862cbc76b9ed188fa80f1569709d8ea4766", kill_on_drop: false }` [INFO] [stdout] 0d5c242a66fbee5eaa1ee58b25272862cbc76b9ed188fa80f1569709d8ea4766