[INFO] cloning repository https://github.com/srleyva/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/srleyva/NES-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrleyva%2FNES-Emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrleyva%2FNES-Emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80c13b32c10ad78a87bab2e05be953569cc22bef [INFO] checking srleyva/NES-Emulator against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrleyva%2FNES-Emulator" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/srleyva/NES-Emulator on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/srleyva/NES-Emulator [INFO] finished tweaking git repo https://github.com/srleyva/NES-Emulator [INFO] tweaked toml for git repo https://github.com/srleyva/NES-Emulator written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/srleyva/NES-Emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codegen v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46222d62a5d446993b4a05a85839597871033a699488985e3948f9450170f960 [INFO] running `Command { std: "docker" "start" "-a" "46222d62a5d446993b4a05a85839597871033a699488985e3948f9450170f960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46222d62a5d446993b4a05a85839597871033a699488985e3948f9450170f960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46222d62a5d446993b4a05a85839597871033a699488985e3948f9450170f960", kill_on_drop: false }` [INFO] [stdout] 46222d62a5d446993b4a05a85839597871033a699488985e3948f9450170f960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b44069eeb0609f7aa2e64e34a24af4a6d45cd98ff92bfb981678726f1f38832 [INFO] running `Command { std: "docker" "start" "-a" "0b44069eeb0609f7aa2e64e34a24af4a6d45cd98ff92bfb981678726f1f38832", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling codegen v0.1.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling nes v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bus/mod.rs (2 fixes) [INFO] [stderr] Fixed src/ppu/address.rs (1 fix) [INFO] [stderr] Fixed src/cpu/mod.rs (21 fixes) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `write_word` [INFO] [stdout] --> src/bus/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn write_word(&mut self, address: u16, word: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_break2` [INFO] [stdout] --> src/cpu/processor_status.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_break2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_tile` [INFO] [stdout] --> src/ppu/frame.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn show_tile(chr_rom: &[u8], bank: usize, tile_n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nametable_addr` [INFO] [stdout] --> src/ppu/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprt_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sprt_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bknd_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn bknd_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprite_size` [INFO] [stdout] --> src/ppu/registers.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `master_slave_select` [INFO] [stdout] --> src/ppu/registers.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn master_slave_select(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_zero_hit` [INFO] [stdout] --> src/ppu/registers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn set_sprite_zero_hit(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_overflow` [INFO] [stdout] --> src/ppu/registers.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_sprite_overflow(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/ppu/registers.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_grayscale` [INFO] [stdout] --> src/ppu/registers.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn is_grayscale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_background` [INFO] [stdout] --> src/ppu/registers.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn leftmost_8pxl_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_sprite` [INFO] [stdout] --> src/ppu/registers.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn leftmost_8pxl_sprite(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_background` [INFO] [stdout] --> src/ppu/registers.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_sprites` [INFO] [stdout] --> src/ppu/registers.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emphasise` [INFO] [stdout] --> src/ppu/registers.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/scroll.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/ppu/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn render(&mut self, frame: &mut Frame) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> src/rom/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) mapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `color` [INFO] [stdout] --> src/lib.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn color(byte: u8) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `get_break2` [INFO] [stdout] --> src/cpu/processor_status.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_break2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_tile` [INFO] [stdout] --> src/ppu/frame.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn show_tile(chr_rom: &[u8], bank: usize, tile_n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nametable_addr` [INFO] [stdout] --> src/ppu/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprt_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sprt_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bknd_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn bknd_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprite_size` [INFO] [stdout] --> src/ppu/registers.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `master_slave_select` [INFO] [stdout] --> src/ppu/registers.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn master_slave_select(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_zero_hit` [INFO] [stdout] --> src/ppu/registers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn set_sprite_zero_hit(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_overflow` [INFO] [stdout] --> src/ppu/registers.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_sprite_overflow(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/ppu/registers.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_grayscale` [INFO] [stdout] --> src/ppu/registers.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn is_grayscale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_background` [INFO] [stdout] --> src/ppu/registers.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn leftmost_8pxl_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_sprite` [INFO] [stdout] --> src/ppu/registers.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn leftmost_8pxl_sprite(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_background` [INFO] [stdout] --> src/ppu/registers.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_sprites` [INFO] [stdout] --> src/ppu/registers.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emphasise` [INFO] [stdout] --> src/ppu/registers.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/scroll.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/ppu/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn render(&mut self, frame: &mut Frame) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> src/rom/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) mapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `color` [INFO] [stdout] --> src/lib.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn color(byte: u8) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.84s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling nes v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated function is never used: `write_word` [INFO] [stdout] --> src/bus/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn write_word(&mut self, address: u16, word: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_break2` [INFO] [stdout] --> src/cpu/processor_status.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_break2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_tile` [INFO] [stdout] --> src/ppu/frame.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn show_tile(chr_rom: &[u8], bank: usize, tile_n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nametable_addr` [INFO] [stdout] --> src/ppu/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprt_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sprt_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bknd_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn bknd_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprite_size` [INFO] [stdout] --> src/ppu/registers.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `master_slave_select` [INFO] [stdout] --> src/ppu/registers.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn master_slave_select(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_zero_hit` [INFO] [stdout] --> src/ppu/registers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn set_sprite_zero_hit(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_overflow` [INFO] [stdout] --> src/ppu/registers.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_sprite_overflow(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/ppu/registers.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_grayscale` [INFO] [stdout] --> src/ppu/registers.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn is_grayscale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_background` [INFO] [stdout] --> src/ppu/registers.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn leftmost_8pxl_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_sprite` [INFO] [stdout] --> src/ppu/registers.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn leftmost_8pxl_sprite(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_background` [INFO] [stdout] --> src/ppu/registers.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_sprites` [INFO] [stdout] --> src/ppu/registers.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emphasise` [INFO] [stdout] --> src/ppu/registers.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/scroll.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/ppu/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn render(&mut self, frame: &mut Frame) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> src/rom/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) mapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `color` [INFO] [stdout] --> src/lib.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn color(byte: u8) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_break2` [INFO] [stdout] --> src/cpu/processor_status.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_break2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_tile` [INFO] [stdout] --> src/ppu/frame.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn show_tile(chr_rom: &[u8], bank: usize, tile_n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nametable_addr` [INFO] [stdout] --> src/ppu/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprt_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn sprt_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bknd_pattern_addr` [INFO] [stdout] --> src/ppu/registers.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn bknd_pattern_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sprite_size` [INFO] [stdout] --> src/ppu/registers.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `master_slave_select` [INFO] [stdout] --> src/ppu/registers.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn master_slave_select(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_zero_hit` [INFO] [stdout] --> src/ppu/registers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn set_sprite_zero_hit(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sprite_overflow` [INFO] [stdout] --> src/ppu/registers.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_sprite_overflow(&mut self, status: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/ppu/registers.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/registers.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_grayscale` [INFO] [stdout] --> src/ppu/registers.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn is_grayscale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_background` [INFO] [stdout] --> src/ppu/registers.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn leftmost_8pxl_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `leftmost_8pxl_sprite` [INFO] [stdout] --> src/ppu/registers.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn leftmost_8pxl_sprite(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_background` [INFO] [stdout] --> src/ppu/registers.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_sprites` [INFO] [stdout] --> src/ppu/registers.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emphasise` [INFO] [stdout] --> src/ppu/registers.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn emphasise(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ppu/scroll.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/ppu/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn render(&mut self, frame: &mut Frame) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mapper` [INFO] [stdout] --> src/rom/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) mapper: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `color` [INFO] [stdout] --> src/lib.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn color(byte: u8) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "0b44069eeb0609f7aa2e64e34a24af4a6d45cd98ff92bfb981678726f1f38832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b44069eeb0609f7aa2e64e34a24af4a6d45cd98ff92bfb981678726f1f38832", kill_on_drop: false }` [INFO] [stdout] 0b44069eeb0609f7aa2e64e34a24af4a6d45cd98ff92bfb981678726f1f38832