[INFO] cloning repository https://github.com/tomotargz/mgb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomotargz/mgb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomotargz%2Fmgb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomotargz%2Fmgb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f00205b8cc6f63e509046cc441c922c6027d12eb [INFO] checking tomotargz/mgb against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomotargz%2Fmgb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tomotargz/mgb [INFO] finished tweaking git repo https://github.com/tomotargz/mgb [INFO] tweaked toml for git repo https://github.com/tomotargz/mgb written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tomotargz/mgb on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tomotargz/mgb 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.36.0 [INFO] [stderr] Downloaded sdl2-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91b0b1e7bbc7eb305d78141a76667f6c6e5a9d7fe73b72f23029d20f94e6e079 [INFO] running `Command { std: "docker" "start" "-a" "91b0b1e7bbc7eb305d78141a76667f6c6e5a9d7fe73b72f23029d20f94e6e079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b0b1e7bbc7eb305d78141a76667f6c6e5a9d7fe73b72f23029d20f94e6e079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b0b1e7bbc7eb305d78141a76667f6c6e5a9d7fe73b72f23029d20f94e6e079", kill_on_drop: false }` [INFO] [stdout] 91b0b1e7bbc7eb305d78141a76667f6c6e5a9d7fe73b72f23029d20f94e6e079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f221b8702ead540dcb9db188ffd7081260c44412cadb0936dcfc3cafa4bf6a62 [INFO] running `Command { std: "docker" "start" "-a" "f221b8702ead540dcb9db188ffd7081260c44412cadb0936dcfc3cafa4bf6a62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking mgb 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)]` 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: trait `IO8` is never used [INFO] [stdout] --> src/cpu.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IO8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IO16` is never used [INFO] [stdout] --> src/cpu.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IO16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ctx` is never constructed [INFO] [stdout] --> src/cpu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Ctx { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emulate_cycle`, `fetch`, `decode`, and `nop` are never used [INFO] [stdout] --> src/cpu.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 33 | pub fn emulate_cycle(&mut self, bus: &mut Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn fetch(&mut self, bus: &peripherals::Peripherals) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn decode(&mut self, bus: &mut Peripherals) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn nop(&mut self, bus: &Peripherals) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg8` is never used [INFO] [stdout] --> src/cpu/operands.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Reg8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg16` is never used [INFO] [stdout] --> src/cpu/operands.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Reg16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Imm8` is never constructed [INFO] [stdout] --> src/cpu/operands.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Imm8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Imm16` is never constructed [INFO] [stdout] --> src/cpu/operands.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Imm16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Indirect` is never used [INFO] [stdout] --> src/cpu/operands.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Indirect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direct8` is never used [INFO] [stdout] --> src/cpu/operands.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Direct8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cond` is never used [INFO] [stdout] --> src/cpu/operands.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum Cond { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Direct16` is never constructed [INFO] [stdout] --> src/cpu/operands.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Direct16; [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:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Peripherals { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(bootrom: Bootrom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | 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:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 15 | pub fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write_bc(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn write_de(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn write_hl(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn zf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn nf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn hf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn cf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_zf(&mut self, zf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set_nf(&mut self, nf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_hf(&mut self, hf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | 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; 0x2000]>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/wram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl WRam { [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 `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)]` 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: trait `IO8` is never used [INFO] [stdout] --> src/cpu.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IO8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IO16` is never used [INFO] [stdout] --> src/cpu.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IO16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ctx` is never constructed [INFO] [stdout] --> src/cpu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Ctx { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `emulate_cycle`, `fetch`, `decode`, and `nop` are never used [INFO] [stdout] --> src/cpu.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 33 | pub fn emulate_cycle(&mut self, bus: &mut Peripherals) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn fetch(&mut self, bus: &peripherals::Peripherals) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn decode(&mut self, bus: &mut Peripherals) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn nop(&mut self, bus: &Peripherals) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg8` is never used [INFO] [stdout] --> src/cpu/operands.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Reg8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Reg16` is never used [INFO] [stdout] --> src/cpu/operands.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Reg16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Imm8` is never constructed [INFO] [stdout] --> src/cpu/operands.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Imm8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Imm16` is never constructed [INFO] [stdout] --> src/cpu/operands.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Imm16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Indirect` is never used [INFO] [stdout] --> src/cpu/operands.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Indirect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direct8` is never used [INFO] [stdout] --> src/cpu/operands.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Direct8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cond` is never used [INFO] [stdout] --> src/cpu/operands.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum Cond { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Direct16` is never constructed [INFO] [stdout] --> src/cpu/operands.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Direct16; [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:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Peripherals { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(bootrom: Bootrom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | 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:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 15 | pub fn af(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn bc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn de(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn hl(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn write_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write_bc(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn write_de(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn write_hl(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn zf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn nf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn hf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn cf(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn set_zf(&mut self, zf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn set_nf(&mut self, nf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_hf(&mut self, hf: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | 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; 0x2000]>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/wram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl WRam { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "f221b8702ead540dcb9db188ffd7081260c44412cadb0936dcfc3cafa4bf6a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f221b8702ead540dcb9db188ffd7081260c44412cadb0936dcfc3cafa4bf6a62", kill_on_drop: false }` [INFO] [stdout] f221b8702ead540dcb9db188ffd7081260c44412cadb0936dcfc3cafa4bf6a62