[INFO] cloning repository https://github.com/clawyq/nes-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clawyq/nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclawyq%2Fnes-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclawyq%2Fnes-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4490d2d3b2ae0a3125392806ca7d26903d5cca06 [INFO] checking clawyq/nes-emulator/4490d2d3b2ae0a3125392806ca7d26903d5cca06 against master#826b673412d2f579e7865b6f26bc9771c6d3b097 for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclawyq%2Fnes-emulator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/clawyq/nes-emulator on toolchain 826b673412d2f579e7865b6f26bc9771c6d3b097 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/clawyq/nes-emulator [INFO] finished tweaking git repo https://github.com/clawyq/nes-emulator [INFO] tweaked toml for git repo https://github.com/clawyq/nes-emulator written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/clawyq/nes-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de89068f54f126ce0c08844a6adcbd961b6a3fbcc4f8de8e3e4ce64c88c5ded9 [INFO] running `Command { std: "docker" "start" "-a" "de89068f54f126ce0c08844a6adcbd961b6a3fbcc4f8de8e3e4ce64c88c5ded9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de89068f54f126ce0c08844a6adcbd961b6a3fbcc4f8de8e3e4ce64c88c5ded9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de89068f54f126ce0c08844a6adcbd961b6a3fbcc4f8de8e3e4ce64c88c5ded9", kill_on_drop: false }` [INFO] [stdout] de89068f54f126ce0c08844a6adcbd961b6a3fbcc4f8de8e3e4ce64c88c5ded9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d131a0989a63763078d9713f4f3e181e4d2d3484910770a3896b47940d2edff [INFO] running `Command { std: "docker" "start" "-a" "1d131a0989a63763078d9713f4f3e181e4d2d3484910770a3896b47940d2edff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nes-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `FOUR_SCREEN` should have an upper camel case name [INFO] [stdout] --> src/rom.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | FOUR_SCREEN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourScreen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOUR_SCREEN` should have an upper camel case name [INFO] [stdout] --> src/rom.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | FOUR_SCREEN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourScreen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cpu.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn mem_write(&mut self, addr: u16, data: 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: `data` [INFO] [stdout] --> src/cpu.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | fn mem_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 684 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 254 | 0x00 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 257 | 0x69 | 0x65 | 0x75 | 0x6D | 0x7D | 0x79 | 0x61 | 0x71 => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 260 | 0x29 | 0x25 | 0x35 | 0x2D | 0x3D | 0x39 | 0x21 | 0x31 => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 263 | 0x0A => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 684 | _ => todo!(), [INFO] [stdout] | ^ ...and 82 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cpu.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn mem_write(&mut self, addr: u16, data: 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: `data` [INFO] [stdout] --> src/cpu.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | fn mem_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | let mut data = self.register_a; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | let mut data = self.mem_read(addr); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:859:23 [INFO] [stdout] | [INFO] [stdout] 859 | fn jsr(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 684 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 254 | 0x00 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 257 | 0x69 | 0x65 | 0x75 | 0x6D | 0x7D | 0x79 | 0x61 | 0x71 => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 260 | 0x29 | 0x25 | 0x35 | 0x2D | 0x3D | 0x39 | 0x21 | 0x31 => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 263 | 0x0A => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 684 | _ => todo!(), [INFO] [stdout] | ^ ...and 82 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | let mut data = self.register_a; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | let mut data = self.mem_read(addr); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu.rs:859:23 [INFO] [stdout] | [INFO] [stdout] 859 | fn jsr(&mut self, mode: &AddressingMode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Colour` is more private than the item `MaskRegister::emphasise` [INFO] [stdout] --> src/ppu/registers/mask.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MaskRegister::emphasise` is reachable at visibility `pub(ppu)` [INFO] [stdout] | [INFO] [stdout] note: but type `Colour` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ppu/registers/mask.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | enum Colour { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Indirect` is never constructed [INFO] [stdout] --> src/cpu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Indirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_and_run` and `load` are never used [INFO] [stdout] --> src/cpu.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn load_and_run(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn load(&mut self, program: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nametable_address`, `get_sprite_pattern_table_address`, `get_background_pattern_table_address`, `get_sprite_size`, and `get_master_slave_selection` are never used [INFO] [stdout] --> src/ppu/registers/control.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ControlRegister { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_nametable_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_sprite_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_background_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_master_slave_selection(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_greyscale`, `show_leftmost_background`, `show_leftmost_sprites`, `show_background`, `show_sprites`, and `emphasise` are never used [INFO] [stdout] --> src/ppu/registers/mask.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MaskRegister { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_greyscale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn show_leftmost_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn show_leftmost_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Colour` is never used [INFO] [stdout] --> src/ppu/registers/mask.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Colour { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_sprite_overflow` is never used [INFO] [stdout] --> src/ppu/registers/status.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl StatusRegister { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_sprite_overflow(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapper_type` is never read [INFO] [stdout] --> src/rom.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Rom { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | mapper_type: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestRom` is never constructed [INFO] [stdout] --> src/rom.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | struct TestRom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_rom` is never used [INFO] [stdout] --> src/rom.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn create_rom(rom: TestRom) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom` is never used [INFO] [stdout] --> src/rom.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn test_rom() -> Rom { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Colour` is more private than the item `MaskRegister::emphasise` [INFO] [stdout] --> src/ppu/registers/mask.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MaskRegister::emphasise` is reachable at visibility `pub(ppu)` [INFO] [stdout] | [INFO] [stdout] note: but type `Colour` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ppu/registers/mask.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | enum Colour { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Indirect` is never constructed [INFO] [stdout] --> src/cpu.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AddressingMode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Indirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nametable_address`, `get_sprite_pattern_table_address`, `get_background_pattern_table_address`, `get_sprite_size`, and `get_master_slave_selection` are never used [INFO] [stdout] --> src/ppu/registers/control.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ControlRegister { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_nametable_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_sprite_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_background_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_master_slave_selection(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_greyscale`, `show_leftmost_background`, `show_leftmost_sprites`, `show_background`, `show_sprites`, and `emphasise` are never used [INFO] [stdout] --> src/ppu/registers/mask.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MaskRegister { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_greyscale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn show_leftmost_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn show_leftmost_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Colour` is never used [INFO] [stdout] --> src/ppu/registers/mask.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Colour { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_sprite_overflow` is never used [INFO] [stdout] --> src/ppu/registers/status.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl StatusRegister { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_sprite_overflow(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapper_type` is never read [INFO] [stdout] --> src/rom.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Rom { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | mapper_type: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.58s [INFO] running `Command { std: "docker" "inspect" "1d131a0989a63763078d9713f4f3e181e4d2d3484910770a3896b47940d2edff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d131a0989a63763078d9713f4f3e181e4d2d3484910770a3896b47940d2edff", kill_on_drop: false }` [INFO] [stdout] 1d131a0989a63763078d9713f4f3e181e4d2d3484910770a3896b47940d2edff