[INFO] cloning repository https://github.com/dannyhvc/nes_emulator_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dannyhvc/nes_emulator_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyhvc%2Fnes_emulator_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyhvc%2Fnes_emulator_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96eb0f9b607fb772a2d1d7b1227851322a695042
[INFO] checking dannyhvc/nes_emulator_rust against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdannyhvc%2Fnes_emulator_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dannyhvc/nes_emulator_rust
[INFO] finished tweaking git repo https://github.com/dannyhvc/nes_emulator_rust
[INFO] tweaked toml for git repo https://github.com/dannyhvc/nes_emulator_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dannyhvc/nes_emulator_rust on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dannyhvc/nes_emulator_rust 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b21cb389858464d4b51efebd18aaa1f0215b4b60b56d5babdee23d3f8115c47b
[INFO] running `Command { std: "docker" "start" "-a" "b21cb389858464d4b51efebd18aaa1f0215b4b60b56d5babdee23d3f8115c47b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b21cb389858464d4b51efebd18aaa1f0215b4b60b56d5babdee23d3f8115c47b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b21cb389858464d4b51efebd18aaa1f0215b4b60b56d5babdee23d3f8115c47b", kill_on_drop: false }`
[INFO] [stdout] b21cb389858464d4b51efebd18aaa1f0215b4b60b56d5babdee23d3f8115c47b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63bfc9369faf48279cafb2554f29c46aadb55dfeabe1bfe0829d6db03fce47fa
[INFO] running `Command { std: "docker" "start" "-a" "63bfc9369faf48279cafb2554f29c46aadb55dfeabe1bfe0829d6db03fce47fa", kill_on_drop: false }`
[INFO] [stderr]     Checking nes_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `ONESCREAN_LO` should have an upper camel case name
[INFO] [stdout]  --> src/components/cartridge.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ONESCREAN_LO,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OnescreanLo`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ONESCREAN_HI` should have an upper camel case name
[INFO] [stdout]  --> src/components/cartridge.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     ONESCREAN_HI,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OnescreanHi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ONESCREAN_LO` should have an upper camel case name
[INFO] [stdout]  --> src/components/cartridge.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ONESCREAN_LO,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OnescreanLo`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ONESCREAN_HI` should have an upper camel case name
[INFO] [stdout]  --> src/components/cartridge.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     ONESCREAN_HI,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OnescreanHi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CpuFlags`, `CpuInstruction`, `M6502AddrModes`, `M6502Opcodes`, and `self`
[INFO] [stdout]  --> src/tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         self,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |         types::{CpuFlags, CpuInstruction, M6502AddrModes, M6502Opcodes},
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `START_OF_RAM` is never used
[INFO] [stdout]   --> src/components/mod.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const START_OF_RAM: u16 = 0x0000;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `END_OF_RAM` is never used
[INFO] [stdout]   --> src/components/mod.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const END_OF_RAM: u16 = 0xFFFF;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LOW_BYTE` is never used
[INFO] [stdout]   --> src/components/mod.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const LOW_BYTE: u16 = 0x00FF;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HIGH_BYTE` is never used
[INFO] [stdout]   --> src/components/mod.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const HIGH_BYTE: u16 = 0xFF00;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOP_BIT_THRESH` is never used
[INFO] [stdout]   --> src/components/mod.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const TOP_BIT_THRESH: u16 = 0x0080;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `KB` is never used
[INFO] [stdout]   --> src/components/mod.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const fn KB(n: u32) -> usize {
[INFO] [stdout]    |              ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOOKUP_TABLE` is never used
[INFO] [stdout]   --> src/components/mod.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | static LOOKUP_TABLE: Lazy<[CpuInstruction; 256]> = Lazy::new(|| {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bus` is never constructed
[INFO] [stdout]  --> src/components/bus.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Bus {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `read`, `write`, `clock`, `reset`, and `load_instruction_mem` are never used
[INFO] [stdout]   --> src/components/bus.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Bus {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout]  9 |     /// Creates a new [`Bus`]. With 2Kb of MOS 6502 memory
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn read(&self, addr: u16, _b_read_only: bool) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn write(&mut self, addr: u16, data: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn clock(&mut self, cpu: &mut CPU) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn reset(&mut self, cpu: &mut CPU) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn load_instruction_mem(&mut self, data: Box<[Box<[u16]>]>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mirroring` is never used
[INFO] [stdout]  --> src/components/cartridge.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Mirroring {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cartrige` is never constructed
[INFO] [stdout]   --> src/components/cartridge.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Cartrige {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/components/cartridge.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Cartrige {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 23 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CPU` is never constructed
[INFO] [stdout]   --> src/components/dh_cpu.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct CPU {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/components/dh_cpu.rs:51:18
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  50 |     #[inline]
[INFO] [stdout]  51 |     pub const fn new() -> Self {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn fetch(&mut self, bus: &Bus) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn set_flag(&mut self, f: CpuFlags, conditional_set: bool) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn reset(cpu: &mut CPU, bus: &Bus) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |     pub fn clock(cpu: &mut CPU, bus: &mut Bus) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub const fn get_flag(&self, f: CpuFlags) -> u8 {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub const fn complete(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub fn disassemble(
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 512 |     pub const fn a(&self) -> u8 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub fn set_a(&mut self, a: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 521 |     pub const fn x(&self) -> u8 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout] 526 |     pub fn set_x(&mut self, x: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 |     pub const fn y(&self) -> u8 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout] 535 |     pub fn set_y(&mut self, y: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 539 |     pub const fn sp(&self) -> u8 {
[INFO] [stdout]     |                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 544 |     pub fn set_sp(&mut self, sp: u8) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 548 |     pub const fn pc(&self) -> u16 {
[INFO] [stdout]     |                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 553 |     pub fn set_pc(&mut self, pc: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 557 |     pub const fn status(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 562 |     pub fn set_status(&mut self, status: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 566 |     pub const fn fetched(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 571 |     pub fn set_fetched(&mut self, fetched: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 575 |     pub const fn temp(&self) -> u16 {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 580 |     pub fn set_temp(&mut self, temp: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 584 |     pub const fn abs(&self) -> u16 {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 589 |     pub fn set_abs(&mut self, abs: u16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 593 |     pub const fn rel(&self) -> u16 {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 598 |     pub fn set_rel(&mut self, rel: u16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     pub const fn opcode(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 607 |     pub fn set_opcode(&mut self, opcode: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 611 |     pub const fn cycles(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 616 |     pub fn set_cycles(&mut self, cycles: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 620 |     pub const fn clock_count(&self) -> u32 {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 625 |     pub fn set_clock_count(&mut self, clock_count: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PPU` is never constructed
[INFO] [stdout]  --> src/components/dh_ppu.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `M000` is never constructed
[INFO] [stdout]  --> src/components/mappers/m000.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct M000(MapperData);
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MapperFn` is never used
[INFO] [stdout]  --> src/components/mappers/mapper.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait MapperFn {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MapperData` is never constructed
[INFO] [stdout]   --> src/components/mappers/mapper.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MapperData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/components/mappers/mapper.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl MapperData {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(prg_bank: u8, chr_bank: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CpuFlags` is never used
[INFO] [stdout]   --> src/components/types.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum CpuFlags {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpuInstruction` is never constructed
[INFO] [stdout]   --> src/components/types.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct CpuInstruction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InstructionMneumonic` is never constructed
[INFO] [stdout]   --> src/components/types.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct InstructionMneumonic {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/components/types.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl InstructionMneumonic {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] 70 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OpcodeMneumonic` is never used
[INFO] [stdout]   --> src/components/types.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub enum OpcodeMneumonic {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AddrModeMneumonic` is never used
[INFO] [stdout]    --> src/components/types.rs:150:10
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub enum AddrModeMneumonic {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `M6502Opcodes` is never used
[INFO] [stdout]    --> src/components/types.rs:170:11
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub trait M6502Opcodes {
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `M6502AddrModes` is never used
[INFO] [stdout]    --> src/components/types.rs:230:11
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub trait M6502AddrModes {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/components/dh_cpu.rs:835:25
[INFO] [stdout]     |
[INFO] [stdout] 835 |             == CPU::IMP as usize
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 835 |             == CPU::IMP as *const () as usize
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/components/dh_cpu.rs:1573:25
[INFO] [stdout]      |
[INFO] [stdout] 1573 |             == CPU::IMP as usize
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 1573 |             == CPU::IMP as *const () as usize
[INFO] [stdout]      |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/components/dh_cpu.rs:1641:25
[INFO] [stdout]      |
[INFO] [stdout] 1641 |             == CPU::IMP as usize
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 1641 |             == CPU::IMP as *const () as usize
[INFO] [stdout]      |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/components/dh_cpu.rs:1658:25
[INFO] [stdout]      |
[INFO] [stdout] 1658 |             == CPU::IMP as usize
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 1658 |             == CPU::IMP as *const () as usize
[INFO] [stdout]      |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sys_clock_counter` is never read
[INFO] [stdout]  --> src/components/bus.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Bus {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     pub cpu_ram: [u8; KB(64)],  // 2Kb of ram
[INFO] [stdout] 6 |     pub sys_clock_counter: u32, // motherboards clock for busses
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Bus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `clock` and `reset` are never used
[INFO] [stdout]   --> src/components/bus.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Bus {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn clock(&mut self, cpu: &mut CPU) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn reset(&mut self, cpu: &mut CPU) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mirroring` is never used
[INFO] [stdout]  --> src/components/cartridge.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Mirroring {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cartrige` is never constructed
[INFO] [stdout]   --> src/components/cartridge.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Cartrige {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/components/cartridge.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Cartrige {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 23 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/components/dh_cpu.rs:512:18
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 512 |     pub const fn a(&self) -> u8 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub fn set_a(&mut self, a: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 521 |     pub const fn x(&self) -> u8 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout] 526 |     pub fn set_x(&mut self, x: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 530 |     pub const fn y(&self) -> u8 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout] 535 |     pub fn set_y(&mut self, y: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 539 |     pub const fn sp(&self) -> u8 {
[INFO] [stdout]     |                  ^^
[INFO] [stdout] ...
[INFO] [stdout] 544 |     pub fn set_sp(&mut self, sp: u8) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 557 |     pub const fn status(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 562 |     pub fn set_status(&mut self, status: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 566 |     pub const fn fetched(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 571 |     pub fn set_fetched(&mut self, fetched: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 575 |     pub const fn temp(&self) -> u16 {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 580 |     pub fn set_temp(&mut self, temp: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 584 |     pub const fn abs(&self) -> u16 {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 589 |     pub fn set_abs(&mut self, abs: u16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 593 |     pub const fn rel(&self) -> u16 {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 598 |     pub fn set_rel(&mut self, rel: u16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     pub const fn opcode(&self) -> u8 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 607 |     pub fn set_opcode(&mut self, opcode: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 620 |     pub const fn clock_count(&self) -> u32 {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 625 |     pub fn set_clock_count(&mut self, clock_count: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PPU` is never constructed
[INFO] [stdout]  --> src/components/dh_ppu.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `M000` is never constructed
[INFO] [stdout]  --> src/components/mappers/m000.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct M000(MapperData);
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MapperFn` is never used
[INFO] [stdout]  --> src/components/mappers/mapper.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait MapperFn {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MapperData` is never constructed
[INFO] [stdout]   --> src/components/mappers/mapper.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MapperData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/components/mappers/mapper.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl MapperData {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(prg_bank: u8, chr_bank: u8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `op_code` is never read
[INFO] [stdout]   --> src/components/types.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct InstructionMneumonic {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 65 |     pub name: &'static str,
[INFO] [stdout] 66 |     pub op_code: OpcodeMneumonic,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InstructionMneumonic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/components/dh_cpu.rs:835:25
[INFO] [stdout]     |
[INFO] [stdout] 835 |             == CPU::IMP as usize
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 835 |             == CPU::IMP as *const () as usize
[INFO] [stdout]     |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/components/dh_cpu.rs:1573:25
[INFO] [stdout]      |
[INFO] [stdout] 1573 |             == CPU::IMP as usize
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 1573 |             == CPU::IMP as *const () as usize
[INFO] [stdout]      |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/components/dh_cpu.rs:1641:25
[INFO] [stdout]      |
[INFO] [stdout] 1641 |             == CPU::IMP as usize
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 1641 |             == CPU::IMP as *const () as usize
[INFO] [stdout]      |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]     --> src/components/dh_cpu.rs:1658:25
[INFO] [stdout]      |
[INFO] [stdout] 1658 |             == CPU::IMP as usize
[INFO] [stdout]      |                         ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]      |
[INFO] [stdout] 1658 |             == CPU::IMP as *const () as usize
[INFO] [stdout]      |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s
[INFO] running `Command { std: "docker" "inspect" "63bfc9369faf48279cafb2554f29c46aadb55dfeabe1bfe0829d6db03fce47fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63bfc9369faf48279cafb2554f29c46aadb55dfeabe1bfe0829d6db03fce47fa", kill_on_drop: false }`
[INFO] [stdout] 63bfc9369faf48279cafb2554f29c46aadb55dfeabe1bfe0829d6db03fce47fa
