[INFO] cloning repository https://github.com/toms74209200/emgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toms74209200/emgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoms74209200%2Femgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoms74209200%2Femgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 983b7046989705b257ae49dd68e4e0fac396e6e3 [INFO] checking toms74209200/emgb against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoms74209200%2Femgb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toms74209200/emgb [INFO] finished tweaking git repo https://github.com/toms74209200/emgb [INFO] tweaked toml for git repo https://github.com/toms74209200/emgb written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toms74209200/emgb on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toms74209200/emgb 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eec2f8d0635813c65bd3eb3d7821c8c7b1a954b5a568a220e6ae26155b60bebc [INFO] running `Command { std: "docker" "start" "-a" "eec2f8d0635813c65bd3eb3d7821c8c7b1a954b5a568a220e6ae26155b60bebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eec2f8d0635813c65bd3eb3d7821c8c7b1a954b5a568a220e6ae26155b60bebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec2f8d0635813c65bd3eb3d7821c8c7b1a954b5a568a220e6ae26155b60bebc", kill_on_drop: false }` [INFO] [stdout] eec2f8d0635813c65bd3eb3d7821c8c7b1a954b5a568a220e6ae26155b60bebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f36334cb164539c0825e12cfae317936f6d357ff8d611c7dd371d23592cf9de [INFO] running `Command { std: "docker" "start" "-a" "8f36334cb164539c0825e12cfae317936f6d357ff8d611c7dd371d23592cf9de", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Checking emgb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Bootrom` is never constructed [INFO] [stdout] --> src/bootrom.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Bootrom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_active`, `write`, and `read` are never used [INFO] [stdout] --> src/bootrom.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Bootrom { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 6 | pub fn new(rom: Box<[u8]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn write(&mut self, _: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ctx` is never constructed [INFO] [stdout] --> src/cpu.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ctx { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decode` is never used [INFO] [stdout] --> src/decode.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl cpu::Cpu { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub fn decode(&mut self, bus: &mut peripherals::Peripherals) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch` is never used [INFO] [stdout] --> src/fetch.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl cpu::Cpu { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub fn fetch(&mut self, bus: &peripherals::Peripherals) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HRam` is never constructed [INFO] [stdout] --> src/hram.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HRam(Box<[u8; 0x80]>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/hram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl HRam { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 3 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn write(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nop` is never used [INFO] [stdout] --> src/instructions.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl cpu::Cpu { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 5 | pub fn nop(&mut self, bus: &mut peripherals::Peripherals) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Peripherals` is never constructed [INFO] [stdout] --> src/peripherals.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Peripherals { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/peripherals.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Peripherals { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(bootrom: bootrom::Bootrom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn write(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registers` is never constructed [INFO] [stdout] --> src/registers.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 16 | pub fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn write_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn write_bc(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn write_de(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn write_hl(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn zf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn nf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn hf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn cf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_zf(&mut self, zf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_nf(&mut self, nf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_hf(&mut self, hf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_cf(&mut self, cf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WRam` is never constructed [INFO] [stdout] --> src/wram.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WRam(Box<[u8; 0x80]>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/wram.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl WRam { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 4 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sp` is never read [INFO] [stdout] --> src/registers.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Registers { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | pub pc: u16, [INFO] [stdout] 4 | pub sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Registers` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bootrom` is never constructed [INFO] [stdout] --> src/bootrom.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Bootrom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_active`, `write`, and `read` are never used [INFO] [stdout] --> src/bootrom.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Bootrom { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 6 | pub fn new(rom: Box<[u8]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn write(&mut self, _: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HRam` is never constructed [INFO] [stdout] --> src/hram.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HRam(Box<[u8; 0x80]>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/hram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl HRam { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 3 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn write(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Peripherals` is never constructed [INFO] [stdout] --> src/peripherals.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Peripherals { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/peripherals.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Peripherals { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(bootrom: bootrom::Bootrom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn write(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WRam` is never constructed [INFO] [stdout] --> src/wram.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct WRam(Box<[u8; 0x80]>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/wram.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl WRam { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 4 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn write(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "8f36334cb164539c0825e12cfae317936f6d357ff8d611c7dd371d23592cf9de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f36334cb164539c0825e12cfae317936f6d357ff8d611c7dd371d23592cf9de", kill_on_drop: false }` [INFO] [stdout] 8f36334cb164539c0825e12cfae317936f6d357ff8d611c7dd371d23592cf9de