[INFO] cloning repository https://github.com/etscrivner/neoboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/etscrivner/neoboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetscrivner%2Fneoboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetscrivner%2Fneoboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84dd459edfb6d01f4d1fa9f0066e1e1b55d1d9cc [INFO] testing etscrivner/neoboy against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetscrivner%2Fneoboy" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/etscrivner/neoboy on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/etscrivner/neoboy [INFO] finished tweaking git repo https://github.com/etscrivner/neoboy [INFO] tweaked toml for git repo https://github.com/etscrivner/neoboy written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/etscrivner/neoboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64e6d9b6d0a311835695d771bdeb5e58dfb650fd254872ff05eb942c191a2dde [INFO] running `Command { std: "docker" "start" "-a" "64e6d9b6d0a311835695d771bdeb5e58dfb650fd254872ff05eb942c191a2dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64e6d9b6d0a311835695d771bdeb5e58dfb650fd254872ff05eb942c191a2dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e6d9b6d0a311835695d771bdeb5e58dfb650fd254872ff05eb942c191a2dde", kill_on_drop: false }` [INFO] [stdout] 64e6d9b6d0a311835695d771bdeb5e58dfb650fd254872ff05eb942c191a2dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc9fe589fec68dd5aa802a085bd0c059f2b094744f7d8818d4040d394e545eb1 [INFO] running `Command { std: "docker" "start" "-a" "dc9fe589fec68dd5aa802a085bd0c059f2b094744f7d8818d4040d394e545eb1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir/gameboy) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gameboy/src/memory.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub cartridge: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/memory.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(cartridge: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/rom.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_cartridge(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cartridge::Cartridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f` [INFO] [stdout] --> gameboy/src/registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | f: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gameboy_type` [INFO] [stdout] --> gameboy/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | gameboy_type: GameboyType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling neoboy v0.1.0 (/opt/rustwide/workdir/neoboy) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> neoboy/src/main.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> neoboy/src/main.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> neoboy/src/main.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> neoboy/src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> neoboy/src/main.rs:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> neoboy/src/main.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expected_value` [INFO] [stdout] --> neoboy/src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn expected_value(regname: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `opcode_tests` [INFO] [stdout] --> neoboy/src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn opcode_tests() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "dc9fe589fec68dd5aa802a085bd0c059f2b094744f7d8818d4040d394e545eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc9fe589fec68dd5aa802a085bd0c059f2b094744f7d8818d4040d394e545eb1", kill_on_drop: false }` [INFO] [stdout] dc9fe589fec68dd5aa802a085bd0c059f2b094744f7d8818d4040d394e545eb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3da7f858e05b0af91b84eb0a87cc8a5bdd46efbd975aaa8be37f2d4defa6b90 [INFO] running `Command { std: "docker" "start" "-a" "a3da7f858e05b0af91b84eb0a87cc8a5bdd46efbd975aaa8be37f2d4defa6b90", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gameboy/src/memory.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub cartridge: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/memory.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(cartridge: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/rom.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_cartridge(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cartridge::Cartridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f` [INFO] [stdout] --> gameboy/src/registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | f: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gameboy_type` [INFO] [stdout] --> gameboy/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | gameboy_type: GameboyType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gameboy v0.1.0 (/opt/rustwide/workdir/gameboy) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling neoboy v0.1.0 (/opt/rustwide/workdir/neoboy) [INFO] [stdout] warning: unused import: `gameboy::cpu::*` [INFO] [stdout] --> gameboy/tests/cpu_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gameboy::cpu::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gameboy/tests/memory_tests.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | let cartridge: Box = Box::new(RomOnly::new(vec![0x12; 0x10000])); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> neoboy/src/main.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> neoboy/src/main.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> neoboy/src/main.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> neoboy/src/main.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> neoboy/src/main.rs:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> neoboy/src/main.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/memory.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub cartridge: Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/memory.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(cartridge: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [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] --> gameboy/src/rom.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_cartridge(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cartridge::Cartridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gameboy::cpu::*` [INFO] [stdout] --> gameboy/tests/operations_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gameboy::cpu::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f` [INFO] [stdout] --> gameboy/src/registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | f: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gameboy_type` [INFO] [stdout] --> gameboy/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | gameboy_type: GameboyType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expected_value` [INFO] [stdout] --> neoboy/src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn expected_value(regname: &str) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `opcode_tests` [INFO] [stdout] --> neoboy/src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn opcode_tests() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "a3da7f858e05b0af91b84eb0a87cc8a5bdd46efbd975aaa8be37f2d4defa6b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3da7f858e05b0af91b84eb0a87cc8a5bdd46efbd975aaa8be37f2d4defa6b90", kill_on_drop: false }` [INFO] [stdout] a3da7f858e05b0af91b84eb0a87cc8a5bdd46efbd975aaa8be37f2d4defa6b90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e3bb742b8fb8654d5618b11b2fe6c373979bb1e1338cccd8568527e4f3cfbd3f [INFO] running `Command { std: "docker" "start" "-a" "e3bb742b8fb8654d5618b11b2fe6c373979bb1e1338cccd8568527e4f3cfbd3f", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> gameboy/src/memory.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | pub cartridge: Box [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> gameboy/src/memory.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new(cartridge: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> gameboy/src/rom.rs:91:47 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn into_cartridge(self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cartridge::Cartridge` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `f` [INFO] [stderr] --> gameboy/src/registers.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | f: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `gameboy_type` [INFO] [stderr] --> gameboy/src/lib.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | gameboy_type: GameboyType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gameboy` (lib) generated 5 warnings [INFO] [stderr] warning: unused import: `gameboy::cpu::*` [INFO] [stderr] --> gameboy/tests/operations_tests.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use gameboy::cpu::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gameboy` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `gameboy` (test "operations_tests") generated 1 warning [INFO] [stderr] warning: unused import: `gameboy::cpu::*` [INFO] [stderr] --> gameboy/tests/cpu_tests.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use gameboy::cpu::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> gameboy/tests/memory_tests.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | let cartridge: Box = Box::new(RomOnly::new(vec![0x12; 0x10000])); [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Cartridge` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> neoboy/src/main.rs:41:60 [INFO] [stderr] | [INFO] [stderr] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> neoboy/src/main.rs:41:61 [INFO] [stderr] | [INFO] [stderr] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> neoboy/src/main.rs:43:44 [INFO] [stderr] | [INFO] [stderr] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> neoboy/src/main.rs:43:45 [INFO] [stderr] | [INFO] [stderr] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> neoboy/src/main.rs:43:65 [INFO] [stderr] | [INFO] [stderr] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> neoboy/src/main.rs:43:66 [INFO] [stderr] | [INFO] [stderr] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u8) -> u8` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: function is never used: `expected_value` [INFO] [stderr] --> neoboy/src/main.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn expected_value(regname: &str) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `opcode_tests` [INFO] [stderr] --> neoboy/src/main.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn opcode_tests() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gameboy` (test "cpu_tests") generated 1 warning [INFO] [stderr] warning: `gameboy` (test "memory_tests") generated 1 warning [INFO] [stderr] warning: `neoboy` (bin "neoboy" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gameboy-52b24f5335dca4c9) [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 tests/cpu_tests.rs (/opt/rustwide/target/debug/deps/cpu_tests-49e562a5e430898b) [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Running tests/memory_tests.rs (/opt/rustwide/target/debug/deps/memory_tests-6e3a189fbc9cfdd0) [INFO] [stdout] test test_cartridge_rom_readwrite ... ok [INFO] [stdout] test test_interrupt_flag_readwrite ... ok [INFO] [stdout] test test_unused_ram_readwrite ... ok [INFO] [stdout] test test_wram_mirror_readwrite ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/operations_tests.rs (/opt/rustwide/target/debug/deps/operations_tests-c7adce6548e96e60) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_invalid_opcodes ... ok [INFO] [stdout] test test_rst ... ok [INFO] [stdout] test test_stack ... ok [INFO] [stdout] test test_st ... ok [INFO] [stdout] test test_misc ... ok [INFO] [stdout] test test_dec ... ok [INFO] [stdout] test test_inc ... ok [INFO] [stdout] test test_ld ... ok [INFO] [stdout] test test_jump ... ok [INFO] [stdout] test test_bitwise_arithmetic ... ok [INFO] [stdout] test test_call_ret ... ok [INFO] [stdout] test test_arithmetic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/neoboy-799ce8cb25739679) [INFO] [stderr] Doc-tests gameboy [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/memory.rs - memory::Memory::write_byte (line 57) ... ok [INFO] [stdout] test src/rom.rs - rom::Rom::new (line 66) ... ok [INFO] [stdout] test src/rom.rs - rom::Rom::new (line 74) ... ok [INFO] [stdout] test src/memory.rs - memory::Memory::read_byte (line 107) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e3bb742b8fb8654d5618b11b2fe6c373979bb1e1338cccd8568527e4f3cfbd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3bb742b8fb8654d5618b11b2fe6c373979bb1e1338cccd8568527e4f3cfbd3f", kill_on_drop: false }` [INFO] [stdout] e3bb742b8fb8654d5618b11b2fe6c373979bb1e1338cccd8568527e4f3cfbd3f