[INFO] cloning repository https://github.com/luizschon/gb-color [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luizschon/gb-color" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluizschon%2Fgb-color", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluizschon%2Fgb-color'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77c23a6b13c89945e5cbcc49e5a26458a4685206 [INFO] checking luizschon/gb-color against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluizschon%2Fgb-color" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luizschon/gb-color [INFO] finished tweaking git repo https://github.com/luizschon/gb-color [INFO] tweaked toml for git repo https://github.com/luizschon/gb-color written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luizschon/gb-color on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luizschon/gb-color 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eb575a3694bf85de60fd8a91230d7baa552d084d3a2d56965321ea5fd6676f0 [INFO] running `Command { std: "docker" "start" "-a" "1eb575a3694bf85de60fd8a91230d7baa552d084d3a2d56965321ea5fd6676f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eb575a3694bf85de60fd8a91230d7baa552d084d3a2d56965321ea5fd6676f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb575a3694bf85de60fd8a91230d7baa552d084d3a2d56965321ea5fd6676f0", kill_on_drop: false }` [INFO] [stdout] 1eb575a3694bf85de60fd8a91230d7baa552d084d3a2d56965321ea5fd6676f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15b010f2bd36a14e8b3108aeca49cbf76d0e1af5988bf4afffa19c33f5fe9658 [INFO] running `Command { std: "docker" "start" "-a" "15b010f2bd36a14e8b3108aeca49cbf76d0e1af5988bf4afffa19c33f5fe9658", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking gb-color v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CpuState` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CpuState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `step` are never used [INFO] [stdout] --> src/cpu/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CpuState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executable` is never used [INFO] [stdout] --> src/cpu/instructions/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Executable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/cpu/instructions/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARITH_INSTR_MASK` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ARITH_INSTR_MASK: u8 = 0b00111000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ARITH_INSTR_POS` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const ARITH_INSTR_POS: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_3_INSTR_MASK` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const BLOCK_3_INSTR_MASK: u8 = 0b00000111; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_3_INSTR_POS` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const BLOCK_3_INSTR_POS: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecodeError` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum DecodeError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Decode` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Decode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block0` is never constructed [INFO] [stdout] --> src/cpu/instructions/decode.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Block0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block1` is never constructed [INFO] [stdout] --> src/cpu/instructions/decode.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Block1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block2` is never constructed [INFO] [stdout] --> src/cpu/instructions/decode.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Block2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block3` is never constructed [INFO] [stdout] --> src/cpu/instructions/decode.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Block3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Prefixed` is never constructed [INFO] [stdout] --> src/cpu/instructions/decode.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Prefixed; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InstructionDecoder` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum InstructionDecoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Opcode` is never used [INFO] [stdout] --> src/cpu/instructions/decode.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | type Opcode = u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Add` is never constructed [INFO] [stdout] --> src/cpu/instructions/execute.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Add(pub ArithSource); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_source` is never used [INFO] [stdout] --> src/cpu/instructions/execute.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Add { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 12 | pub fn with_source(src: ArithSource) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Source` is never used [INFO] [stdout] --> src/cpu/instructions/operands.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Source: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArithSource` is never used [INFO] [stdout] --> src/cpu/instructions/operands.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ArithSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_opcode` and `from_literal` are never used [INFO] [stdout] --> src/cpu/instructions/operands.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ArithSource { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 25 | pub fn from_opcode(opcode: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_literal(val: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawRegisters` is never constructed [INFO] [stdout] --> src/cpu/registers.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RawRegisters { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | make_registers_struct!(b c, d e, h l); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_registers_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/registers.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 31 | impl RawRegisters { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 32 | /// Construct as new [RawRegisters] struct with all values zeroed. [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn sp(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_sp(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn acc(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn set_acc(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn [](&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn [](&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn [<$high $low>](&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn [](&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | make_registers_struct!(b c, d e, h l); [INFO] [stdout] | -----------------------^-^--^-^--^-^- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_registers_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RwRegister` is never used [INFO] [stdout] --> src/cpu/registers.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait RwRegister { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> src/cpu/registers.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg8` is never used [INFO] [stdout] --> src/cpu/registers.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum Reg8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg16` is never used [INFO] [stdout] --> src/cpu/registers.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub enum Reg16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/cpu/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CpuState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> src/cpu/registers.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DE`, `HL`, and `SP` are never constructed [INFO] [stdout] --> src/cpu/registers.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub enum Reg16 { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 138 | BC, DE, HL, SP [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg16` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "15b010f2bd36a14e8b3108aeca49cbf76d0e1af5988bf4afffa19c33f5fe9658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b010f2bd36a14e8b3108aeca49cbf76d0e1af5988bf4afffa19c33f5fe9658", kill_on_drop: false }` [INFO] [stdout] 15b010f2bd36a14e8b3108aeca49cbf76d0e1af5988bf4afffa19c33f5fe9658