[INFO] cloning repository https://github.com/lowlevelers/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/lowlevelers/nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowlevelers%2Fnes-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowlevelers%2Fnes-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 385a3eae905c8327e7e84f0e551a58bf8147b1ba [INFO] checking lowlevelers/nes-emulator against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flowlevelers%2Fnes-emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lowlevelers/nes-emulator [INFO] finished tweaking git repo https://github.com/lowlevelers/nes-emulator [INFO] tweaked toml for git repo https://github.com/lowlevelers/nes-emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lowlevelers/nes-emulator on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lowlevelers/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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad62b8f6332f5ae3cbf83cbe9b5f77509108933df8b33253a01c27df5304a622 [INFO] running `Command { std: "docker" "start" "-a" "ad62b8f6332f5ae3cbf83cbe9b5f77509108933df8b33253a01c27df5304a622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad62b8f6332f5ae3cbf83cbe9b5f77509108933df8b33253a01c27df5304a622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad62b8f6332f5ae3cbf83cbe9b5f77509108933df8b33253a01c27df5304a622", kill_on_drop: false }` [INFO] [stdout] ad62b8f6332f5ae3cbf83cbe9b5f77509108933df8b33253a01c27df5304a622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cd3da2947c432800833fefd1a7ae687ff19b42916af6a724411331b9c58d65d [INFO] running `Command { std: "docker" "start" "-a" "9cd3da2947c432800833fefd1a7ae687ff19b42916af6a724411331b9c58d65d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking nes-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `address::*` [INFO] [stdout] --> src/cpu/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use address::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::*` [INFO] [stdout] --> src/cpu/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use address::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debugger::*` [INFO] [stdout] --> src/cpu/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use debugger::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instr::*` [INFO] [stdout] --> src/cpu/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use instr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction::*` [INFO] [stdout] --> src/cpu/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opcode::*` [INFO] [stdout] --> src/cpu/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use opcode::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::Mem` [INFO] [stdout] --> src/main.rs:19:63 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{constant::ADDRESS_TEST_PROGRAM, cpu::Cpu6502, mem::Mem}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::*` [INFO] [stdout] --> src/cpu/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use address::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `address::*` [INFO] [stdout] --> src/cpu/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use address::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debugger::*` [INFO] [stdout] --> src/cpu/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use debugger::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instr::*` [INFO] [stdout] --> src/cpu/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use instr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instruction::*` [INFO] [stdout] --> src/cpu/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use instruction::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opcode::*` [INFO] [stdout] --> src/cpu/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use opcode::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/cpu6502.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/cpu6502.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/cpu6502.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/cpu/cpu6502.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ppu/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 33 | Self { [INFO] [stdout] 34 | ..Default::default() [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PpuRegister` is more private than the item `Ppu::registers` [INFO] [stdout] --> src/ppu/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub registers: PpuRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Ppu::registers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PpuRegister` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ppu/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct PpuRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NesEmulator` is never constructed [INFO] [stdout] --> src/nes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct NesEmulator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PpuRegister` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct PpuRegister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ppu` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_to_ppuaddr`, `write_to_ppuctrl`, and `write_to_ppumask` are never used [INFO] [stdout] --> src/ppu/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Ppu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 46 | fn write_to_ppuaddr(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn write_to_ppuctrl(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn write_to_ppumask(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PpuAddrRegister` is never constructed [INFO] [stdout] --> src/ppu/registers/ppuaddr.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PpuAddrRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ppu/registers/ppuaddr.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PpuAddrRegister { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn set(&mut self, data: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn mirror_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn write(&mut self, data: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn increment(&mut self, inc: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn reset_latch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ppu/registers/ppuctrl.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl PpuControlRegister { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 35 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn write(&mut self, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub const fn vram_increment(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub const fn spr_select(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub const fn bg_select(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub const fn spr_height(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn master_slave(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub const fn nmi_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/ppu/registers/ppumask.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl PpuMaskRegister { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 31 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write(&mut self, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ppu/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn default() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 33 | Self { [INFO] [stdout] 34 | ..Default::default() [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PpuRegister` is more private than the item `Ppu::registers` [INFO] [stdout] --> src/ppu/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub registers: PpuRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Ppu::registers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PpuRegister` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ppu/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct PpuRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NesEmulator` is never constructed [INFO] [stdout] --> src/nes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct NesEmulator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PpuRegister` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct PpuRegister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ppu` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_to_ppuaddr`, `write_to_ppuctrl`, and `write_to_ppumask` are never used [INFO] [stdout] --> src/ppu/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Ppu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 46 | fn write_to_ppuaddr(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn write_to_ppuctrl(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn write_to_ppumask(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PpuAddrRegister` is never constructed [INFO] [stdout] --> src/ppu/registers/ppuaddr.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PpuAddrRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ppu/registers/ppuaddr.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PpuAddrRegister { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn set(&mut self, data: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn mirror_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn write(&mut self, data: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn increment(&mut self, inc: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn reset_latch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ppu/registers/ppuctrl.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl PpuControlRegister { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 35 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn write(&mut self, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn nametable_addr(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub const fn vram_increment(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub const fn spr_select(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub const fn bg_select(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub const fn spr_height(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub const fn master_slave(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub const fn nmi_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/ppu/registers/ppumask.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl PpuMaskRegister { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 31 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write(&mut self, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.50s [INFO] running `Command { std: "docker" "inspect" "9cd3da2947c432800833fefd1a7ae687ff19b42916af6a724411331b9c58d65d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd3da2947c432800833fefd1a7ae687ff19b42916af6a724411331b9c58d65d", kill_on_drop: false }` [INFO] [stdout] 9cd3da2947c432800833fefd1a7ae687ff19b42916af6a724411331b9c58d65d