[INFO] cloning repository https://github.com/Cyberdr8gon/chip8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cyberdr8gon/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberdr8gon%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberdr8gon%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea03e06044dc49dbf3a25a357150ebecd1be608d [INFO] checking Cyberdr8gon/chip8-emulator against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberdr8gon%2Fchip8-emulator" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cyberdr8gon/chip8-emulator on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cyberdr8gon/chip8-emulator [INFO] finished tweaking git repo https://github.com/Cyberdr8gon/chip8-emulator [INFO] tweaked toml for git repo https://github.com/Cyberdr8gon/chip8-emulator written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Cyberdr8gon/chip8-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 540f19b1ef64632aa823eda965749895c2698443d8dba3b8d232893f2271c76e [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" "540f19b1ef64632aa823eda965749895c2698443d8dba3b8d232893f2271c76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "540f19b1ef64632aa823eda965749895c2698443d8dba3b8d232893f2271c76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540f19b1ef64632aa823eda965749895c2698443d8dba3b8d232893f2271c76e", kill_on_drop: false }` [INFO] [stdout] 540f19b1ef64632aa823eda965749895c2698443d8dba3b8d232893f2271c76e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d9c1514195b219dc7222ce130f925aeffd91b2735699553ee10bd8a16b2b257 [INFO] running `Command { std: "docker" "start" "-a" "6d9c1514195b219dc7222ce130f925aeffd91b2735699553ee10bd8a16b2b257", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking sdl2 v0.31.0 [INFO] [stderr] Checking chip8_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::graphics::*` [INFO] [stdout] --> src/chip8/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::graphics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::keypad::*` [INFO] [stdout] --> src/chip8/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::keypad::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Chip8` [INFO] [stdout] --> src/chip8/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::Chip8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SE_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SE_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `SeConst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SNE_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | SNE_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SneConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SE_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SE_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SeReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LOAD_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ADD_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AddConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LOAD_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ADD_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SUB_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | SUB_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SubReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SNE_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | SNE_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SneReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_ADDR` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | LOAD_ADDR {addr: u16}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LoadAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_V0` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | JUMP_V0 {addr: u16}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `JumpV0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_DELAY_TIMER` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | LOAD_DELAY_TIMER {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadDelayTimer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WAIT_FOR_KEY_PRESS` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | WAIT_FOR_KEY_PRESS {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WaitForKeyPress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_DELAY_TIMER` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | SET_DELAY_TIMER {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetDelayTimer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_SOUND_TIMER` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | SET_SOUND_TIMER {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetSoundTimer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_I` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | ADD_I {reg_x_index: u8}, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AddI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_SPRITE_LOCATION` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | LOAD_SPRITE_LOCATION {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadSpriteLocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_BCD` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | STORE_BCD {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StoreBcd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_REG_ARR` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | STORE_REG_ARR {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StoreRegArr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_REG_ARR` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | LOAD_REG_ARR {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadRegArr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chip8::memory::Chip8Memory` [INFO] [stdout] --> src/chip8/graphics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chip8::memory::Chip8Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/chip8/graphics.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | if (self.get_index(x + (j as usize), y + (i as usize)) < 2048) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::graphics::*` [INFO] [stdout] --> src/chip8/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::graphics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::keypad::*` [INFO] [stdout] --> src/chip8/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::keypad::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Chip8` [INFO] [stdout] --> src/chip8/cpu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::Chip8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SE_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SE_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `SeConst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SNE_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | SNE_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SneConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SE_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | SE_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `SeReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LOAD_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_CONST` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ADD_CONST {reg_index: u8, constant: u8}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AddConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LOAD_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ADD_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AddReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SUB_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | SUB_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SubReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SNE_REG` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | SNE_REG {reg_x_index: u8, reg_y_index: u8}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `SneReg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_ADDR` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | LOAD_ADDR {addr: u16}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LoadAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_V0` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | JUMP_V0 {addr: u16}, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `JumpV0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_DELAY_TIMER` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | LOAD_DELAY_TIMER {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadDelayTimer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WAIT_FOR_KEY_PRESS` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | WAIT_FOR_KEY_PRESS {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WaitForKeyPress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_DELAY_TIMER` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | SET_DELAY_TIMER {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetDelayTimer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_SOUND_TIMER` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | SET_SOUND_TIMER {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetSoundTimer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_I` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | ADD_I {reg_x_index: u8}, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AddI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_SPRITE_LOCATION` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | LOAD_SPRITE_LOCATION {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadSpriteLocation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_BCD` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | STORE_BCD {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StoreBcd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_REG_ARR` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | STORE_REG_ARR {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StoreRegArr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_REG_ARR` should have an upper camel case name [INFO] [stdout] --> src/chip8/cpu.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | LOAD_REG_ARR {reg_x_index: u8}, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadRegArr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chip8::memory::Chip8Memory` [INFO] [stdout] --> src/chip8/graphics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chip8::memory::Chip8Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/chip8/graphics.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | if (self.get_index(x + (j as usize), y + (i as usize)) < 2048) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcode` is never read [INFO] [stdout] --> src/chip8/cpu.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut opcode: Opcode = 0x0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:424:23 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:449:19 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:449:22 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N` [INFO] [stdout] --> src/chip8/cpu.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | (0xE, X, 0x9, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | (0xE, X, 0xA, 0x1) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:501:19 [INFO] [stdout] | [INFO] [stdout] 501 | (0xF, X, 0x0, 0x7) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:514:19 [INFO] [stdout] | [INFO] [stdout] 514 | (0xF, X, 0x0, 0xA) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | (0xF, X, 0x1, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | (0xF, X, 0x1, 0x8) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | (0xF, X, 0x1, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | (0xF, X, 0x2, 0x9) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | (0xF, X, 0x3, 0x3) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:610:19 [INFO] [stdout] | [INFO] [stdout] 610 | (0xF, X, 0x5, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | (0xF, X, 0x6, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_ref` [INFO] [stdout] --> src/chip8/cpu.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn decode_opcode(&mut self, memory_ref: &mut Chip8Memory, opcode: Opcode) -> IntermediateAsm { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8/cpu.rs:661:36 [INFO] [stdout] | [INFO] [stdout] 661 | IntermediateAsm::SYS { addr } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_val` [INFO] [stdout] --> src/chip8/cpu.rs:737:21 [INFO] [stdout] | [INFO] [stdout] 737 | let high_val = (*self.reg_gp)[reg_x_index as usize]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcode` is never read [INFO] [stdout] --> src/chip8/cpu.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut opcode: Opcode = 0x0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8/cpu.rs:806:21 [INFO] [stdout] | [INFO] [stdout] 806 | let mut memory_ref = &bus_ref.memory.memory; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:424:23 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N3` [INFO] [stdout] --> src/chip8/cpu.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N1` [INFO] [stdout] --> src/chip8/cpu.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N2` [INFO] [stdout] --> src/chip8/cpu.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_N2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:449:19 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Y` [INFO] [stdout] --> src/chip8/cpu.rs:449:22 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `N` [INFO] [stdout] --> src/chip8/cpu.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | (0xE, X, 0x9, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | (0xE, X, 0xA, 0x1) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:501:19 [INFO] [stdout] | [INFO] [stdout] 501 | (0xF, X, 0x0, 0x7) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:514:19 [INFO] [stdout] | [INFO] [stdout] 514 | (0xF, X, 0x0, 0xA) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | (0xF, X, 0x1, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | (0xF, X, 0x1, 0x8) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | (0xF, X, 0x1, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Opcode` [INFO] [stdout] --> src/chip8/cpu.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Opcode = u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | (0xF, X, 0x2, 0x9) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `IntermediateAsm` [INFO] [stdout] --> src/chip8/cpu.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum IntermediateAsm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | (0xF, X, 0x3, 0x3) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new() -> Chip8CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:610:19 [INFO] [stdout] | [INFO] [stdout] 610 | (0xF, X, 0x5, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/chip8/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn step(&mut self, bus_ref: &mut Chip8Bus) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_opcode` [INFO] [stdout] --> src/chip8/cpu.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn fetch_opcode(&mut self, memory_ref: &mut Chip8Memory) -> Opcode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> src/chip8/cpu.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | (0xF, X, 0x6, 0x5) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_opcode` [INFO] [stdout] --> src/chip8/cpu.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn decode_opcode(&mut self, memory_ref: &mut Chip8Memory, opcode: Opcode) -> IntermediateAsm { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_opcode` [INFO] [stdout] --> src/chip8/cpu.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn execute_opcode(&mut self, bus_ref: &mut Chip8Bus, instruction: IntermediateAsm) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_ref` [INFO] [stdout] --> src/chip8/cpu.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn decode_opcode(&mut self, memory_ref: &mut Chip8Memory, opcode: Opcode) -> IntermediateAsm { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_timer` [INFO] [stdout] --> src/chip8/cpu.rs:921:12 [INFO] [stdout] | [INFO] [stdout] 921 | pub fn update_timer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Chip8Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/chip8/memory.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_byte(&self, location: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/chip8/cpu.rs:661:36 [INFO] [stdout] | [INFO] [stdout] 661 | IntermediateAsm::SYS { addr } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `addr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHIP8_SCREEN_WIDTH` [INFO] [stdout] --> src/chip8/graphics.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CHIP8_SCREEN_WIDTH: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_val` [INFO] [stdout] --> src/chip8/cpu.rs:737:21 [INFO] [stdout] | [INFO] [stdout] 737 | let high_val = (*self.reg_gp)[reg_x_index as usize]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHIP8_SCREEN_HEIGHT` [INFO] [stdout] --> src/chip8/graphics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const CHIP8_SCREEN_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/graphics.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Chip8Graphics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/chip8/graphics.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_value` [INFO] [stdout] --> src/chip8/graphics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_pixel_value(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> src/chip8/graphics.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_index(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_sprite` [INFO] [stdout] --> src/chip8/graphics.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn draw_sprite(&mut self, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/keypad.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Chip8Keypad { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_pressed` [INFO] [stdout] --> src/chip8/keypad.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_pressed(&self, key_index: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Chip8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `boot` [INFO] [stdout] --> src/chip8/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn boot(&mut self, rom: &Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/chip8/mod.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/chip8/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn render(&mut self, canvas: &mut sdl2::render::Canvas) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_key_event` [INFO] [stdout] --> src/chip8/mod.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn do_key_event(&mut self, key: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/mod.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | fn new() -> Chip8Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chip8/cpu.rs:806:21 [INFO] [stdout] | [INFO] [stdout] 806 | let mut memory_ref = &bus_ref.memory.memory; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Opcode` [INFO] [stdout] --> src/chip8/cpu.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Opcode = u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `IntermediateAsm` [INFO] [stdout] --> src/chip8/cpu.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum IntermediateAsm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new() -> Chip8CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/chip8/cpu.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn step(&mut self, bus_ref: &mut Chip8Bus) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fetch_opcode` [INFO] [stdout] --> src/chip8/cpu.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn fetch_opcode(&mut self, memory_ref: &mut Chip8Memory) -> Opcode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_opcode` [INFO] [stdout] --> src/chip8/cpu.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn decode_opcode(&mut self, memory_ref: &mut Chip8Memory, opcode: Opcode) -> IntermediateAsm { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_opcode` [INFO] [stdout] --> src/chip8/cpu.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn execute_opcode(&mut self, bus_ref: &mut Chip8Bus, instruction: IntermediateAsm) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_timer` [INFO] [stdout] --> src/chip8/cpu.rs:921:12 [INFO] [stdout] | [INFO] [stdout] 921 | pub fn update_timer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Chip8Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_byte` [INFO] [stdout] --> src/chip8/memory.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn read_byte(&self, location: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHIP8_SCREEN_WIDTH` [INFO] [stdout] --> src/chip8/graphics.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CHIP8_SCREEN_WIDTH: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CHIP8_SCREEN_HEIGHT` [INFO] [stdout] --> src/chip8/graphics.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const CHIP8_SCREEN_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/graphics.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Chip8Graphics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/chip8/graphics.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_value` [INFO] [stdout] --> src/chip8/graphics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_pixel_value(&self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> src/chip8/graphics.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_index(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_sprite` [INFO] [stdout] --> src/chip8/graphics.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn draw_sprite(&mut self, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/keypad.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Chip8Keypad { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_pressed` [INFO] [stdout] --> src/chip8/keypad.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_pressed(&self, key_index: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Chip8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `boot` [INFO] [stdout] --> src/chip8/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn boot(&mut self, rom: &Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/chip8/mod.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/chip8/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn render(&mut self, canvas: &mut sdl2::render::Canvas) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `do_key_event` [INFO] [stdout] --> src/chip8/mod.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn do_key_event(&mut self, key: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chip8/mod.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | fn new() -> Chip8Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chip8/mod.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | canvas.fill_rect(Rect::new((x * 10) as i32, (y * 10) as i32, 10, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyLong` should have a snake case name [INFO] [stdout] --> src/chip8/mod.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let keyLong = key as usize; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `key_long` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:424:23 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:449:19 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:449:22 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | (0xE, X, 0x9, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | (0xE, X, 0xA, 0x1) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:501:19 [INFO] [stdout] | [INFO] [stdout] 501 | (0xF, X, 0x0, 0x7) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:514:19 [INFO] [stdout] | [INFO] [stdout] 514 | (0xF, X, 0x0, 0xA) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | (0xF, X, 0x1, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | (0xF, X, 0x1, 0x8) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | (0xF, X, 0x1, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | (0xF, X, 0x2, 0x9) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | (0xF, X, 0x3, 0x3) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:610:19 [INFO] [stdout] | [INFO] [stdout] 610 | (0xF, X, 0x5, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | (0xF, X, 0x6, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: literal out of range for u16 [INFO] [stdout] --> src/chip8/cpu.rs:725:27 [INFO] [stdout] | [INFO] [stdout] 725 | if (sum & 0xffffff00) != 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(overflowing_literals)]` on by default [INFO] [stdout] = note: the literal `0xffffff00` (decimal `4294967040`) does not fit into the type `u16` and will become `65280u16` [INFO] [stdout] = help: consider using `u32` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `postAND` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:800:21 [INFO] [stdout] | [INFO] [stdout] 800 | let postAND = rand255 & bitmask; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `post_and` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hadCollision` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:809:21 [INFO] [stdout] | [INFO] [stdout] 809 | let hadCollision = bus_ref.graphics.draw_sprite(memory_ref, x as usize, y as usize, self.reg_i, nibble); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `had_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unseperatedBits` should have a snake case name [INFO] [stdout] --> src/chip8/graphics.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let unseperatedBits = (*memory)[(mem_location + (i as u16)) as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unseperated_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 192 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/chip8/mod.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | canvas.fill_rect(Rect::new((x * 10) as i32, (y * 10) as i32, 10, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keyLong` should have a snake case name [INFO] [stdout] --> src/chip8/mod.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let keyLong = key as usize; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `key_long` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8_emulator` [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | (0x0, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | (0x1, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | (0x2, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | (0x3, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | (0x4, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | (0x5, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | (0x6, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | (0x7, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | (0x8, X, Y, 0x0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | (0x8, X, Y, 0x1) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:286:19 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | (0x8, X, Y, 0x2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | (0x8, X, Y, 0x3) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | (0x8, X, Y, 0x4) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | (0x8, X, Y, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | (0x8, X, Y, 0x6) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | (0x8, X, Y, 0x7) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:384:19 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | (0x8, X, Y, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:400:19 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | (0x9, X, Y, 0) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:414:27 [INFO] [stdout] | [INFO] [stdout] 414 | (0xA, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:424:23 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N3` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | (0xB, N1, N2, N3) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N1` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N2` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | (0xC, X, N1, N2) => { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:449:19 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:449:22 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | (0xD, X, Y, N) => { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | (0xE, X, 0x9, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:487:19 [INFO] [stdout] | [INFO] [stdout] 487 | (0xE, X, 0xA, 0x1) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:501:19 [INFO] [stdout] | [INFO] [stdout] 501 | (0xF, X, 0x0, 0x7) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:514:19 [INFO] [stdout] | [INFO] [stdout] 514 | (0xF, X, 0x0, 0xA) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:529:19 [INFO] [stdout] | [INFO] [stdout] 529 | (0xF, X, 0x1, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | (0xF, X, 0x1, 0x8) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | (0xF, X, 0x1, 0xE) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | (0xF, X, 0x2, 0x9) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | (0xF, X, 0x3, 0x3) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:610:19 [INFO] [stdout] | [INFO] [stdout] 610 | (0xF, X, 0x5, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | (0xF, X, 0x6, 0x5) => { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: literal out of range for u16 [INFO] [stdout] --> src/chip8/cpu.rs:725:27 [INFO] [stdout] | [INFO] [stdout] 725 | if (sum & 0xffffff00) != 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(overflowing_literals)]` on by default [INFO] [stdout] = note: the literal `0xffffff00` (decimal `4294967040`) does not fit into the type `u16` and will become `65280u16` [INFO] [stdout] = help: consider using `u32` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] warning: variable `postAND` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:800:21 [INFO] [stdout] | [INFO] [stdout] 800 | let postAND = rand255 & bitmask; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `post_and` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hadCollision` should have a snake case name [INFO] [stdout] --> src/chip8/cpu.rs:809:21 [INFO] [stdout] | [INFO] [stdout] 809 | let hadCollision = bus_ref.graphics.draw_sprite(memory_ref, x as usize, y as usize, self.reg_i, nibble); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `had_collision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unseperatedBits` should have a snake case name [INFO] [stdout] --> src/chip8/graphics.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let unseperatedBits = (*memory)[(mem_location + (i as u16)) as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unseperated_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 192 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d9c1514195b219dc7222ce130f925aeffd91b2735699553ee10bd8a16b2b257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9c1514195b219dc7222ce130f925aeffd91b2735699553ee10bd8a16b2b257", kill_on_drop: false }` [INFO] [stdout] 6d9c1514195b219dc7222ce130f925aeffd91b2735699553ee10bd8a16b2b257