[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 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiran0083%2Fnes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/biran0083/nes on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d30984c8933cd668665ebaa77c8c4537585ee01d21541233118a3e2678c876d2
[INFO] running `Command { std: "docker" "start" "-a" "d30984c8933cd668665ebaa77c8c4537585ee01d21541233118a3e2678c876d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d30984c8933cd668665ebaa77c8c4537585ee01d21541233118a3e2678c876d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d30984c8933cd668665ebaa77c8c4537585ee01d21541233118a3e2678c876d2", kill_on_drop: false }`
[INFO] [stdout] d30984c8933cd668665ebaa77c8c4537585ee01d21541233118a3e2678c876d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77fb690ae5c2d22db5ebf8c07bdd1422b1f53c715442b9ed39b0f0c7beff9b1d
[INFO] running `Command { std: "docker" "start" "-a" "77fb690ae5c2d22db5ebf8c07bdd1422b1f53c715442b9ed39b0f0c7beff9b1d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.36.0
[INFO] [stderr]    Compiling error-stack v0.4.1
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling sdl2-sys v0.36.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling quote v1.0.36
[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 thiserror v1.0.61
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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<u8>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: struct `Flags` is never constructed
[INFO] [stdout]   --> src/cpu/common.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Flags {}
[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<String>,
[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<AddressRegister>,
[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<u8>, mirroring: Mirroring) -> PPU {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bus.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn get_byte_stream(&self, addr: u16) -> ByteStream {
[INFO] [stdout]    |                            ^^^^^                ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn get_byte_stream(&self, addr: u16) -> ByteStream<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/instructions/common.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Clone, PartialEq)]
[INFO] [stdout]    |                 --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub f: InstFun,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[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<u8>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<String>,
[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<AddressRegister>,
[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<u8>, mirroring: Mirroring) -> PPU {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/bus.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn get_byte_stream(&self, addr: u16) -> ByteStream {
[INFO] [stdout]    |                            ^^^^^                ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn get_byte_stream(&self, addr: u16) -> ByteStream<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cpu/test_util.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn load_and_test(&mut self, inst: &[u8]) -> TestResult {
[INFO] [stdout]    |                          ^^^^^^^^^                  ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn load_and_test(&mut self, inst: &[u8]) -> TestResult<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cpu/test_util.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn test(&mut self) -> TestResult {
[INFO] [stdout]    |                 ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn test(&mut self) -> TestResult<'_> {
[INFO] [stdout]    |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/instructions/common.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Clone, PartialEq)]
[INFO] [stdout]    |                 --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub f: InstFun,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.90s
[INFO] running `Command { std: "docker" "inspect" "77fb690ae5c2d22db5ebf8c07bdd1422b1f53c715442b9ed39b0f0c7beff9b1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77fb690ae5c2d22db5ebf8c07bdd1422b1f53c715442b9ed39b0f0c7beff9b1d", kill_on_drop: false }`
[INFO] [stdout] 77fb690ae5c2d22db5ebf8c07bdd1422b1f53c715442b9ed39b0f0c7beff9b1d
