[INFO] cloning repository https://github.com/jawline/rustGameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jawline/rustGameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2FrustGameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2FrustGameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9aef66dcac650b995cc933b079fd30334122ca3d [INFO] checking jawline/rustGameboy against master#da897dfb6daa268a965d2d73620316ba56020a19 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2FrustGameboy" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jawline/rustGameboy on toolchain da897dfb6daa268a965d2d73620316ba56020a19 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jawline/rustGameboy [INFO] finished tweaking git repo https://github.com/jawline/rustGameboy [INFO] tweaked toml for git repo https://github.com/jawline/rustGameboy written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/jawline/rustGameboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4794c996a5debc8573af12a8c6dcb0f20d818118a1649772b5b2ab0e4ad51924 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4794c996a5debc8573af12a8c6dcb0f20d818118a1649772b5b2ab0e4ad51924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4794c996a5debc8573af12a8c6dcb0f20d818118a1649772b5b2ab0e4ad51924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4794c996a5debc8573af12a8c6dcb0f20d818118a1649772b5b2ab0e4ad51924", kill_on_drop: false }` [INFO] [stdout] 4794c996a5debc8573af12a8c6dcb0f20d818118a1649772b5b2ab0e4ad51924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 243d75289266429ab6fda87151a155485d8208cdab2b6d021bc6b36c26c1b4d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "243d75289266429ab6fda87151a155485d8208cdab2b6d021bc6b36c26c1b4d1", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking gb_int v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InstructionData` [INFO] [stdout] --> src/cpu.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{Instruction, InstructionData, instruction_set}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InstructionData` [INFO] [stdout] --> src/cpu.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{Instruction, InstructionData, instruction_set}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/instruction.rs:744:5 [INFO] [stdout] | [INFO] [stdout] 743 | unimplemented!("Need to work out how to call functions"); [INFO] [stdout] | --------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 744 | registers.set_pc(target_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/instruction.rs:744:5 [INFO] [stdout] | [INFO] [stdout] 743 | unimplemented!("Need to work out how to call functions"); [INFO] [stdout] | --------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 744 | registers.set_pc(target_address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `B` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `C` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `A` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `D` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `E` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `H` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `L` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `B` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `C` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `A` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `D` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `E` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `H` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `L` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `SP` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `BC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AF` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DE` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `HL` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `SP` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `BC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AF` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DE` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `HL` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/cpu.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn write_u16(&mut self, v: u16) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/cpu.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn stack_push8(&mut self, v: u8, memory: &mut Box) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn stack_push8(&mut self, v: u8, memory: &mut Box) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/cpu.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn stack_push16(&mut self, v: u16, memory: &mut Box) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn stack_push16(&mut self, v: u16, memory: &mut Box) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stack_pop8(&mut self, memory: &mut Box) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn stack_pop16(&mut self, memory: &mut Box) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `B` [INFO] [stdout] --> src/cpu.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `A` [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F` [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `D` [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `H` [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `L` [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `B` [INFO] [stdout] --> src/cpu.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `A` [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F` [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `D` [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `H` [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `L` [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PC` [INFO] [stdout] --> src/cpu.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SP` [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `BC` [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF` [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DE` [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HL` [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PC` [INFO] [stdout] --> src/cpu.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SP` [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `BC` [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF` [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DE` [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HL` [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn no_op(registers: &mut Registers, memory: &mut Box, additional: &InstructionData) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:112:76 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn no_op(registers: &mut Registers, memory: &mut Box, additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 279 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | fn and_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:314:3 [INFO] [stdout] | [INFO] [stdout] 314 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | fn or_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:322:3 [INFO] [stdout] | [INFO] [stdout] 322 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | fn cp_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:328:3 [INFO] [stdout] | [INFO] [stdout] 328 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:329:3 [INFO] [stdout] | [INFO] [stdout] 329 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | fn xor_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:335:3 [INFO] [stdout] | [INFO] [stdout] 335 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | fn sbc_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:342:3 [INFO] [stdout] | [INFO] [stdout] 342 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:350:3 [INFO] [stdout] | [INFO] [stdout] 350 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | fn sbc_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:412:3 [INFO] [stdout] | [INFO] [stdout] 412 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 413 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:419:19 [INFO] [stdout] | [INFO] [stdout] 419 | fn and_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:420:3 [INFO] [stdout] | [INFO] [stdout] 420 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:421:3 [INFO] [stdout] | [INFO] [stdout] 421 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:427:18 [INFO] [stdout] | [INFO] [stdout] 427 | fn cp_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:428:3 [INFO] [stdout] | [INFO] [stdout] 428 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | fn or_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:436:3 [INFO] [stdout] | [INFO] [stdout] 436 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:437:3 [INFO] [stdout] | [INFO] [stdout] 437 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | fn xor_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:444:3 [INFO] [stdout] | [INFO] [stdout] 444 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:445:3 [INFO] [stdout] | [INFO] [stdout] 445 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:473:3 [INFO] [stdout] | [INFO] [stdout] 473 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:488:3 [INFO] [stdout] | [INFO] [stdout] 488 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:531:3 [INFO] [stdout] | [INFO] [stdout] 531 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:553:3 [INFO] [stdout] | [INFO] [stdout] 553 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:568:3 [INFO] [stdout] | [INFO] [stdout] 568 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/instruction.rs:628:7 [INFO] [stdout] | [INFO] [stdout] 628 | let target = registers.write_r8(additional.small_reg_dst, mem); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/instruction.rs:650:7 [INFO] [stdout] | [INFO] [stdout] 650 | let target = registers.write_r8(additional.small_reg_dst, mem); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:656:3 [INFO] [stdout] | [INFO] [stdout] 656 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:697:3 [INFO] [stdout] | [INFO] [stdout] 697 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:698:3 [INFO] [stdout] | [INFO] [stdout] 698 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_address` [INFO] [stdout] --> src/instruction.rs:740:7 [INFO] [stdout] | [INFO] [stdout] 740 | let target_address = memory.read_u16(registers.pc() + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:750:8 [INFO] [stdout] | [INFO] [stdout] 750 | fn daa(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 751 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:752:3 [INFO] [stdout] | [INFO] [stdout] 752 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:759:3 [INFO] [stdout] | [INFO] [stdout] 759 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:792:3 [INFO] [stdout] | [INFO] [stdout] 792 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:793:3 [INFO] [stdout] | [INFO] [stdout] 793 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:800:3 [INFO] [stdout] | [INFO] [stdout] 800 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:801:3 [INFO] [stdout] | [INFO] [stdout] 801 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:808:3 [INFO] [stdout] | [INFO] [stdout] 808 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:809:3 [INFO] [stdout] | [INFO] [stdout] 809 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `B` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `C` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `A` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `D` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `E` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `H` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `L` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `B` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `C` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `A` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `F` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `D` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `E` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `H` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `L` is named the same as one of the variants of the type `cpu::SmallWidthRegister` [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `cpu::SmallWidthRegister::L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | - matches any value [INFO] [stdout] ... [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `SP` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `BC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AF` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DE` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `HL` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `PC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `SP` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `BC` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `AF` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `DE` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `HL` is named the same as one of the variants of the type `cpu::WideRegister` [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ help: to match on the variant, qualify the path: `cpu::WideRegister::HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | -- matches any value [INFO] [stdout] ... [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/cpu.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn write_u16(&mut self, v: u16) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/cpu.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn stack_push8(&mut self, v: u8, memory: &mut Box) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn stack_push8(&mut self, v: u8, memory: &mut Box) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/cpu.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn stack_push16(&mut self, v: u16, memory: &mut Box) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn stack_push16(&mut self, v: u16, memory: &mut Box) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stack_pop8(&mut self, memory: &mut Box) -> u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn stack_pop16(&mut self, memory: &mut Box) -> u16 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `B` [INFO] [stdout] --> src/cpu.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `A` [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F` [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `D` [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `H` [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `L` [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `B` [INFO] [stdout] --> src/cpu.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `A` [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `F` [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_F` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `D` [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `H` [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `L` [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PC` [INFO] [stdout] --> src/cpu.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SP` [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `BC` [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF` [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DE` [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HL` [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PC` [INFO] [stdout] --> src/cpu.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SP` [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_SP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `BC` [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_BC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AF` [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_AF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DE` [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_DE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HL` [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_HL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn no_op(registers: &mut Registers, memory: &mut Box, additional: &InstructionData) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:112:76 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn no_op(registers: &mut Registers, memory: &mut Box, additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 279 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | fn and_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:314:3 [INFO] [stdout] | [INFO] [stdout] 314 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | fn or_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:322:3 [INFO] [stdout] | [INFO] [stdout] 322 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | fn cp_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:328:3 [INFO] [stdout] | [INFO] [stdout] 328 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:329:3 [INFO] [stdout] | [INFO] [stdout] 329 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | fn xor_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:335:3 [INFO] [stdout] | [INFO] [stdout] 335 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | fn sbc_r8_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:342:3 [INFO] [stdout] | [INFO] [stdout] 342 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:350:3 [INFO] [stdout] | [INFO] [stdout] 350 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | fn sbc_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:412:3 [INFO] [stdout] | [INFO] [stdout] 412 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:413:3 [INFO] [stdout] | [INFO] [stdout] 413 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:419:19 [INFO] [stdout] | [INFO] [stdout] 419 | fn and_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:420:3 [INFO] [stdout] | [INFO] [stdout] 420 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:421:3 [INFO] [stdout] | [INFO] [stdout] 421 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:427:18 [INFO] [stdout] | [INFO] [stdout] 427 | fn cp_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:428:3 [INFO] [stdout] | [INFO] [stdout] 428 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:435:18 [INFO] [stdout] | [INFO] [stdout] 435 | fn or_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:436:3 [INFO] [stdout] | [INFO] [stdout] 436 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:437:3 [INFO] [stdout] | [INFO] [stdout] 437 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | fn xor_r8_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:444:3 [INFO] [stdout] | [INFO] [stdout] 444 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:445:3 [INFO] [stdout] | [INFO] [stdout] 445 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:473:3 [INFO] [stdout] | [INFO] [stdout] 473 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:488:3 [INFO] [stdout] | [INFO] [stdout] 488 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:531:3 [INFO] [stdout] | [INFO] [stdout] 531 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:553:3 [INFO] [stdout] | [INFO] [stdout] 553 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:568:3 [INFO] [stdout] | [INFO] [stdout] 568 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/instruction.rs:628:7 [INFO] [stdout] | [INFO] [stdout] 628 | let target = registers.write_r8(additional.small_reg_dst, mem); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/instruction.rs:650:7 [INFO] [stdout] | [INFO] [stdout] 650 | let target = registers.write_r8(additional.small_reg_dst, mem); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:656:3 [INFO] [stdout] | [INFO] [stdout] 656 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:697:3 [INFO] [stdout] | [INFO] [stdout] 697 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:698:3 [INFO] [stdout] | [INFO] [stdout] 698 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_address` [INFO] [stdout] --> src/instruction.rs:740:7 [INFO] [stdout] | [INFO] [stdout] 740 | let target_address = memory.read_u16(registers.pc() + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registers` [INFO] [stdout] --> src/instruction.rs:750:8 [INFO] [stdout] | [INFO] [stdout] 750 | fn daa(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 751 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:752:3 [INFO] [stdout] | [INFO] [stdout] 752 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:759:3 [INFO] [stdout] | [INFO] [stdout] 759 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:792:3 [INFO] [stdout] | [INFO] [stdout] 792 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:793:3 [INFO] [stdout] | [INFO] [stdout] 793 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:800:3 [INFO] [stdout] | [INFO] [stdout] 800 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:801:3 [INFO] [stdout] | [INFO] [stdout] 801 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/instruction.rs:808:3 [INFO] [stdout] | [INFO] [stdout] 808 | memory: &mut Box, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/instruction.rs:809:3 [INFO] [stdout] | [INFO] [stdout] 809 | additional: &InstructionData) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/cpu.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | PC, SP, BC, AF, DE, HL [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIGN_FLAG` [INFO] [stdout] --> src/cpu.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub const SIGN_FLAG: u8 = 0x1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UDOC_FLAG` [INFO] [stdout] --> src/cpu.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub const UDOC_FLAG: u8 = 0x1 << 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UDOC_2_FLAG` [INFO] [stdout] --> src/cpu.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub const UDOC_2_FLAG: u8 = 0x1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PO_FLAG` [INFO] [stdout] --> src/cpu.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub const PO_FLAG: u8 = 0x1 << 2; //Parity or offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sp` [INFO] [stdout] --> src/cpu.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn sp(&self) -> u16 { self.read_r16(WideRegister::SP) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push8` [INFO] [stdout] --> src/cpu.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn stack_push8(&mut self, v: u8, memory: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop8` [INFO] [stdout] --> src/cpu.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stack_pop8(&mut self, memory: &mut Box) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec_mem_r16` [INFO] [stdout] --> src/instruction.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn dec_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_r8_right_through_carry` [INFO] [stdout] --> src/instruction.rs:530:4 [INFO] [stdout] | [INFO] [stdout] 530 | fn rotate_r8_right_through_carry(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpl_r8` [INFO] [stdout] --> src/instruction.rs:758:4 [INFO] [stdout] | [INFO] [stdout] 758 | fn cpl_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/cpu.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/cpu.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 189 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/cpu.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | PC, SP, BC, AF, DE, HL [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIGN_FLAG` [INFO] [stdout] --> src/cpu.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub const SIGN_FLAG: u8 = 0x1 << 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UDOC_FLAG` [INFO] [stdout] --> src/cpu.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub const UDOC_FLAG: u8 = 0x1 << 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UDOC_2_FLAG` [INFO] [stdout] --> src/cpu.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub const UDOC_2_FLAG: u8 = 0x1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PO_FLAG` [INFO] [stdout] --> src/cpu.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub const PO_FLAG: u8 = 0x1 << 2; //Parity or offset [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sp` [INFO] [stdout] --> src/cpu.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn sp(&self) -> u16 { self.read_r16(WideRegister::SP) } [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push8` [INFO] [stdout] --> src/cpu.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn stack_push8(&mut self, v: u8, memory: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop8` [INFO] [stdout] --> src/cpu.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn stack_pop8(&mut self, memory: &mut Box) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec_mem_r16` [INFO] [stdout] --> src/instruction.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn dec_mem_r16(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_r8_right_through_carry` [INFO] [stdout] --> src/instruction.rs:530:4 [INFO] [stdout] | [INFO] [stdout] 530 | fn rotate_r8_right_through_carry(registers: &mut Registers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpl_r8` [INFO] [stdout] --> src/instruction.rs:758:4 [INFO] [stdout] | [INFO] [stdout] 758 | fn cpl_r8(registers: &mut Registers, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/cpu.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | B => self.bc.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/cpu.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | C => self.bc.r, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | A => self.af.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/cpu.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | F => self.af.r, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/cpu.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | D => self.de.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/cpu.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | E => self.de.r, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/cpu.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | H => self.hl.l, [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/cpu.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | L => self.hl.r [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/cpu.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | B => self.bc.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/cpu.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | C => self.bc.r = val, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpu.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | A => self.af.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/cpu.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | F => self.af.r = val, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> src/cpu.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | D => self.de.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/cpu.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | E => self.de.r = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/cpu.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | H => self.hl.l = val, [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> src/cpu.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | L => self.hl.r = val [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | PC => self.pc, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | SP => self.sp, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | BC => self.bc.as_u16(), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | AF => self.af.as_u16(), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | DE => self.de.as_u16(), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | HL => self.hl.as_u16() [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | PC => self.pc = val, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | SP => self.sp = val, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | BC => self.bc.write_u16(val), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:153:7 [INFO] [stdout] | [INFO] [stdout] 153 | AF => self.af.write_u16(val), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DE` should have a snake case name [INFO] [stdout] --> src/cpu.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | DE => self.de.write_u16(val), [INFO] [stdout] | ^^ help: convert the identifier to snake case: `de` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HL` should have a snake case name [INFO] [stdout] --> src/cpu.rs:155:7 [INFO] [stdout] | [INFO] [stdout] 155 | HL => self.hl.write_u16(val) [INFO] [stdout] | ^^ help: convert the identifier to snake case: `hl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 189 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "243d75289266429ab6fda87151a155485d8208cdab2b6d021bc6b36c26c1b4d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243d75289266429ab6fda87151a155485d8208cdab2b6d021bc6b36c26c1b4d1", kill_on_drop: false }` [INFO] [stdout] 243d75289266429ab6fda87151a155485d8208cdab2b6d021bc6b36c26c1b4d1