[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] checking etscrivner/neoboy against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetscrivner%2Fneoboy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/etscrivner/neoboy on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/etscrivner/neoboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bd5d5cdd0e12780f23f5111b5f2c393101f3bb9ec6c487e9857f6e02d4b08a9 [INFO] running `Command { std: "docker" "start" "-a" "7bd5d5cdd0e12780f23f5111b5f2c393101f3bb9ec6c487e9857f6e02d4b08a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bd5d5cdd0e12780f23f5111b5f2c393101f3bb9ec6c487e9857f6e02d4b08a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd5d5cdd0e12780f23f5111b5f2c393101f3bb9ec6c487e9857f6e02d4b08a9", kill_on_drop: false }` [INFO] [stdout] 7bd5d5cdd0e12780f23f5111b5f2c393101f3bb9ec6c487e9857f6e02d4b08a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 821d50ef49397b7727d24e61df3e08edfd914a9a3fcd6cb0d150a45f5f9310bb [INFO] running `Command { std: "docker" "start" "-a" "821d50ef49397b7727d24e61df3e08edfd914a9a3fcd6cb0d150a45f5f9310bb", kill_on_drop: false }` [INFO] [stderr] Checking 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] | ^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub cartridge: Box [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub cartridge: Box [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(cartridge: Box) -> Self { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_cartridge(self) -> Option> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(cartridge: Box) -> Self { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_cartridge(self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `gameboy_type` is never read [INFO] [stdout] --> gameboy/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Configuration { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 68 | gameboy_type: GameboyType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f` is never read [INFO] [stdout] --> gameboy/src/registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | pub a: u8, [INFO] [stdout] 3 | f: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] 41 + let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box u8>)>> = HashMap::new(); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] 43 + &str, Vec<(u8, &str, &str, Box u8>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] 43 + &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box u8>)>> = HashMap::new(); [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(dyn Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(dyn Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(dyn Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | +++ [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] 41 + let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box u8>)>> = HashMap::new(); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] 43 + &str, Vec<(u8, &str, &str, Box u8>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] 43 + &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box u8>)>> = HashMap::new(); [INFO] [stdout] | [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let mut opcode_table: HashMap<&str, Vec<(u8, &str, Box<(dyn Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(dyn Fn(u8) -> u8)>, Box<(Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | &str, Vec<(u8, &str, &str, Box<(Fn(u8) -> u8)>, Box<(dyn Fn(u8) -> u8)>)>> = HashMap::new(); [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | let cartridge: Box = Box::new(RomOnly::new(vec![0x12; 0x10000])); [INFO] [stdout] | +++ [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 `gameboy_type` is never read [INFO] [stdout] --> gameboy/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Configuration { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 68 | gameboy_type: GameboyType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f` is never read [INFO] [stdout] --> gameboy/src/registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 2 | pub a: u8, [INFO] [stdout] 3 | f: u8, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_value` is never used [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 `opcode_tests` is never used [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: function `expected_value` is never used [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 `opcode_tests` is never used [INFO] [stdout] --> neoboy/src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn opcode_tests() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "821d50ef49397b7727d24e61df3e08edfd914a9a3fcd6cb0d150a45f5f9310bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821d50ef49397b7727d24e61df3e08edfd914a9a3fcd6cb0d150a45f5f9310bb", kill_on_drop: false }` [INFO] [stdout] 821d50ef49397b7727d24e61df3e08edfd914a9a3fcd6cb0d150a45f5f9310bb