[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] d2931f1ea7045bf6a42c2d4321fd98e8fbe0e421 [INFO] checking toms74209200/emgb against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoms74209200%2Femgb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toms74209200/emgb on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30bf758c374d26552727b97676707a2a10ed9836f23a43ea061e44b82fc9c075 [INFO] running `Command { std: "docker" "start" "-a" "30bf758c374d26552727b97676707a2a10ed9836f23a43ea061e44b82fc9c075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30bf758c374d26552727b97676707a2a10ed9836f23a43ea061e44b82fc9c075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30bf758c374d26552727b97676707a2a10ed9836f23a43ea061e44b82fc9c075", kill_on_drop: false }` [INFO] [stdout] 30bf758c374d26552727b97676707a2a10ed9836f23a43ea061e44b82fc9c075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49582c4b6088189a04743fc60c542293babe4b2eb0a03e4b9ef1d53f5301d07d [INFO] running `Command { std: "docker" "start" "-a" "49582c4b6088189a04743fc60c542293babe4b2eb0a03e4b9ef1d53f5301d07d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.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:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl cpu::Cpu { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 6 | 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: multiple methods are never used [INFO] [stdout] --> src/instructions.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl cpu::Cpu { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 6 | pub fn nop(&mut self, bus: &mut peripherals::Peripherals) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn ld(&mut self, bus: &mut peripherals::Peripherals, dst: D, src: S) [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn ld16(&mut self, bus: &mut peripherals::Peripherals, dst: D, src: S) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn cp(&mut self, bus: &peripherals::Peripherals, src: S) [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn inc(&mut self, bus: &mut peripherals::Peripherals, src: S) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn inc16(&mut self, bus: &mut peripherals::Peripherals, src: S) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn dec(&mut self, bus: &mut peripherals::Peripherals, src: S) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn dec16(&mut self, bus: &mut peripherals::Peripherals, src: S) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn rl(&mut self, bus: &mut peripherals::Peripherals, src: S) [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn bit(&mut self, bus: &peripherals::Peripherals, bit: u8, src: S) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn push16(&mut self, bus: &mut peripherals::Peripherals, val: u16) -> Option<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn push(&mut self, bus: &mut peripherals::Peripherals, src: Reg16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn pop16(&mut self, bus: &peripherals::Peripherals) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn pop(&mut self, bus: &mut peripherals::Peripherals, dst: Reg16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn jr(&mut self, bus: &peripherals::Peripherals) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 349 | fn cond(&self, cond: operand::Cond) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn jr_c(&mut self, bus: &peripherals::Peripherals, c: operand::Cond) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn call(&mut self, bus: &mut peripherals::Peripherals) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn ret(&mut self, bus: &peripherals::Peripherals) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IO8` is never used [INFO] [stdout] --> src/operand.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IO8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IO16` is never used [INFO] [stdout] --> src/operand.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait IO16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg8` is never used [INFO] [stdout] --> src/operand.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum Reg8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg16` is never used [INFO] [stdout] --> src/operand.rs:338:10 [INFO] [stdout] | [INFO] [stdout] 338 | pub enum Reg16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Imm8` is never constructed [INFO] [stdout] --> src/operand.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct Imm8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Imm16` is never constructed [INFO] [stdout] --> src/operand.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct Imm16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Indirect` is never used [INFO] [stdout] --> src/operand.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | pub enum Indirect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direct8` is never used [INFO] [stdout] --> src/operand.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | pub enum Direct8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Direct16` is never constructed [INFO] [stdout] --> src/operand.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct Direct16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cond` is never used [INFO] [stdout] --> src/operand.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub enum Cond { [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: variants `BC`, `DE`, `CFF`, `HLD`, and `HLI` are never constructed [INFO] [stdout] --> src/operand.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 350 | pub enum Indirect { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 351 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] 352 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] 353 | HL, [INFO] [stdout] 354 | CFF, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | HLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 356 | HLI, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indirect` 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: variant `DFE` is never constructed [INFO] [stdout] --> src/operand.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub enum Direct8 { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 360 | D, [INFO] [stdout] 361 | DFE, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direct8` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Z` is never constructed [INFO] [stdout] --> src/operand.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 366 | pub enum Cond { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 367 | NZ, [INFO] [stdout] 368 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Cond` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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 2m 22s [INFO] running `Command { std: "docker" "inspect" "49582c4b6088189a04743fc60c542293babe4b2eb0a03e4b9ef1d53f5301d07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49582c4b6088189a04743fc60c542293babe4b2eb0a03e4b9ef1d53f5301d07d", kill_on_drop: false }` [INFO] [stdout] 49582c4b6088189a04743fc60c542293babe4b2eb0a03e4b9ef1d53f5301d07d