[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#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [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] validating manifest of git repo https://github.com/lowlevelers/nes-emulator on toolchain be699666730c5a1745838222e98e2d85019affdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+be699666730c5a1745838222e98e2d85019affdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9010c4d539ea0bfe55963c5b4dbb0e1c049336e43f5d260bf521a519c599df73 [INFO] running `Command { std: "docker" "start" "-a" "9010c4d539ea0bfe55963c5b4dbb0e1c049336e43f5d260bf521a519c599df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9010c4d539ea0bfe55963c5b4dbb0e1c049336e43f5d260bf521a519c599df73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9010c4d539ea0bfe55963c5b4dbb0e1c049336e43f5d260bf521a519c599df73", kill_on_drop: false }` [INFO] [stdout] 9010c4d539ea0bfe55963c5b4dbb0e1c049336e43f5d260bf521a519c599df73 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95e3dd438e80d2ea48adb18d1d257feeae90db9af146224407d309255007c155 [INFO] running `Command { std: "docker" "start" "-a" "95e3dd438e80d2ea48adb18d1d257feeae90db9af146224407d309255007c155", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.33 [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)]` 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)]` 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: 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: fields `cpu` and `ppu` are never read [INFO] [stdout] --> src/nes.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | struct NesEmulator { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 6 | pub cpu: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub ppu: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct PpuRegister { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | // $2000 - PPUCTRL controller [INFO] [stdout] 14 | ppuctrl: PpuControlRegister, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | // $2001 - PPUMASK mask register [INFO] [stdout] 16 | ppumask: PpuMaskRegister, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | // $2002 - PPUSTATUS status [INFO] [stdout] 18 | ppustatus: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | // $2003 - OAM data read/write [INFO] [stdout] 20 | odmadata: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | // $2004 - OAM data read/write [INFO] [stdout] 22 | oamdata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | // $2005 - fine scroll position [INFO] [stdout] 24 | ppuscroll: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | // $2006 - PPU read/write address (two writes: most significant byte, least significant byte) [INFO] [stdout] 26 | ppuaddr: PpuAddrRegister, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | // $2007 - PPU data read/write [INFO] [stdout] 28 | ppudata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PpuRegister` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registers` is never read [INFO] [stdout] --> src/ppu/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Ppu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 41 | pub registers: PpuRegister, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ppu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: fields `value` and `hi_ptr` are never read [INFO] [stdout] --> src/ppu/registers/ppuaddr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PpuAddrRegister { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | value: (u8, u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | hi_ptr: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PpuAddrRegister` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: fields `cpu` and `ppu` are never read [INFO] [stdout] --> src/nes.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | struct NesEmulator { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 6 | pub cpu: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub ppu: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ppu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct PpuRegister { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 13 | // $2000 - PPUCTRL controller [INFO] [stdout] 14 | ppuctrl: PpuControlRegister, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | // $2001 - PPUMASK mask register [INFO] [stdout] 16 | ppumask: PpuMaskRegister, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | // $2002 - PPUSTATUS status [INFO] [stdout] 18 | ppustatus: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | // $2003 - OAM data read/write [INFO] [stdout] 20 | odmadata: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | // $2004 - OAM data read/write [INFO] [stdout] 22 | oamdata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | // $2005 - fine scroll position [INFO] [stdout] 24 | ppuscroll: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | // $2006 - PPU read/write address (two writes: most significant byte, least significant byte) [INFO] [stdout] 26 | ppuaddr: PpuAddrRegister, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | // $2007 - PPU data read/write [INFO] [stdout] 28 | ppudata: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PpuRegister` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `registers` is never read [INFO] [stdout] --> src/ppu/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Ppu { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 41 | pub registers: PpuRegister, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ppu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: fields `value` and `hi_ptr` are never read [INFO] [stdout] --> src/ppu/registers/ppuaddr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PpuAddrRegister { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | value: (u8, u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | hi_ptr: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PpuAddrRegister` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stderr] error: could not compile `nes-emulator` (bin "nes-emulator" test); 14 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/be699666730c5a1745838222e98e2d85019affdc/bin/rustc --crate-name nes_emulator --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=31dc997ddf8d7385 -C extra-filename=-7fcb2e6ec584960b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-ea5b9439ee400b81.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-2eff7577baba20aa.rmeta --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-6727854430ae9612.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-89a5e7b20dc16a6d.rmeta --extern structopt=/opt/rustwide/target/debug/deps/libstructopt-be6c1579ffb17a36.rmeta --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "95e3dd438e80d2ea48adb18d1d257feeae90db9af146224407d309255007c155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e3dd438e80d2ea48adb18d1d257feeae90db9af146224407d309255007c155", kill_on_drop: false }` [INFO] [stdout] 95e3dd438e80d2ea48adb18d1d257feeae90db9af146224407d309255007c155