[INFO] cloning repository https://github.com/toastbucket/dookieboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toastbucket/dookieboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastbucket%2Fdookieboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastbucket%2Fdookieboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adf9f0b73949cbd7eb5f2f2ff954272aefd81d46 [INFO] testing toastbucket/dookieboy against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoastbucket%2Fdookieboy" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toastbucket/dookieboy on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toastbucket/dookieboy [INFO] finished tweaking git repo https://github.com/toastbucket/dookieboy [INFO] tweaked toml for git repo https://github.com/toastbucket/dookieboy written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/toastbucket/dookieboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b84f3bc77cbf0da2d2b10d6d4795ae7bfbf9f174d01ab59860f9951f3a35d677 [INFO] running `Command { std: "docker" "start" "-a" "b84f3bc77cbf0da2d2b10d6d4795ae7bfbf9f174d01ab59860f9951f3a35d677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b84f3bc77cbf0da2d2b10d6d4795ae7bfbf9f174d01ab59860f9951f3a35d677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b84f3bc77cbf0da2d2b10d6d4795ae7bfbf9f174d01ab59860f9951f3a35d677", kill_on_drop: false }` [INFO] [stdout] b84f3bc77cbf0da2d2b10d6d4795ae7bfbf9f174d01ab59860f9951f3a35d677 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 977a4074acdb8879f69aa97c1fad5fea6e59217375e98a4868850628335c29b7 [INFO] running `Command { std: "docker" "start" "-a" "977a4074acdb8879f69aa97c1fad5fea6e59217375e98a4868850628335c29b7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling dookieboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cartridge/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/gameboy/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/gameboy/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::joypad::Joypad` [INFO] [stdout] --> src/gameboy/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::joypad::Joypad; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::Memory` [INFO] [stdout] --> src/gameboy/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/gameboy/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/gameboy/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 49 | / 'running: loop { [INFO] [stdout] 50 | | self.handle_sdl2_events()?; [INFO] [stdout] 51 | | sleep(Duration::from_millis(100)); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 53 | [INFO] [stdout] 54 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | 0xa2 => Some(Instruction::LdToMem(Register8Bit::A, Register16Bit::BC)), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 0xa2 => Some(Instruction::LdToMem(Register8Bit::A, Register16Bit::DE)), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | _ => panic!("Invalid instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | _ => panic!("Invalid instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | _ => panic!("Invalid instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cartridge/mod.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cartridge/mod.rs:162:45 [INFO] [stdout] | [INFO] [stdout] 162 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/joypad/mod.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RomOnly` [INFO] [stdout] --> src/cartridge/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RomOnly = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc1` [INFO] [stdout] --> src/cartridge/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Mbc1 = 0x01, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc1Ram` [INFO] [stdout] --> src/cartridge/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Mbc1Ram = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc1RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Mbc1RamBattery = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc2` [INFO] [stdout] --> src/cartridge/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Mbc2 = 0x05, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc2Battery` [INFO] [stdout] --> src/cartridge/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Mbc2Battery = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RomRam` [INFO] [stdout] --> src/cartridge/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | RomRam = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RomRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | RomRamBattery = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mmm01` [INFO] [stdout] --> src/cartridge/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Mmm01 = 0x0b, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mmm01Ram` [INFO] [stdout] --> src/cartridge/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Mmm01Ram = 0x0c, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mmm01RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Mmm01RamBattery =0x0d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3TimerBattery` [INFO] [stdout] --> src/cartridge/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Mbc3TimerBattery = 0x0f, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3TimerRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Mbc3TimerRamBattery = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3` [INFO] [stdout] --> src/cartridge/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Mbc3 = 0x11, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3Ram` [INFO] [stdout] --> src/cartridge/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Mbc3Ram = 0x12, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Mbc3RamBattery = 0x13, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5` [INFO] [stdout] --> src/cartridge/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Mbc5 = 0x19, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5Ram` [INFO] [stdout] --> src/cartridge/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Mbc5Ram = 0x1a, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Mbc5RamBattery = 0x1b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5Rumble` [INFO] [stdout] --> src/cartridge/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Mbc5Rumble = 0x1c, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5RumbleRam` [INFO] [stdout] --> src/cartridge/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Mbc5RumbleRam = 0x1d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5RumbleRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Mbc5RumbleRamBattery = 0x1e, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc6` [INFO] [stdout] --> src/cartridge/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Mbc6 = 0x20, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc7SensorRumbleRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Mbc7SensorRumbleRamBattery = 0x22, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PocketCamera` [INFO] [stdout] --> src/cartridge/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | PocketCamera = 0xfc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BandaiTama5` [INFO] [stdout] --> src/cartridge/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | BandaiTama5 = 0xfd, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HuC3` [INFO] [stdout] --> src/cartridge/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | HuC3 = 0xfe, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HuC1RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | HuC1RamBattery = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PgbMode` [INFO] [stdout] --> src/cartridge/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | PgbMode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CgbSupported` [INFO] [stdout] --> src/cartridge/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | CgbSupported, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CgbOnly` [INFO] [stdout] --> src/cartridge/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | CgbOnly, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/cartridge/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cart_type` [INFO] [stdout] --> src/cartridge/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | cart_type: CartridgeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cart_mode` [INFO] [stdout] --> src/cartridge/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | cart_mode: CartridgeMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | header_checksum: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cart_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | cart_checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cartridge/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn new() -> Header { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/cartridge/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `loaded` [INFO] [stdout] --> src/cartridge/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | loaded: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cartridge/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new() -> Cartridge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_rom` [INFO] [stdout] --> src/cartridge/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn load_rom(&mut self, path: String) -> Result<(),io::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_loaded` [INFO] [stdout] --> src/cartridge/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn is_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_header` [INFO] [stdout] --> src/cartridge/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare_nintendo_logo` [INFO] [stdout] --> src/cartridge/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn compare_nintendo_logo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_header_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn calc_header_checksum(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_cart_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn calc_cart_checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cpu/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/cpu/mod.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/cpu/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/cpu/mod.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/cpu/mod.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | A = 0, B, C, D, E, H, L [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Register8Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BC` [INFO] [stdout] --> src/cpu/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | BC = 1, DE = 3, HL = 5 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Register16Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/cpu/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | BC = 1, DE = 3, HL = 5 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Register16Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HL` [INFO] [stdout] --> src/cpu/mod.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | BC = 1, DE = 3, HL = 5 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Register16Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rf` [INFO] [stdout] --> src/cpu/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | rf: [u8; NUM_GP_REGS], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pc` [INFO] [stdout] --> src/cpu/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pc: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z` [INFO] [stdout] --> src/cpu/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | z: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/cpu/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | n: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h` [INFO] [stdout] --> src/cpu/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | h: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cy` [INFO] [stdout] --> src/cpu/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | cy: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mmu` [INFO] [stdout] --> src/cpu/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | mmu: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/cpu/mod.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn read_byte(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_byte` [INFO] [stdout] --> src/cpu/mod.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_reg` [INFO] [stdout] --> src/cpu/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_reg(&self, regop: Register8Bit) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_reg_16` [INFO] [stdout] --> src/cpu/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn get_reg_16(&self, regop: Register16Bit) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_reg` [INFO] [stdout] --> src/cpu/mod.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn set_reg(&mut self, regop: Register8Bit, val: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_reg_16` [INFO] [stdout] --> src/cpu/mod.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn set_reg_16(&mut self, regop: Register16Bit, val: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_all_regs` [INFO] [stdout] --> src/cpu/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn set_all_regs(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `and` [INFO] [stdout] --> src/cpu/mod.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn and(&mut self, regop: Register8Bit, operand: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/cpu/mod.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn subtract(&mut self, regop: Register8Bit, operand: u8, with_carry: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/cpu/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn add(&mut self, regop: Register8Bit, operand: u8, with_carry: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_register` [INFO] [stdout] --> src/cpu/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn load_register(&mut self, dest: Register8Bit, src: Register8Bit) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_to_mem` [INFO] [stdout] --> src/cpu/mod.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn ld_to_mem(&mut self, regop: Register8Bit, addr: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_from_mem` [INFO] [stdout] --> src/cpu/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn ld_from_mem(&mut self, regop: Register8Bit, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_instruction` [INFO] [stdout] --> src/cpu/mod.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | fn execute_instruction(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/cpu/mod.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/cpu/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cpu` [INFO] [stdout] --> src/gameboy/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cpu: Cpu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `canvas` [INFO] [stdout] --> src/gameboy/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | canvas: WindowCanvas, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Inc` [INFO] [stdout] --> src/cpu/instruction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Inc(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dec` [INFO] [stdout] --> src/cpu/instruction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Dec(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/cpu/instruction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | And(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AndFromMem` [INFO] [stdout] --> src/cpu/instruction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | AndFromMem(), // always uses HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AndImm` [INFO] [stdout] --> src/cpu/instruction.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | AndImm(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/cpu/instruction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Add(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddImm` [INFO] [stdout] --> src/cpu/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AddImm(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddFromMem` [INFO] [stdout] --> src/cpu/instruction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | AddFromMem(), // always uses HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Adc` [INFO] [stdout] --> src/cpu/instruction.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Adc(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AdcFromMem` [INFO] [stdout] --> src/cpu/instruction.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | AdcFromMem(), // always uses HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/cpu/instruction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Sub(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SubImm` [INFO] [stdout] --> src/cpu/instruction.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SubImm(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SubFromMem` [INFO] [stdout] --> src/cpu/instruction.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SubFromMem(), // always uses HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sbc` [INFO] [stdout] --> src/cpu/instruction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Sbc(Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SbcFromMem` [INFO] [stdout] --> src/cpu/instruction.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SbcFromMem(), // always uses HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdRegister` [INFO] [stdout] --> src/cpu/instruction.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LdRegister(Register8Bit, Register8Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdToMem` [INFO] [stdout] --> src/cpu/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LdToMem(Register8Bit, Register16Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdFromMem` [INFO] [stdout] --> src/cpu/instruction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LdFromMem(Register8Bit, Register16Bit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdToMemInc` [INFO] [stdout] --> src/cpu/instruction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | LdToMemInc(), // Always A and HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdToMemDec` [INFO] [stdout] --> src/cpu/instruction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LdToMemDec(), // Always A and HL [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdFromMemInc` [INFO] [stdout] --> src/cpu/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | LdFromMemInc(), // Always A and HL [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LdFromMemDec` [INFO] [stdout] --> src/cpu/instruction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | LdFromMemDec(), // Always A and HL [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_byte` [INFO] [stdout] --> src/cpu/instruction.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn from_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_byte` [INFO] [stdout] --> src/cpu/instruction.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn as_byte(self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/cpu/instruction.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycles` [INFO] [stdout] --> src/cpu/instruction.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 123 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.14s [INFO] running `Command { std: "docker" "inspect" "977a4074acdb8879f69aa97c1fad5fea6e59217375e98a4868850628335c29b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977a4074acdb8879f69aa97c1fad5fea6e59217375e98a4868850628335c29b7", kill_on_drop: false }` [INFO] [stdout] 977a4074acdb8879f69aa97c1fad5fea6e59217375e98a4868850628335c29b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d5706f748a5ee3a56fb3ec952e296b9be1120aed369602034f64293c9d6a6db [INFO] running `Command { std: "docker" "start" "-a" "4d5706f748a5ee3a56fb3ec952e296b9be1120aed369602034f64293c9d6a6db", kill_on_drop: false }` [INFO] [stderr] Compiling dookieboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/cartridge/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::Memory` [INFO] [stdout] --> src/cpu/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/gameboy/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/gameboy/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::joypad::Joypad` [INFO] [stdout] --> src/gameboy/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::joypad::Joypad; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::memory::Memory` [INFO] [stdout] --> src/gameboy/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/gameboy/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/gameboy/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 49 | / 'running: loop { [INFO] [stdout] 50 | | self.handle_sdl2_events()?; [INFO] [stdout] 51 | | sleep(Duration::from_millis(100)); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 53 | [INFO] [stdout] 54 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | 0xa2 => Some(Instruction::LdToMem(Register8Bit::A, Register16Bit::BC)), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | 0xa2 => Some(Instruction::LdToMem(Register8Bit::A, Register16Bit::DE)), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | _ => panic!("Invalid instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instruction.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | _ => panic!("Invalid instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | _ => panic!("Invalid instruction"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cartridge/mod.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cartridge/mod.rs:162:45 [INFO] [stdout] | [INFO] [stdout] 162 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/joypad/mod.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cpu/test.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | for i in 0..test_ram.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RomOnly` [INFO] [stdout] --> src/cartridge/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | RomOnly = 0x00, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc1` [INFO] [stdout] --> src/cartridge/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Mbc1 = 0x01, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc1Ram` [INFO] [stdout] --> src/cartridge/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Mbc1Ram = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc1RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Mbc1RamBattery = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc2` [INFO] [stdout] --> src/cartridge/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Mbc2 = 0x05, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc2Battery` [INFO] [stdout] --> src/cartridge/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Mbc2Battery = 0x06, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RomRam` [INFO] [stdout] --> src/cartridge/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | RomRam = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RomRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | RomRamBattery = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mmm01` [INFO] [stdout] --> src/cartridge/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Mmm01 = 0x0b, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mmm01Ram` [INFO] [stdout] --> src/cartridge/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Mmm01Ram = 0x0c, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mmm01RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Mmm01RamBattery =0x0d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3TimerBattery` [INFO] [stdout] --> src/cartridge/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Mbc3TimerBattery = 0x0f, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3TimerRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Mbc3TimerRamBattery = 0x10, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3` [INFO] [stdout] --> src/cartridge/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Mbc3 = 0x11, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3Ram` [INFO] [stdout] --> src/cartridge/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Mbc3Ram = 0x12, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc3RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Mbc3RamBattery = 0x13, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5` [INFO] [stdout] --> src/cartridge/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Mbc5 = 0x19, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5Ram` [INFO] [stdout] --> src/cartridge/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Mbc5Ram = 0x1a, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Mbc5RamBattery = 0x1b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5Rumble` [INFO] [stdout] --> src/cartridge/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Mbc5Rumble = 0x1c, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5RumbleRam` [INFO] [stdout] --> src/cartridge/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Mbc5RumbleRam = 0x1d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc5RumbleRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Mbc5RumbleRamBattery = 0x1e, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc6` [INFO] [stdout] --> src/cartridge/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Mbc6 = 0x20, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mbc7SensorRumbleRamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Mbc7SensorRumbleRamBattery = 0x22, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PocketCamera` [INFO] [stdout] --> src/cartridge/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | PocketCamera = 0xfc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BandaiTama5` [INFO] [stdout] --> src/cartridge/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | BandaiTama5 = 0xfd, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HuC3` [INFO] [stdout] --> src/cartridge/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | HuC3 = 0xfe, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HuC1RamBattery` [INFO] [stdout] --> src/cartridge/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | HuC1RamBattery = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PgbMode` [INFO] [stdout] --> src/cartridge/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | PgbMode, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CgbSupported` [INFO] [stdout] --> src/cartridge/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | CgbSupported, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CgbOnly` [INFO] [stdout] --> src/cartridge/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | CgbOnly, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cartridge/mod.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/cartridge/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cart_type` [INFO] [stdout] --> src/cartridge/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | cart_type: CartridgeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cart_mode` [INFO] [stdout] --> src/cartridge/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | cart_mode: CartridgeMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | header_checksum: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cart_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | cart_checksum: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cartridge/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn new() -> Header { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/cartridge/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `loaded` [INFO] [stdout] --> src/cartridge/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | loaded: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cartridge/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new() -> Cartridge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_rom` [INFO] [stdout] --> src/cartridge/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn load_rom(&mut self, path: String) -> Result<(),io::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_loaded` [INFO] [stdout] --> src/cartridge/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn is_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_header` [INFO] [stdout] --> src/cartridge/mod.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compare_nintendo_logo` [INFO] [stdout] --> src/cartridge/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn compare_nintendo_logo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_header_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn calc_header_checksum(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc_cart_checksum` [INFO] [stdout] --> src/cartridge/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn calc_cart_checksum(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mmu` [INFO] [stdout] --> src/cpu/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | mmu: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cpu` [INFO] [stdout] --> src/gameboy/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | cpu: Cpu, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `canvas` [INFO] [stdout] --> src/gameboy/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | canvas: WindowCanvas, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycles` [INFO] [stdout] --> src/cpu/instruction.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "4d5706f748a5ee3a56fb3ec952e296b9be1120aed369602034f64293c9d6a6db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5706f748a5ee3a56fb3ec952e296b9be1120aed369602034f64293c9d6a6db", kill_on_drop: false }` [INFO] [stdout] 4d5706f748a5ee3a56fb3ec952e296b9be1120aed369602034f64293c9d6a6db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 442bc6b3f408527ac8dacf39b6493f5375ca095938c5c0ad304a1b872df41797 [INFO] running `Command { std: "docker" "start" "-a" "442bc6b3f408527ac8dacf39b6493f5375ca095938c5c0ad304a1b872df41797", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/cartridge/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::memory::Memory` [INFO] [stderr] --> src/cpu/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::memory::Memory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/gameboy/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::EventPump` [INFO] [stderr] --> src/gameboy/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use sdl2::EventPump; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::joypad::Joypad` [INFO] [stderr] --> src/gameboy/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::joypad::Joypad; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::memory::Memory` [INFO] [stderr] --> src/gameboy/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::memory::Memory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/gameboy/mod.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | 'running: loop { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/gameboy/mod.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 49 | / 'running: loop { [INFO] [stderr] 50 | | self.handle_sdl2_events()?; [INFO] [stderr] 51 | | sleep(Duration::from_millis(100)); [INFO] [stderr] 52 | | } [INFO] [stderr] | |_________- any code following this expression is unreachable [INFO] [stderr] 53 | [INFO] [stderr] 54 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu/instruction.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | 0xa2 => Some(Instruction::LdToMem(Register8Bit::A, Register16Bit::BC)), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu/instruction.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | 0xa2 => Some(Instruction::LdToMem(Register8Bit::A, Register16Bit::DE)), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu/instruction.rs:375:13 [INFO] [stderr] | [INFO] [stderr] 375 | _ => panic!("Invalid instruction"), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu/instruction.rs:403:13 [INFO] [stderr] | [INFO] [stderr] 403 | _ => panic!("Invalid instruction"), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/cpu/mod.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | _ => panic!("Invalid instruction"), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/cartridge/mod.rs:162:34 [INFO] [stderr] | [INFO] [stderr] 162 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/cartridge/mod.rs:162:45 [INFO] [stderr] | [INFO] [stderr] 162 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/joypad/mod.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | fn mem_write_byte(&mut self, addr: u16, val: u8) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:247:9 [INFO] [stderr] | [INFO] [stderr] 247 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:276:9 [INFO] [stderr] | [INFO] [stderr] 276 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:305:9 [INFO] [stderr] | [INFO] [stderr] 305 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 334 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:364:9 [INFO] [stderr] | [INFO] [stderr] 364 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cpu/test.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | for i in 0..test_ram.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RomOnly` [INFO] [stderr] --> src/cartridge/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | RomOnly = 0x00, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc1` [INFO] [stderr] --> src/cartridge/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Mbc1 = 0x01, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc1Ram` [INFO] [stderr] --> src/cartridge/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Mbc1Ram = 0x02, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc1RamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Mbc1RamBattery = 0x03, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc2` [INFO] [stderr] --> src/cartridge/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Mbc2 = 0x05, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc2Battery` [INFO] [stderr] --> src/cartridge/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Mbc2Battery = 0x06, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RomRam` [INFO] [stderr] --> src/cartridge/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | RomRam = 0x08, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RomRamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | RomRamBattery = 0x09, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mmm01` [INFO] [stderr] --> src/cartridge/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Mmm01 = 0x0b, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mmm01Ram` [INFO] [stderr] --> src/cartridge/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | Mmm01Ram = 0x0c, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mmm01RamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Mmm01RamBattery =0x0d, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc3TimerBattery` [INFO] [stderr] --> src/cartridge/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | Mbc3TimerBattery = 0x0f, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc3TimerRamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Mbc3TimerRamBattery = 0x10, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc3` [INFO] [stderr] --> src/cartridge/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Mbc3 = 0x11, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc3Ram` [INFO] [stderr] --> src/cartridge/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Mbc3Ram = 0x12, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc3RamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Mbc3RamBattery = 0x13, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc5` [INFO] [stderr] --> src/cartridge/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | Mbc5 = 0x19, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc5Ram` [INFO] [stderr] --> src/cartridge/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | Mbc5Ram = 0x1a, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc5RamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Mbc5RamBattery = 0x1b, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc5Rumble` [INFO] [stderr] --> src/cartridge/mod.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Mbc5Rumble = 0x1c, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc5RumbleRam` [INFO] [stderr] --> src/cartridge/mod.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | Mbc5RumbleRam = 0x1d, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc5RumbleRamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | Mbc5RumbleRamBattery = 0x1e, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc6` [INFO] [stderr] --> src/cartridge/mod.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | Mbc6 = 0x20, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Mbc7SensorRumbleRamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | Mbc7SensorRumbleRamBattery = 0x22, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PocketCamera` [INFO] [stderr] --> src/cartridge/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | PocketCamera = 0xfc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BandaiTama5` [INFO] [stderr] --> src/cartridge/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | BandaiTama5 = 0xfd, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HuC3` [INFO] [stderr] --> src/cartridge/mod.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | HuC3 = 0xfe, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HuC1RamBattery` [INFO] [stderr] --> src/cartridge/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | HuC1RamBattery = 0xff, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PgbMode` [INFO] [stderr] --> src/cartridge/mod.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | PgbMode, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CgbSupported` [INFO] [stderr] --> src/cartridge/mod.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | CgbSupported, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CgbOnly` [INFO] [stderr] --> src/cartridge/mod.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | CgbOnly, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CartridgeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cartridge/mod.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `title` [INFO] [stderr] --> src/cartridge/mod.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | title: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cart_type` [INFO] [stderr] --> src/cartridge/mod.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | cart_type: CartridgeType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cart_mode` [INFO] [stderr] --> src/cartridge/mod.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | cart_mode: CartridgeMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header_checksum` [INFO] [stderr] --> src/cartridge/mod.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | header_checksum: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cart_checksum` [INFO] [stderr] --> src/cartridge/mod.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | cart_checksum: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/cartridge/mod.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | fn new() -> Header { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `header` [INFO] [stderr] --> src/cartridge/mod.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | header: Header, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `loaded` [INFO] [stderr] --> src/cartridge/mod.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | loaded: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/cartridge/mod.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn new() -> Cartridge { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_rom` [INFO] [stderr] --> src/cartridge/mod.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn load_rom(&mut self, path: String) -> Result<(),io::Error> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_loaded` [INFO] [stderr] --> src/cartridge/mod.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn is_loaded(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_header` [INFO] [stderr] --> src/cartridge/mod.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | fn parse_header(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `compare_nintendo_logo` [INFO] [stderr] --> src/cartridge/mod.rs:117:8 [INFO] [stderr] | [INFO] [stderr] 117 | fn compare_nintendo_logo(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `calc_header_checksum` [INFO] [stderr] --> src/cartridge/mod.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 136 | fn calc_header_checksum(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `calc_cart_checksum` [INFO] [stderr] --> src/cartridge/mod.rs:145:8 [INFO] [stderr] | [INFO] [stderr] 145 | fn calc_cart_checksum(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sp` [INFO] [stderr] --> src/cpu/mod.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | sp: u16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mmu` [INFO] [stderr] --> src/cpu/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | mmu: Rc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cpu` [INFO] [stderr] --> src/gameboy/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | cpu: Cpu, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `canvas` [INFO] [stderr] --> src/gameboy/mod.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | canvas: WindowCanvas, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cycles` [INFO] [stderr] --> src/cpu/instruction.rs:379:12 [INFO] [stderr] | [INFO] [stderr] 379 | pub fn cycles(&self) -> usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dookieboy` (bin "dookieboy" test) generated 78 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dookieboy-04894b0a54361130) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test cpu::test::test_adc_mem_carry ... ok [INFO] [stdout] test cpu::test::test_adc_mem_carry_overflow ... ok [INFO] [stdout] test cpu::test::test_add ... ok [INFO] [stdout] test cpu::test::test_add_carry ... ok [INFO] [stdout] test cpu::test::test_add_carry_overflow ... ok [INFO] [stdout] test cpu::test::test_add_immediate ... ok [INFO] [stdout] test cpu::test::test_add_immediate_overflow ... ok [INFO] [stdout] test cpu::test::test_add_mem ... ok [INFO] [stdout] test cpu::test::test_add_overflow ... ok [INFO] [stdout] test cpu::test::test_all_decrements ... ok [INFO] [stdout] test cpu::test::test_all_increments ... ok [INFO] [stdout] test cpu::test::test_and ... ok [INFO] [stdout] test cpu::test::test_and_imm ... ok [INFO] [stdout] test cpu::test::test_increment_overflow ... ok [INFO] [stdout] test cpu::test::test_and_mem ... ok [INFO] [stdout] test cpu::test::test_ld_b_a ... ok [INFO] [stdout] test cpu::test::test_ld_from_mem ... ok [INFO] [stdout] test cpu::test::test_ld_from_mem_dec ... ok [INFO] [stdout] test cpu::test::test_ld_from_mem_inc ... ok [INFO] [stdout] test cpu::test::test_ld_to_mem ... ok [INFO] [stdout] test cpu::test::test_ld_to_mem_dec ... ok [INFO] [stdout] test cpu::test::test_ld_to_mem_inc ... ok [INFO] [stdout] test cpu::test::test_sbc_mem_carry ... ok [INFO] [stdout] test cpu::test::test_sbc_mem_carry_overflow ... ok [INFO] [stdout] test cpu::test::test_sub ... ok [INFO] [stdout] test cpu::test::test_sub_carry ... ok [INFO] [stdout] test cpu::test::test_sub_carry_overflow ... ok [INFO] [stdout] test cpu::test::test_sub_immediate_overflow ... ok [INFO] [stdout] test cpu::test::test_sub_mem ... ok [INFO] [stdout] test cpu::test::test_sub_immediate ... ok [INFO] [stdout] test joypad::test::test_joypad_reg ... ok [INFO] [stdout] test cpu::test::test_sub_overflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "442bc6b3f408527ac8dacf39b6493f5375ca095938c5c0ad304a1b872df41797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "442bc6b3f408527ac8dacf39b6493f5375ca095938c5c0ad304a1b872df41797", kill_on_drop: false }` [INFO] [stdout] 442bc6b3f408527ac8dacf39b6493f5375ca095938c5c0ad304a1b872df41797