[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#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fetscrivner%2Fneoboy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/etscrivner/neoboy on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e77104bd00b23e6a766c81c0e9f23c11b58fbb52bb888f98f46bc8d7be6f0f03 [INFO] running `Command { std: "docker" "start" "-a" "e77104bd00b23e6a766c81c0e9f23c11b58fbb52bb888f98f46bc8d7be6f0f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e77104bd00b23e6a766c81c0e9f23c11b58fbb52bb888f98f46bc8d7be6f0f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77104bd00b23e6a766c81c0e9f23c11b58fbb52bb888f98f46bc8d7be6f0f03", kill_on_drop: false }` [INFO] [stdout] e77104bd00b23e6a766c81c0e9f23c11b58fbb52bb888f98f46bc8d7be6f0f03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcd4592ad653bdb669fac8c9601b8400f9b41f7c1df35327fc370d91f648c2ae [INFO] running `Command { std: "docker" "start" "-a" "bcd4592ad653bdb669fac8c9601b8400f9b41f7c1df35327fc370d91f648c2ae", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] error: struct `Configuration` is never constructed [INFO] [stdout] --> gameboy/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Configuration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] error: struct `Configuration` is never constructed [INFO] [stdout] --> gameboy/src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Configuration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] error: could not compile `gameboy` (lib) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gameboy` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bcd4592ad653bdb669fac8c9601b8400f9b41f7c1df35327fc370d91f648c2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd4592ad653bdb669fac8c9601b8400f9b41f7c1df35327fc370d91f648c2ae", kill_on_drop: false }` [INFO] [stdout] bcd4592ad653bdb669fac8c9601b8400f9b41f7c1df35327fc370d91f648c2ae