[INFO] cloning repository https://github.com/fChristenson/nes-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fChristenson/nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfChristenson%2Fnes-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfChristenson%2Fnes-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 522c12dc9b70240911959eb1abd505dca2d93bae
[INFO] checking fChristenson/nes-emulator against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfChristenson%2Fnes-emulator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fChristenson/nes-emulator on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fChristenson/nes-emulator
[INFO] finished tweaking git repo https://github.com/fChristenson/nes-emulator
[INFO] tweaked toml for git repo https://github.com/fChristenson/nes-emulator written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/fChristenson/nes-emulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33f3d3bed4893b1db9fcbe97509db8aaaacfc3d556b27594c97a79ea80812bf5
[INFO] running `Command { std: "docker" "start" "-a" "33f3d3bed4893b1db9fcbe97509db8aaaacfc3d556b27594c97a79ea80812bf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33f3d3bed4893b1db9fcbe97509db8aaaacfc3d556b27594c97a79ea80812bf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33f3d3bed4893b1db9fcbe97509db8aaaacfc3d556b27594c97a79ea80812bf5", kill_on_drop: false }`
[INFO] [stdout] 33f3d3bed4893b1db9fcbe97509db8aaaacfc3d556b27594c97a79ea80812bf5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9d069d0484e053d5f57a8ded933177b434268f2b7af679a482c580b5333ff90
[INFO] running `Command { std: "docker" "start" "-a" "e9d069d0484e053d5f57a8ded933177b434268f2b7af679a482c580b5333ff90", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking nes-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib/instructions.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |   operation: Box<Fn(&Cpu, u8, &Parameter) -> u8>,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |   operation: Box<dyn Fn(&Cpu, u8, &Parameter) -> u8>,
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib/instructions.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |   operation: Box<Fn(&Cpu, u8, &Parameter) -> u8>,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |   operation: Box<dyn Fn(&Cpu, u8, &Parameter) -> u8>,
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:58
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:58
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:60
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:57
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:59
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:59
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:65
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:35
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:46
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:65
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `P` is never constructed
[INFO] [stdout]  --> src/lib/cpu.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct P {
[INFO] [stdout]   |            ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PRegisterFlag` is never used
[INFO] [stdout]  --> src/lib/cpu.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum PRegisterFlag {
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_bit`, `toggle_bit`, `set_bit`, `get_flag_value`, and `set_flag_value` are never used
[INFO] [stdout]   --> src/lib/cpu.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl P {
[INFO] [stdout]    | ------ methods in this implementation
[INFO] [stdout] 17 |   fn get_bit(&self, n: u8) -> u8 {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |   fn toggle_bit(&mut self, n: u8) {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |   fn set_bit(&mut self, n: u8, v: u8) {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |   fn get_flag_value(&self, flag: PRegisterFlag) -> u8 {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |   fn set_flag_value(&mut self, flag: PRegisterFlag, value: u8) {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cpu` is never constructed
[INFO] [stdout]   --> src/lib/cpu.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Cpu {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib/cpu.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl Cpu {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 69 |   pub fn new() -> Cpu {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_immediate_logic` is never used
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_zero_page_logic` is never used
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_zero_page_x_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_absolute_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_absolute_x_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_absolute_y_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_indexed_indirect_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_indirect_indexed_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InstructionType` is never used
[INFO] [stdout]  --> src/lib/instructions.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum InstructionType {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AddressingMode` is never used
[INFO] [stdout]   --> src/lib/instructions.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum AddressingMode {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/lib/instructions.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Instruction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `adc`, `high_param`, `calculate_page_crossed_penalty`, and `execute` are never used
[INFO] [stdout]    --> src/lib/instructions.rs:37:10
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl Instruction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 37  |   pub fn adc(addressing_mode: AddressingMode) -> Instruction {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |   fn high_param(memory: &mut Memory, low_address: u8) -> u8 {
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |   fn calculate_page_crossed_penalty(address_before: u8, address_after: u8) -> u8 {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |   fn execute(&self, cpu: &Cpu, memory: &mut Memory, starting_address: u8) -> u8 {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parameter` is never constructed
[INFO] [stdout]  --> src/lib/parameter.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Parameter {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]  --> src/lib/stack.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Stack {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/lib/stack.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Stack {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 8  |     pub fn new() -> Stack {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn push(&mut self, memory: &mut Memory, value: u8) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |   pub fn pop(&mut self, memory: &mut Memory) -> u8 {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:46
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]    --> src/lib/instructions.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if (address_after & 0xFF00) != (address_before & 0xFF00) {
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0xFF00` (decimal `65280`) does not fit into the type `u8` and will become `0u8`
[INFO] [stdout]     = help: consider using the type `u16` instead
[INFO] [stdout]     = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]    --> src/lib/instructions.rs:113:54
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if (address_after & 0xFF00) != (address_before & 0xFF00) {
[INFO] [stdout]     |                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0xFF00` (decimal `65280`) does not fit into the type `u8` and will become `0u8`
[INFO] [stdout]     = help: consider using the type `u16` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]    --> src/lib/instructions.rs:203:40
[INFO] [stdout]     |
[INFO] [stdout] 203 |           address_high = address_low & 0xFF00;
[INFO] [stdout]     |                                        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0xFF00` (decimal `65280`) does not fit into the type `u8` and will become `0u8`
[INFO] [stdout]     = help: consider using the type `u16` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]  --> src/lib/stack.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |       Stack{stack_pointer: 0x01FF}
[INFO] [stdout]   |                            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the literal `0x01FF` (decimal `511`) does not fit into the type `u8` and will become `255u8`
[INFO] [stdout]   = help: consider using the type `u16` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nes-emulator` (bin "nes-emulator" test) due to 4 previous errors; 54 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:58
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                            ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:58
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:60
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:57
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:59
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:59
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:65
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:35
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memoryAddress`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:46
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memoryAddress`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:65
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `P` is never constructed
[INFO] [stdout]  --> src/lib/cpu.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct P {
[INFO] [stdout]   |            ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PRegisterFlag` is never used
[INFO] [stdout]  --> src/lib/cpu.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum PRegisterFlag {
[INFO] [stdout]   |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_bit`, `toggle_bit`, `set_bit`, `get_flag_value`, and `set_flag_value` are never used
[INFO] [stdout]   --> src/lib/cpu.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl P {
[INFO] [stdout]    | ------ methods in this implementation
[INFO] [stdout] 17 |   fn get_bit(&self, n: u8) -> u8 {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |   fn toggle_bit(&mut self, n: u8) {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |   fn set_bit(&mut self, n: u8, v: u8) {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |   fn get_flag_value(&self, flag: PRegisterFlag) -> u8 {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |   fn set_flag_value(&mut self, flag: PRegisterFlag, value: u8) {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cpu` is never constructed
[INFO] [stdout]   --> src/lib/cpu.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Cpu {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib/cpu.rs:69:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl Cpu {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 69 |   pub fn new() -> Cpu {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_immediate_logic` is never used
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_zero_page_logic` is never used
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_zero_page_x_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_absolute_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_absolute_x_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_absolute_y_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_indexed_indirect_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_indirect_indexed_logic` is never used
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InstructionType` is never used
[INFO] [stdout]  --> src/lib/instructions.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum InstructionType {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AddressingMode` is never used
[INFO] [stdout]   --> src/lib/instructions.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum AddressingMode {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Instruction` is never constructed
[INFO] [stdout]   --> src/lib/instructions.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Instruction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `adc`, `high_param`, `calculate_page_crossed_penalty`, and `execute` are never used
[INFO] [stdout]    --> src/lib/instructions.rs:37:10
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl Instruction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 37  |   pub fn adc(addressing_mode: AddressingMode) -> Instruction {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |   fn high_param(memory: &mut Memory, low_address: u8) -> u8 {
[INFO] [stdout]     |      ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |   fn calculate_page_crossed_penalty(address_before: u8, address_after: u8) -> u8 {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |   fn execute(&self, cpu: &Cpu, memory: &mut Memory, starting_address: u8) -> u8 {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parameter` is never constructed
[INFO] [stdout]  --> src/lib/parameter.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Parameter {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]  --> src/lib/stack.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Stack {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]   --> src/lib/stack.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Stack {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 8  |     pub fn new() -> Stack {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub fn push(&mut self, memory: &mut Memory, value: u8) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |   pub fn pop(&mut self, memory: &mut Memory) -> u8 {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]  --> src/lib/instruction_operations.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn adc_immediate_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]  --> src/lib/instruction_operations.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn adc_zero_page_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:12:41
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn adc_zero_page_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:16:38
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn adc_absolute_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn adc_absolute_x_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nes-emulator` (bin "nes-emulator") due to 4 previous errors; 54 warnings emitted
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:24:40
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn adc_absolute_y_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn adc_indexed_indirect_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `memoryAddress` should have a snake case name
[INFO] [stdout]   --> src/lib/instruction_operations.rs:32:46
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn adc_indirect_indexed_logic(cpu: &Cpu, memoryAddress: u8, param: &Parameter) -> u8 {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ help: convert the identifier to snake case: `memory_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]    --> src/lib/instructions.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if (address_after & 0xFF00) != (address_before & 0xFF00) {
[INFO] [stdout]     |                         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0xFF00` (decimal `65280`) does not fit into the type `u8` and will become `0u8`
[INFO] [stdout]     = help: consider using the type `u16` instead
[INFO] [stdout]     = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]    --> src/lib/instructions.rs:113:54
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if (address_after & 0xFF00) != (address_before & 0xFF00) {
[INFO] [stdout]     |                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0xFF00` (decimal `65280`) does not fit into the type `u8` and will become `0u8`
[INFO] [stdout]     = help: consider using the type `u16` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]    --> src/lib/instructions.rs:203:40
[INFO] [stdout]     |
[INFO] [stdout] 203 |           address_high = address_low & 0xFF00;
[INFO] [stdout]     |                                        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the literal `0xFF00` (decimal `65280`) does not fit into the type `u8` and will become `0u8`
[INFO] [stdout]     = help: consider using the type `u16` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]  --> src/lib/stack.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |       Stack{stack_pointer: 0x01FF}
[INFO] [stdout]   |                            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the literal `0x01FF` (decimal `511`) does not fit into the type `u8` and will become `255u8`
[INFO] [stdout]   = help: consider using the type `u16` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e9d069d0484e053d5f57a8ded933177b434268f2b7af679a482c580b5333ff90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d069d0484e053d5f57a8ded933177b434268f2b7af679a482c580b5333ff90", kill_on_drop: false }`
[INFO] [stdout] e9d069d0484e053d5f57a8ded933177b434268f2b7af679a482c580b5333ff90
