[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuraCobain%2Fchip8_emulator_rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YuraCobain/chip8_emulator_rust on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-0/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e23acc6f9d08605a27c342bcaaa3c463855771622c653449116d77b17a368368 [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" "e23acc6f9d08605a27c342bcaaa3c463855771622c653449116d77b17a368368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e23acc6f9d08605a27c342bcaaa3c463855771622c653449116d77b17a368368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23acc6f9d08605a27c342bcaaa3c463855771622c653449116d77b17a368368", kill_on_drop: false }` [INFO] [stdout] e23acc6f9d08605a27c342bcaaa3c463855771622c653449116d77b17a368368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", 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] dfff11de759e4741fd8c2def0ee86f62c4ab6d2037cf802b030d78a6c057570a [INFO] running `Command { std: "docker" "start" "-a" "dfff11de759e4741fd8c2def0ee86f62c4ab6d2037cf802b030d78a6c057570a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.41 [INFO] [stderr] Compiling rand_core v0.2.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [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 num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [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: 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 17.79s [INFO] running `Command { std: "docker" "inspect" "dfff11de759e4741fd8c2def0ee86f62c4ab6d2037cf802b030d78a6c057570a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfff11de759e4741fd8c2def0ee86f62c4ab6d2037cf802b030d78a6c057570a", kill_on_drop: false }` [INFO] [stdout] dfff11de759e4741fd8c2def0ee86f62c4ab6d2037cf802b030d78a6c057570a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f815ce65b54c156967e2ae3da795dd3c7f33fc80ece650d8840990858c5e3629 [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" "f815ce65b54c156967e2ae3da795dd3c7f33fc80ece650d8840990858c5e3629", kill_on_drop: false }` [INFO] [stderr] Compiling 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "f815ce65b54c156967e2ae3da795dd3c7f33fc80ece650d8840990858c5e3629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f815ce65b54c156967e2ae3da795dd3c7f33fc80ece650d8840990858c5e3629", kill_on_drop: false }` [INFO] [stdout] f815ce65b54c156967e2ae3da795dd3c7f33fc80ece650d8840990858c5e3629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 590181c923b59c44b0e19ff3a6685c004a35f77a76b2912d92bb642f432c4b23 [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" "590181c923b59c44b0e19ff3a6685c004a35f77a76b2912d92bb642f432c4b23", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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: 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: 9 warnings emitted [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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: 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: 9 warnings emitted [INFO] [stderr] [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] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CpuMemory + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MediaIf + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [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] | ^^^^^^^^^ help: use `dyn`: `dyn CpuMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn VideoMemory` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn MediaIf` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [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: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chip8_opcode-00b014a53999612d) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chip8_opcode-96dfd8ff43ccf7dc) [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] [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] [stdout] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [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" "590181c923b59c44b0e19ff3a6685c004a35f77a76b2912d92bb642f432c4b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590181c923b59c44b0e19ff3a6685c004a35f77a76b2912d92bb642f432c4b23", kill_on_drop: false }` [INFO] [stdout] 590181c923b59c44b0e19ff3a6685c004a35f77a76b2912d92bb642f432c4b23