[INFO] cloning repository https://github.com/jmeyers35/rusty-nes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmeyers35/rusty-nes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b73358cc1ca5c691985ac3534139e69a04adcbf
[INFO] checking jmeyers35/rusty-nes against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jmeyers35/rusty-nes on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jmeyers35/rusty-nes
[INFO] finished tweaking git repo https://github.com/jmeyers35/rusty-nes
[INFO] tweaked toml for git repo https://github.com/jmeyers35/rusty-nes written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jmeyers35/rusty-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking jmeyers35/rusty-nes against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jmeyers35/rusty-nes on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jmeyers35/rusty-nes
[INFO] finished tweaking git repo https://github.com/jmeyers35/rusty-nes
[INFO] tweaked toml for git repo https://github.com/jmeyers35/rusty-nes written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/jmeyers35/rusty-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking jmeyers35/rusty-nes against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmeyers35%2Frusty-nes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jmeyers35/rusty-nes on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jmeyers35/rusty-nes
[INFO] finished tweaking git repo https://github.com/jmeyers35/rusty-nes
[INFO] tweaked toml for git repo https://github.com/jmeyers35/rusty-nes written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/jmeyers35/rusty-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa2ad81df87b9054db1a8b8bfadf9c8634e76084929cab0720d53ed3a76a3f4f
[INFO] running `Command { std: "docker" "start" "-a" "fa2ad81df87b9054db1a8b8bfadf9c8634e76084929cab0720d53ed3a76a3f4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa2ad81df87b9054db1a8b8bfadf9c8634e76084929cab0720d53ed3a76a3f4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa2ad81df87b9054db1a8b8bfadf9c8634e76084929cab0720d53ed3a76a3f4f", kill_on_drop: false }`
[INFO] [stdout] fa2ad81df87b9054db1a8b8bfadf9c8634e76084929cab0720d53ed3a76a3f4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 437fd7900c4ad78761a1564c23ebb3c45a2288ae71c597451c083f6f3cd1645e
[INFO] running `Command { std: "docker" "start" "-a" "437fd7900c4ad78761a1564c23ebb3c45a2288ae71c597451c083f6f3cd1645e", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-nes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]   --> src/cpu.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct CPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     mem: Rc<RefCell<Memory>>,
[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/cpu.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct StatusRegister {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 23 |     c: u8, // Carry bit: set if last operation resulted in overflow from bit 7 or underflow from bit 0
[INFO] [stdout]    |     ^
[INFO] [stdout] 24 |     z: u8, // Zero bit: set if result of last operation was zero
[INFO] [stdout]    |     ^
[INFO] [stdout] 25 |     i: u8, // Interrupt disable
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     d: u8, // Decimal - no effect on NES, but on original 6502 causes some instructions to use binary-encoded decimal represenation
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     b: u8, // B flag: doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instr...
[INFO] [stdout]    |     ^
[INFO] [stdout] 28 |     bit_5: u8, // Doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instructions
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 29 |     v: u8, // Overflow: set if result of arithmetic operation resulted in invalid 2's complement result (i.e. sign bit is incorrect)
[INFO] [stdout]    |     ^
[INFO] [stdout] 30 |     n: u8, // Negative: contains bit 7 of value result
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatusRegister` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 34  |     pub fn new(mem: Rc<RefCell<Memory>>) -> CPU {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     fn tick_clock(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56  |     fn fetch_instruction(&mut self) -> Instruction {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61  |     fn push_byte(&mut self, data: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     fn pop_byte(&mut self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     fn execute_instruction(&mut self, inst: &Instruction) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 642 |     fn get_operand(&mut self, addr_mode: AddrMode) -> (i8, Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 712 |     pub fn advance_cpu(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu.rs:734:12
[INFO] [stdout]     |
[INFO] [stdout] 733 | impl StatusRegister {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 734 |     pub fn new() -> StatusRegister {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 |     pub fn set_c(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 749 |     pub fn clear_c(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 752 |     pub fn get_c(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 756 |     pub fn set_z(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 759 |     pub fn clear_z(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 762 |     pub fn get_z(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 766 |     pub fn set_i(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 769 |     pub fn clear_i(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 772 |     pub fn get_i(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 776 |     pub fn set_d(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 779 |     pub fn clear_d(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 782 |     pub fn get_d(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |     pub fn set_b(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 789 |     pub fn clear_b(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 792 |     pub fn get_b(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 796 |     pub fn set_bit_5(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     pub fn clear_bit_5(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 802 |     pub fn get_bit_5(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 806 |     pub fn set_v(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 809 |     pub fn clear_v(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 812 |     pub fn get_v(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 816 |     pub fn set_n(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 819 |     pub fn clear_n(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 822 |     pub fn get_n(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 826 |     pub fn get_flags(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 836 |     pub fn set_flags(&mut self, flags: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `signed_overflow_add` is never used
[INFO] [stdout]    --> src/cpu.rs:849:4
[INFO] [stdout]     |
[INFO] [stdout] 849 | fn signed_overflow_add(x: i8, y: i8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `signed_overflow_sub` is never used
[INFO] [stdout]    --> src/cpu.rs:853:4
[INFO] [stdout]     |
[INFO] [stdout] 853 | fn signed_overflow_sub(x: i8, y: i8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `page_crossed` is never used
[INFO] [stdout]    --> src/cpu.rs:860:4
[INFO] [stdout]     |
[INFO] [stdout] 860 | fn page_crossed(old_addr: u16, new_addr: u16) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]  --> src/instruction.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Instruction {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/instruction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum AddrMode {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |     Implicit,        // No further action necessary
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 11 |     Accumulator,     // Operate directony on the accumulator
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     Immediate,       // Operate on 1 byte constant specified in the instruction
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     ZeroPage, // 8 bit address operand added to start of zero page (0x0000). So, the addressability of these instructions is 0x0000-0x00FF
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 14 |     ZeroPageX, // address = immediate value + X register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 15 |     ZeroPageY, // address = immediate value + Y register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Relative, // branch instructions. PC + signed immediate value
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     Absolute, // Instruction contains 16 address bits
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     AbsoluteX, // 16 bit immediate value + X register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     AbsoluteY, // 16 bit immediate value + Y register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     Indirect, // Instruction contains 16 bit address which points to the least significant byte of the real target address
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     IndexedIndirect, // Instruction contains address of table in zero page. Address is added to X register with zero page wrap-around to ...
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     IndirectIndexed, // Instruction contains zero page address of least significant byte of a 16 bit address. This is added to the Y regi...
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AddrMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/instruction.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum OpCode {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] 27 |     ADC, // Add With Carry
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 28 |     AND, // Logical AND
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     ASL, // Arithmetic Shift Left
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 30 |     BCC, // Branch if Carry Clear
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     BCS, // Branch if Carry Set
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 32 |     BEQ, // Branch If Equal
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 33 |     BIT, // Bit Test
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     BMI, // Branch if Minus
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 35 |     BNE, // Branch Not Equal
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     BPL, // Branch if Positive
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 37 |     BRK, // Force Interrupt
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 38 |     BVC, // Branch if Overflow Clear
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 39 |     BVS, // Branch if Overflow Set
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 40 |     CLC, // Clear Carry Flag
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 41 |     CLD, // Clear Decimal Mode
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 42 |     CLI, // CLear Interrupt Disable
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 43 |     CLV, // Clear Overflow Flag
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 44 |     CMP, // Compare
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     CPX, // Compare X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 46 |     CPY, // Compary Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 47 |     DEC, // Decrement Memory
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     DEX, // Decrement X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 49 |     DEY, // Decrement Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 50 |     EOR, // XOR
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 51 |     INC, // Incrememt Memory
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 52 |     INX, // Increment X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 53 |     INY, // Increment Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 54 |     JMP, // Jump
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     JSR, // Jump to Subroutine
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     LDA, // Load Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 57 |     LDX, // Load X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 58 |     LDY, // Load Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 59 |     LSR, // Logical Shift Right
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 60 |     NOP, // No-Op
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 61 |     ORA, // Logical Inclusive OR
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 62 |     PHA, // Push Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 63 |     PHP, // Push Processor Status
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 64 |     PLA, // Pull Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 65 |     PLP, // Pull Processor Status
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 66 |     ROL, // Rotate Left
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 67 |     ROR, // Rotate Right
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 68 |     RTI, // Return from Interrupt
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 69 |     RTS, // Return from Subroutine
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 70 |     SBC, // Subtract with Carry
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 71 |     SEC, // Set Carry Flag
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 72 |     SED, // Set Decimal Mode
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 73 |     SEI, // Set Interrupt Disable
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 74 |     STA, // Store Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 75 |     STX, // Store X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 76 |     STY, // Store Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 77 |     TAX, // Transfer Accumulator to X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 78 |     TAY, // Transfer Accumulator to Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 79 |     TSX, // Transfer Stack Pointer to X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 80 |     TXA, // Transfer X to Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 81 |     TXS, // Transfer X to Stack Pointer
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 82 |     TYA, // Transfer Y to Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/instruction.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Instruction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 86 |     pub fn new(opcode: u8) -> Instruction {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZERO_PAGE_START` is never used
[INFO] [stdout]   --> src/mem.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const ZERO_PAGE_START: u16 = 0x00;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STACK_TOP` is never used
[INFO] [stdout]   --> src/mem.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const STACK_TOP: u16 = 0x100;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ram` is never read
[INFO] [stdout]   --> src/mem.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Memory {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 15 |     ram: Box<[u8; 2048]>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `ram_read`, and `ram_write` are never used
[INFO] [stdout]   --> src/mem.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Memory {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Memory {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn ram_read(&self, addr: u16) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn ram_write(&mut self, addr: u16, data: u8) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NES` is never constructed
[INFO] [stdout]  --> src/nes.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct NES {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/nes.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl NES {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new() -> NES {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PPU` is never constructed
[INFO] [stdout]  --> src/ppu.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/ppu.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl PPU {
[INFO] [stdout]   | -------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn new(mem: Rc<RefCell<Memory>>) -> PPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]   --> src/cpu.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct CPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     mem: Rc<RefCell<Memory>>,
[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/cpu.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct StatusRegister {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 23 |     c: u8, // Carry bit: set if last operation resulted in overflow from bit 7 or underflow from bit 0
[INFO] [stdout]    |     ^
[INFO] [stdout] 24 |     z: u8, // Zero bit: set if result of last operation was zero
[INFO] [stdout]    |     ^
[INFO] [stdout] 25 |     i: u8, // Interrupt disable
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     d: u8, // Decimal - no effect on NES, but on original 6502 causes some instructions to use binary-encoded decimal represenation
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     b: u8, // B flag: doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instr...
[INFO] [stdout]    |     ^
[INFO] [stdout] 28 |     bit_5: u8, // Doesn't actually exist in the status register, but exists when the flags are pushed onto the stack by certain instructions
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 29 |     v: u8, // Overflow: set if result of arithmetic operation resulted in invalid 2's complement result (i.e. sign bit is incorrect)
[INFO] [stdout]    |     ^
[INFO] [stdout] 30 |     n: u8, // Negative: contains bit 7 of value result
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatusRegister` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 34  |     pub fn new(mem: Rc<RefCell<Memory>>) -> CPU {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     fn tick_clock(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56  |     fn fetch_instruction(&mut self) -> Instruction {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61  |     fn push_byte(&mut self, data: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67  |     fn pop_byte(&mut self) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     fn execute_instruction(&mut self, inst: &Instruction) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 642 |     fn get_operand(&mut self, addr_mode: AddrMode) -> (i8, Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 712 |     pub fn advance_cpu(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu.rs:734:12
[INFO] [stdout]     |
[INFO] [stdout] 733 | impl StatusRegister {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 734 |     pub fn new() -> StatusRegister {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 |     pub fn set_c(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 749 |     pub fn clear_c(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 752 |     pub fn get_c(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 756 |     pub fn set_z(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 759 |     pub fn clear_z(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 762 |     pub fn get_z(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 766 |     pub fn set_i(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 769 |     pub fn clear_i(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 772 |     pub fn get_i(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 776 |     pub fn set_d(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 779 |     pub fn clear_d(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 782 |     pub fn get_d(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 786 |     pub fn set_b(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 789 |     pub fn clear_b(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 792 |     pub fn get_b(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 796 |     pub fn set_bit_5(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     pub fn clear_bit_5(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 802 |     pub fn get_bit_5(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 806 |     pub fn set_v(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 809 |     pub fn clear_v(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 812 |     pub fn get_v(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 816 |     pub fn set_n(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 819 |     pub fn clear_n(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 822 |     pub fn get_n(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 826 |     pub fn get_flags(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 836 |     pub fn set_flags(&mut self, flags: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `signed_overflow_add` is never used
[INFO] [stdout]    --> src/cpu.rs:849:4
[INFO] [stdout]     |
[INFO] [stdout] 849 | fn signed_overflow_add(x: i8, y: i8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `signed_overflow_sub` is never used
[INFO] [stdout]    --> src/cpu.rs:853:4
[INFO] [stdout]     |
[INFO] [stdout] 853 | fn signed_overflow_sub(x: i8, y: i8) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `page_crossed` is never used
[INFO] [stdout]    --> src/cpu.rs:860:4
[INFO] [stdout]     |
[INFO] [stdout] 860 | fn page_crossed(old_addr: u16, new_addr: u16) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]  --> src/instruction.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Instruction {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/instruction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum AddrMode {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |     Implicit,        // No further action necessary
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 11 |     Accumulator,     // Operate directony on the accumulator
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     Immediate,       // Operate on 1 byte constant specified in the instruction
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     ZeroPage, // 8 bit address operand added to start of zero page (0x0000). So, the addressability of these instructions is 0x0000-0x00FF
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 14 |     ZeroPageX, // address = immediate value + X register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 15 |     ZeroPageY, // address = immediate value + Y register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     Relative, // branch instructions. PC + signed immediate value
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     Absolute, // Instruction contains 16 address bits
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     AbsoluteX, // 16 bit immediate value + X register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     AbsoluteY, // 16 bit immediate value + Y register
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 20 |     Indirect, // Instruction contains 16 bit address which points to the least significant byte of the real target address
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     IndexedIndirect, // Instruction contains address of table in zero page. Address is added to X register with zero page wrap-around to ...
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     IndirectIndexed, // Instruction contains zero page address of least significant byte of a 16 bit address. This is added to the Y regi...
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AddrMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/instruction.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum OpCode {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] 27 |     ADC, // Add With Carry
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 28 |     AND, // Logical AND
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     ASL, // Arithmetic Shift Left
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 30 |     BCC, // Branch if Carry Clear
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     BCS, // Branch if Carry Set
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 32 |     BEQ, // Branch If Equal
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 33 |     BIT, // Bit Test
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     BMI, // Branch if Minus
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 35 |     BNE, // Branch Not Equal
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     BPL, // Branch if Positive
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 37 |     BRK, // Force Interrupt
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 38 |     BVC, // Branch if Overflow Clear
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 39 |     BVS, // Branch if Overflow Set
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 40 |     CLC, // Clear Carry Flag
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 41 |     CLD, // Clear Decimal Mode
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 42 |     CLI, // CLear Interrupt Disable
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 43 |     CLV, // Clear Overflow Flag
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 44 |     CMP, // Compare
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     CPX, // Compare X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 46 |     CPY, // Compary Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 47 |     DEC, // Decrement Memory
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     DEX, // Decrement X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 49 |     DEY, // Decrement Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 50 |     EOR, // XOR
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 51 |     INC, // Incrememt Memory
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 52 |     INX, // Increment X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 53 |     INY, // Increment Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 54 |     JMP, // Jump
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     JSR, // Jump to Subroutine
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 56 |     LDA, // Load Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 57 |     LDX, // Load X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 58 |     LDY, // Load Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 59 |     LSR, // Logical Shift Right
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 60 |     NOP, // No-Op
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 61 |     ORA, // Logical Inclusive OR
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 62 |     PHA, // Push Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 63 |     PHP, // Push Processor Status
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 64 |     PLA, // Pull Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 65 |     PLP, // Pull Processor Status
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 66 |     ROL, // Rotate Left
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 67 |     ROR, // Rotate Right
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 68 |     RTI, // Return from Interrupt
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 69 |     RTS, // Return from Subroutine
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 70 |     SBC, // Subtract with Carry
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 71 |     SEC, // Set Carry Flag
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 72 |     SED, // Set Decimal Mode
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 73 |     SEI, // Set Interrupt Disable
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 74 |     STA, // Store Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 75 |     STX, // Store X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 76 |     STY, // Store Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 77 |     TAX, // Transfer Accumulator to X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 78 |     TAY, // Transfer Accumulator to Y
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 79 |     TSX, // Transfer Stack Pointer to X
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 80 |     TXA, // Transfer X to Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 81 |     TXS, // Transfer X to Stack Pointer
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 82 |     TYA, // Transfer Y to Accumulator
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/instruction.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl Instruction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 86 |     pub fn new(opcode: u8) -> Instruction {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZERO_PAGE_START` is never used
[INFO] [stdout]   --> src/mem.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const ZERO_PAGE_START: u16 = 0x00;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STACK_TOP` is never used
[INFO] [stdout]   --> src/mem.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const STACK_TOP: u16 = 0x100;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ram` is never read
[INFO] [stdout]   --> src/mem.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Memory {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 15 |     ram: Box<[u8; 2048]>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `ram_read`, and `ram_write` are never used
[INFO] [stdout]   --> src/mem.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Memory {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Memory {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn ram_read(&self, addr: u16) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn ram_write(&mut self, addr: u16, data: u8) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NES` is never constructed
[INFO] [stdout]  --> src/nes.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct NES {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/nes.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl NES {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new() -> NES {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PPU` is never constructed
[INFO] [stdout]  --> src/ppu.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PPU {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/ppu.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl PPU {
[INFO] [stdout]   | -------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn new(mem: Rc<RefCell<Memory>>) -> 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 0.11s
[INFO] running `Command { std: "docker" "inspect" "437fd7900c4ad78761a1564c23ebb3c45a2288ae71c597451c083f6f3cd1645e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "437fd7900c4ad78761a1564c23ebb3c45a2288ae71c597451c083f6f3cd1645e", kill_on_drop: false }`
[INFO] [stdout] 437fd7900c4ad78761a1564c23ebb3c45a2288ae71c597451c083f6f3cd1645e
