[INFO] cloning repository https://github.com/biran0083/nes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/biran0083/nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiran0083%2Fnes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiran0083%2Fnes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e42f343fe24c03cc641dce27298ee8b199f2a32 [INFO] checking biran0083/nes/1e42f343fe24c03cc641dce27298ee8b199f2a32 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiran0083%2Fnes" "/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/biran0083/nes on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/biran0083/nes [INFO] finished tweaking git repo https://github.com/biran0083/nes [INFO] tweaked toml for git repo https://github.com/biran0083/nes written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/biran0083/nes 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-stack v0.4.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd2dbf0ec788cf466b15525f1c07635c9dd01185c04fe90d42513bee9738ae3d [INFO] running `Command { std: "docker" "start" "-a" "cd2dbf0ec788cf466b15525f1c07635c9dd01185c04fe90d42513bee9738ae3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd2dbf0ec788cf466b15525f1c07635c9dd01185c04fe90d42513bee9738ae3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2dbf0ec788cf466b15525f1c07635c9dd01185c04fe90d42513bee9738ae3d", kill_on_drop: false }` [INFO] [stdout] cd2dbf0ec788cf466b15525f1c07635c9dd01185c04fe90d42513bee9738ae3d [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 927c4dc57ecfaf2ea2ca93b773c10f754093e42df79f657141ef2957c5b62748 [INFO] running `Command { std: "docker" "start" "-a" "927c4dc57ecfaf2ea2ca93b773c10f754093e42df79f657141ef2957c5b62748", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling error-stack v0.4.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ppu::PPU` [INFO] [stdout] --> src/cpu/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ppu::PPU, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ppu::PPU` [INFO] [stdout] --> src/cpu/cpu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ppu::PPU, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Register8::*` [INFO] [stdout] --> src/instructions/common.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | use crate::cpu::Register8::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/instructions/tax.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_t_inst!(A, X, &[ [INFO] [stdout] 4 | | (0xAA, AddressingMode::Implied), [INFO] [stdout] 5 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_t_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Register8::*` [INFO] [stdout] --> src/instructions/common.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | use crate::cpu::Register8::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/instructions/tay.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_t_inst!(A, Y, &[ [INFO] [stdout] 4 | | (0xA8, AddressingMode::Implied), [INFO] [stdout] 5 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_t_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Register8::*` [INFO] [stdout] --> src/instructions/common.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | use crate::cpu::Register8::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/instructions/tsx.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_t_inst!(SP, X, &[ [INFO] [stdout] 4 | | (0xBA, AddressingMode::Implied), [INFO] [stdout] 5 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_t_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Register8::*` [INFO] [stdout] --> src/instructions/common.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | use crate::cpu::Register8::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/instructions/txa.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_t_inst!(X, A, &[ [INFO] [stdout] 4 | | (0x8A, AddressingMode::Implied), [INFO] [stdout] 5 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_t_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Register8::*` [INFO] [stdout] --> src/instructions/common.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | use crate::cpu::Register8::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/instructions/txs.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_t_inst!(X, SP, &[ [INFO] [stdout] 4 | | (0x9A, AddressingMode::Implied), [INFO] [stdout] 5 | | ], [INFO] [stdout] 6 | | false); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_t_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Register8::*` [INFO] [stdout] --> src/instructions/common.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | use crate::cpu::Register8::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/instructions/tya.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / define_t_inst!(Y, A, &[ [INFO] [stdout] 4 | | (0x98, AddressingMode::Implied), [INFO] [stdout] 5 | | ]); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_t_inst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prg_rom` is never read [INFO] [stdout] --> src/bus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | prg_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bus.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Bus { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(f: NesFile) -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/cpu.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl CPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(file: NesFile) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `title` are never read [INFO] [stdout] --> src/nes_format.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NesFile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub header: NesHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags_6`, `flags_7`, `prg_ram_size`, `flags_9`, and `flags_10` are never read [INFO] [stdout] --> src/nes_format.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NesHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub flags_6: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub flags_7: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub flags_9: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub flags_10: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Vertical` is never constructed [INFO] [stdout] --> src/nes_format.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Mirroring { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 22 | Horizontal, [INFO] [stdout] 23 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mirroring` is never used [INFO] [stdout] --> src/nes_format.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl NesFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 27 | pub fn mirroring(&self) -> Mirroring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_written` is never used [INFO] [stdout] --> src/ppu/ppu.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AddressRegister { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_last_written(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mask`, `oam_addr`, `scroll`, `data`, and `oam_dma` are never read [INFO] [stdout] --> src/ppu/ppu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct PpuRegisters { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | mask: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | status: u8, [INFO] [stdout] 69 | oam_addr: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | oam_data: u8, [INFO] [stdout] 71 | scroll: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | addr: RefCell, [INFO] [stdout] 73 | data: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | oam_dma: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_background_table_address`, `get_sprite_table_address`, and `get_name_table_address` are never used [INFO] [stdout] --> src/ppu/ppu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl PpuRegisters { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_background_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_sprite_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_name_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam_data` is never read [INFO] [stdout] --> src/ppu/ppu.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct PPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | oam_data: [u8; 256], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ppu/ppu.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl PPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 158 | pub fn new(chr_rom: Vec, mirroring: Mirroring) -> PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prg_rom` is never read [INFO] [stdout] --> src/bus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Bus { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | prg_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bus.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Bus { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(f: NesFile) -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/cpu.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl CPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(file: NesFile) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `title` are never read [INFO] [stdout] --> src/nes_format.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NesFile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub header: NesHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags_6`, `flags_7`, `prg_ram_size`, `flags_9`, and `flags_10` are never read [INFO] [stdout] --> src/nes_format.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NesHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub flags_6: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub flags_7: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub flags_9: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub flags_10: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Vertical` is never constructed [INFO] [stdout] --> src/nes_format.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Mirroring { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 22 | Horizontal, [INFO] [stdout] 23 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mirroring` is never used [INFO] [stdout] --> src/nes_format.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl NesFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 27 | pub fn mirroring(&self) -> Mirroring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_written` is never used [INFO] [stdout] --> src/ppu/ppu.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl AddressRegister { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_last_written(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mask`, `oam_addr`, `scroll`, `data`, and `oam_dma` are never read [INFO] [stdout] --> src/ppu/ppu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct PpuRegisters { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | mask: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | status: u8, [INFO] [stdout] 69 | oam_addr: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 70 | oam_data: u8, [INFO] [stdout] 71 | scroll: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 72 | addr: RefCell, [INFO] [stdout] 73 | data: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | oam_dma: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_background_table_address`, `get_sprite_table_address`, and `get_name_table_address` are never used [INFO] [stdout] --> src/ppu/ppu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl PpuRegisters { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_background_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_sprite_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_name_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam_data` is never read [INFO] [stdout] --> src/ppu/ppu.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct PPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | oam_data: [u8; 256], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ppu/ppu.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl PPU { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 158 | pub fn new(chr_rom: Vec, mirroring: Mirroring) -> PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.15s [INFO] running `Command { std: "docker" "inspect" "927c4dc57ecfaf2ea2ca93b773c10f754093e42df79f657141ef2957c5b62748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "927c4dc57ecfaf2ea2ca93b773c10f754093e42df79f657141ef2957c5b62748", kill_on_drop: false }` [INFO] [stdout] 927c4dc57ecfaf2ea2ca93b773c10f754093e42df79f657141ef2957c5b62748