[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#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomotargz%2Fmgb" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomotargz/mgb on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2017a1ff3ba7ce2515da708e29d20185eb6e9c0ad24603ac60037ebd4844bbb [INFO] running `Command { std: "docker" "start" "-a" "f2017a1ff3ba7ce2515da708e29d20185eb6e9c0ad24603ac60037ebd4844bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2017a1ff3ba7ce2515da708e29d20185eb6e9c0ad24603ac60037ebd4844bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2017a1ff3ba7ce2515da708e29d20185eb6e9c0ad24603ac60037ebd4844bbb", kill_on_drop: false }` [INFO] [stdout] f2017a1ff3ba7ce2515da708e29d20185eb6e9c0ad24603ac60037ebd4844bbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78fc311fb1e6bd49e5528e939d8987087809012f8568c745f72763778343c111 [INFO] running `Command { std: "docker" "start" "-a" "78fc311fb1e6bd49e5528e939d8987087809012f8568c745f72763778343c111", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.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: associated function `new` is never used [INFO] [stdout] --> src/bootrom.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Bootrom { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 6 | pub fn new(rom: Box<[u8]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write8` is never used [INFO] [stdout] --> src/cpu.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IO8 { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 12 | fn read8(&mut self, bus: &Peripherals, src: T) -> Option; [INFO] [stdout] 13 | fn write8(&mut self, bus: &mut Peripherals, dst: T, val: u8) -> Option<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read16` and `write16` are never used [INFO] [stdout] --> src/cpu.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IO16 { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 17 | fn read16(&mut self, bus: &Peripherals, src: T) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | fn write16(&mut self, bus: &mut Peripherals, dst: T, val: u16) -> Option<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opcode` and `cb` are never read [INFO] [stdout] --> src/cpu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Ctx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 23 | opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | cb: bool, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/cpu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 28 | regs: registers::Registers, [INFO] [stdout] 29 | ctx: Ctx, [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: multiple variants are never constructed [INFO] [stdout] --> src/cpu/operands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Reg8 { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 3 | A, [INFO] [stdout] | ^ [INFO] [stdout] 4 | B, [INFO] [stdout] | ^ [INFO] [stdout] 5 | C, [INFO] [stdout] | ^ [INFO] [stdout] 6 | D, [INFO] [stdout] | ^ [INFO] [stdout] 7 | E, [INFO] [stdout] | ^ [INFO] [stdout] 8 | H, [INFO] [stdout] | ^ [INFO] [stdout] 9 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg8` 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: variants `AF`, `BC`, `DE`, `HL`, and `SP` are never constructed [INFO] [stdout] --> src/cpu/operands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Reg16 { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | HL, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | SP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg16` 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: variants `BC`, `DE`, `HL`, `CFF`, `HLD`, and `HLI` are never constructed [INFO] [stdout] --> src/cpu/operands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Indirect { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 29 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | HL, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | CFF, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | HLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | 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] [INFO] [stdout] [INFO] [stdout] warning: variants `D` and `DFF` are never constructed [INFO] [stdout] --> src/cpu/operands.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Direct8 { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 39 | D, [INFO] [stdout] | ^ [INFO] [stdout] 40 | DFF, [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: 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] = 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 `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] = note: `Direct16` 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: associated function `new` is never used [INFO] [stdout] --> src/hram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl HRam { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 3 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/peripherals.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Peripherals { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(bootrom: Bootrom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/registers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [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: associated function `new` is never used [INFO] [stdout] --> src/wram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl WRam { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 3 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bootrom.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Bootrom { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 6 | pub fn new(rom: Box<[u8]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write8` is never used [INFO] [stdout] --> src/cpu.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IO8 { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 12 | fn read8(&mut self, bus: &Peripherals, src: T) -> Option; [INFO] [stdout] 13 | fn write8(&mut self, bus: &mut Peripherals, dst: T, val: u8) -> Option<()>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read16` and `write16` are never used [INFO] [stdout] --> src/cpu.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait IO16 { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 17 | fn read16(&mut self, bus: &Peripherals, src: T) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | fn write16(&mut self, bus: &mut Peripherals, dst: T, val: u16) -> Option<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `opcode` and `cb` are never read [INFO] [stdout] --> src/cpu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Ctx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 23 | opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | cb: bool, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/cpu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Cpu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 28 | regs: registers::Registers, [INFO] [stdout] 29 | ctx: Ctx, [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: multiple variants are never constructed [INFO] [stdout] --> src/cpu/operands.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Reg8 { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 3 | A, [INFO] [stdout] | ^ [INFO] [stdout] 4 | B, [INFO] [stdout] | ^ [INFO] [stdout] 5 | C, [INFO] [stdout] | ^ [INFO] [stdout] 6 | D, [INFO] [stdout] | ^ [INFO] [stdout] 7 | E, [INFO] [stdout] | ^ [INFO] [stdout] 8 | H, [INFO] [stdout] | ^ [INFO] [stdout] 9 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg8` 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: variants `AF`, `BC`, `DE`, `HL`, and `SP` are never constructed [INFO] [stdout] --> src/cpu/operands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Reg16 { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | HL, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | SP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reg16` 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: variants `BC`, `DE`, `HL`, `CFF`, `HLD`, and `HLI` are never constructed [INFO] [stdout] --> src/cpu/operands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Indirect { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 29 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | HL, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | CFF, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | HLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | 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] [INFO] [stdout] [INFO] [stdout] warning: variants `D` and `DFF` are never constructed [INFO] [stdout] --> src/cpu/operands.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Direct8 { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 39 | D, [INFO] [stdout] | ^ [INFO] [stdout] 40 | DFF, [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: 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] = 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 `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] = note: `Direct16` 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: associated function `new` is never used [INFO] [stdout] --> src/hram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl HRam { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 3 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/peripherals.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Peripherals { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(bootrom: Bootrom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/registers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [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: associated function `new` is never used [INFO] [stdout] --> src/wram.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 2 | impl WRam { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 3 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "78fc311fb1e6bd49e5528e939d8987087809012f8568c745f72763778343c111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fc311fb1e6bd49e5528e939d8987087809012f8568c745f72763778343c111", kill_on_drop: false }` [INFO] [stdout] 78fc311fb1e6bd49e5528e939d8987087809012f8568c745f72763778343c111