[INFO] cloning repository https://github.com/dpl0/gemub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpl0/gemub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0%2Fgemub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0%2Fgemub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1f748fadd008d10d8d5e1a3b3d470e6059f233e [INFO] checking dpl0/gemub against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0%2Fgemub" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dpl0/gemub [INFO] finished tweaking git repo https://github.com/dpl0/gemub [INFO] tweaked toml for git repo https://github.com/dpl0/gemub written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpl0/gemub on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dpl0/gemub 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cd86acffeeac3991078a5cdf11c853b5f8762832ecf0c8997f7a9681c164b3a [INFO] running `Command { std: "docker" "start" "-a" "6cd86acffeeac3991078a5cdf11c853b5f8762832ecf0c8997f7a9681c164b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cd86acffeeac3991078a5cdf11c853b5f8762832ecf0c8997f7a9681c164b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cd86acffeeac3991078a5cdf11c853b5f8762832ecf0c8997f7a9681c164b3a", kill_on_drop: false }` [INFO] [stdout] 6cd86acffeeac3991078a5cdf11c853b5f8762832ecf0c8997f7a9681c164b3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90927ac02d7665726bf52084d9b4c577fc8546374c3e924e2c00aa40084d11f9 [INFO] running `Command { std: "docker" "start" "-a" "90927ac02d7665726bf52084d9b4c577fc8546374c3e924e2c00aa40084d11f9", kill_on_drop: false }` [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking gemu-boy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `cpu`, `ram`, and `screen` are never read [INFO] [stdout] --> src/gameboy/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameBoy { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub cpu: cpu::Cpu, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub ram: ram::Memory, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | pub screen: screen::Screen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameBoy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `z`, `n`, `h`, and `c` are never read [INFO] [stdout] --> src/gameboy/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | // Zero, Non-Zero (set when the result of a math op is zero, or two values are the same after CP. [INFO] [stdout] 8 | z: bool, [INFO] [stdout] | ^ [INFO] [stdout] 9 | // Set if the last math OP was a subtraction. [INFO] [stdout] 10 | n: bool, [INFO] [stdout] | ^ [INFO] [stdout] 11 | /// Half-Carry, set if a carry occurred from the lower nibble in the last math op. [INFO] [stdout] 12 | h: bool, [INFO] [stdout] | ^ [INFO] [stdout] 13 | // Carry Flag, set if a carry occurred from the last math op, or if reg A is smaller when executing CP. [INFO] [stdout] 14 | c: bool, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct RegisterFile { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | af: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | bc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | de: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | hl: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | pc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | flags: Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gameboy/cpu.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl RegisterFile { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 29 | fn new() -> RegisterFile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registers` is never read [INFO] [stdout] --> src/gameboy/cpu.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 54 | pub registers: RegisterFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read`, `write_byte`, `read_raw`, and `write_byte_raw` are never used [INFO] [stdout] --> src/gameboy/ram.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn read(&self, location: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn write_byte(&mut self, location: u16, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn read_raw(&self, location: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn write_byte_raw(&mut self, location: u16, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixels` is never read [INFO] [stdout] --> src/gameboy/screen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pixels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cpu`, `ram`, and `screen` are never read [INFO] [stdout] --> src/gameboy/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GameBoy { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub cpu: cpu::Cpu, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub ram: ram::Memory, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | pub screen: screen::Screen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameBoy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `z`, `n`, `h`, and `c` are never read [INFO] [stdout] --> src/gameboy/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | // Zero, Non-Zero (set when the result of a math op is zero, or two values are the same after CP. [INFO] [stdout] 8 | z: bool, [INFO] [stdout] | ^ [INFO] [stdout] 9 | // Set if the last math OP was a subtraction. [INFO] [stdout] 10 | n: bool, [INFO] [stdout] | ^ [INFO] [stdout] 11 | /// Half-Carry, set if a carry occurred from the lower nibble in the last math op. [INFO] [stdout] 12 | h: bool, [INFO] [stdout] | ^ [INFO] [stdout] 13 | // Carry Flag, set if a carry occurred from the last math op, or if reg A is smaller when executing CP. [INFO] [stdout] 14 | c: bool, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Flags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/gameboy/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct RegisterFile { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | af: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | bc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | de: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | hl: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | pc: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | flags: Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gameboy/cpu.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl RegisterFile { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 29 | fn new() -> RegisterFile { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registers` is never read [INFO] [stdout] --> src/gameboy/cpu.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 54 | pub registers: RegisterFile, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_raw` and `write_byte_raw` are never used [INFO] [stdout] --> src/gameboy/ram.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn read_raw(&self, location: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn write_byte_raw(&mut self, location: u16, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixels` is never read [INFO] [stdout] --> src/gameboy/screen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Screen { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pixels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Screen` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "90927ac02d7665726bf52084d9b4c577fc8546374c3e924e2c00aa40084d11f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90927ac02d7665726bf52084d9b4c577fc8546374c3e924e2c00aa40084d11f9", kill_on_drop: false }` [INFO] [stdout] 90927ac02d7665726bf52084d9b4c577fc8546374c3e924e2c00aa40084d11f9