[INFO] cloning repository https://github.com/Patches72790/Chip8-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Patches72790/Chip8-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatches72790%2FChip8-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatches72790%2FChip8-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8897b5c10e5f9877408b5fcf967f8de7f596041b
[INFO] testing Patches72790/Chip8-Rust against 1.85.0 for beta-1.86-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatches72790%2FChip8-Rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Patches72790/Chip8-Rust on toolchain 1.85.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Patches72790/Chip8-Rust
[INFO] finished tweaking git repo https://github.com/Patches72790/Chip8-Rust
[INFO] tweaked toml for git repo https://github.com/Patches72790/Chip8-Rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Patches72790/Chip8-Rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.console_error_panic_hook.enabled
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scoped-tls v1.0.0
[INFO] [stderr]   Downloaded fixedbitset v0.4.1
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.3.30
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.30
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.3.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d3b136a44f7328d376a3f3760e8c2691aea05a6b7385635a7f3a423ec48a513
[INFO] running `Command { std: "docker" "start" "-a" "6d3b136a44f7328d376a3f3760e8c2691aea05a6b7385635a7f3a423ec48a513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d3b136a44f7328d376a3f3760e8c2691aea05a6b7385635a7f3a423ec48a513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d3b136a44f7328d376a3f3760e8c2691aea05a6b7385635a7f3a423ec48a513", kill_on_drop: false }`
[INFO] [stdout] 6d3b136a44f7328d376a3f3760e8c2691aea05a6b7385635a7f3a423ec48a513
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfe37b44fa4e9eb3264cf0c23c8742a3abb90b67ab1c4784237b977331594804
[INFO] running `Command { std: "docker" "start" "-a" "dfe37b44fa4e9eb3264cf0c23c8742a3abb90b67ab1c4784237b977331594804", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.console_error_panic_hook.enabled
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.80
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling wasm-bindgen v0.2.80
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.30
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.80
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.80
[INFO] [stderr]    Compiling js-sys v0.3.57
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.30
[INFO] [stderr]    Compiling web-sys v0.3.57
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.30
[INFO] [stderr]    Compiling chip8-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `i00E0` should have an upper camel case name
[INFO] [stdout]  --> src/instruction.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     i00E0,                              // Clears the display
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `I00e0`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00EE` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     i00EE,                              // Return from a subroutine
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I00ee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00E1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     i00E1,                              // Sets all bits of display
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I00e1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i1NNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     i1NNN(Address),                     // Jump to address NNN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I1nnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i2NNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     i2NNN(Address),                     // Execute subroutine at address NNN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I2nnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i3XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     i3XNN(Register, RegData),           // Skip following instruction if VX == NN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I3xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i4XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     i4XNN(Register, RegData),           // Skip following instruction if VX != NN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I4xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i5XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     i5XY0(Register, Register),          // Skip following instruction if VX == VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I5xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i6XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     i6XNN(Register, RegData),           // store value NN at register X
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I6xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i7XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     i7XNN(Register, RegData),           // Add data NN to register X
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I7xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     i8XY0(Register, Register),          // VX = *VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     i8XY1(Register, Register),          // VX = VX | VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY2` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     i8XY2(Register, Register),          // VX = VX & VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY3` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     i8XY3(Register, Register),          // VX = VX ^ VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY4` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     i8XY4(Register, Register),          // VX = VX + VY -> VF = 1 if carry, 0 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY5` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     i8XY5(Register, Register),          // VX = VX - VY -> VF = 1 if carry, 0 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY6` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     i8XY6(Register, Register),          // VX = VY >> 1 -> VF = LSB of VY before shift
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY7` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     i8XY7(Register, Register),          // VX = VY - VX -> CAREFUL !!! VF = 0 if carry, 1 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XYE` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     i8XYE(Register, Register),          // VX = VY << 1 -> VF = MSB of VY before shift
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I8xye`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i9XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     i9XY0(Register, Register),          // Skip next instruction iff VX != VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I9xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iANNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     iANNN(Address),                     // Store memory address NNN in Register i
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IAnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iBNNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     iBNNN(Address),                     // Jump to adresss NNN + V0
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IBnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iCXNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     iCXNN(Register, Address),           // Put random number and mask with NN in VX
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ICxnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iDXYN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     iDXYN(Register, Register, RegData), // Draw at position (VX, VY) N bytes of sprite data starting at address stored in I
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IDxyn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iEX9E` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     iEX9E(Register),                    // Skip next instruction if key stored in reg VX is pressed
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IEx9e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iEXA1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     iEXA1(Register), // Skip next instruction if key stored in reg VX is not pressed
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IExa1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX07` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     iFX07(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx07`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX0A` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     iFX0A(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx0a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX15` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     iFX15(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx15`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX18` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     iFX18(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx18`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX1E` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     iFX1E(Register), // I += Reg[VX]
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx1e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX29` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     iFX29(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx29`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX33` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     iFX33(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx33`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX55` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     iFX55(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx55`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX65` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     iFX65(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx65`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen_test::console_log`
[INFO] [stdout]  --> src/ui.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasm_bindgen_test::console_log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `make_instruction`
[INFO] [stdout]   --> src/util.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! make_instruction {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reg2`
[INFO] [stdout]    --> src/cpu.rs:424:42
[INFO] [stdout]     |
[INFO] [stdout] 424 |                 Instruction::i8XYE(reg1, reg2) => {
[INFO] [stdout]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_reg2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `POWERS_OF_TWO` is never used
[INFO] [stdout]  --> src/keyboard.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | static POWERS_OF_TWO: [u16; 16] = [
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Key` is never used
[INFO] [stdout]    --> src/keyboard.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub enum Key {
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REG_V1` is never used
[INFO] [stdout]   --> src/types.rs:96:11
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub const REG_V1: usize = 0x1;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_OFF_COLOR` is never used
[INFO] [stdout]  --> src/ui.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | static PIXEL_OFF_COLOR: &str = "#000000";
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_ON_COLOR` is never used
[INFO] [stdout]   --> src/ui.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static PIXEL_ON_COLOR: &str = "#FFFFFF";
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_SIZE` is never used
[INFO] [stdout]   --> src/ui.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | static PIXEL_SIZE: usize = 10;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_chip8` is never used
[INFO] [stdout]   --> src/ui.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run_chip8() -> Result<(), JsValue> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_pixels` is never used
[INFO] [stdout]   --> src/ui.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn draw_pixels(cpu: &Cpu, context: &CanvasRenderingContext2d) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_context` is never used
[INFO] [stdout]   --> src/ui.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn get_context(width: &usize, height: &usize) -> web_sys::CanvasRenderingContext2d {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `window` is never used
[INFO] [stdout]   --> src/ui.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn window() -> web_sys::Window {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_animation_frame` is never used
[INFO] [stdout]   --> src/ui.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn request_animation_frame(f: &Closure<dyn FnMut()>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `document` is never used
[INFO] [stdout]   --> src/ui.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn document() -> web_sys::Document {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 62 |         unsafe { KEYS._keys.as_ptr() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     KEY0 => KEYS.set_key(0),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     KEY1 => KEYS.set_key(1),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     KEY2 => KEYS.set_key(2),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     KEY3 => KEYS.set_key(3),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     KEY4 => KEYS.set_key(4),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     KEY5 => KEYS.set_key(5),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     KEY6 => KEYS.set_key(6),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |                     KEY7 => KEYS.set_key(7),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     KEY8 => KEYS.set_key(8),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     KEY9 => KEYS.set_key(9),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                     KEYA => KEYS.set_key(10),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     KEYB => KEYS.set_key(11),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     KEYC => KEYS.set_key(12),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     KEYD => KEYS.set_key(13),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     KEYE => KEYS.set_key(14),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     KEYF => KEYS.set_key(15),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     KEY0 => KEYS.clear_key(0),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     KEY1 => KEYS.clear_key(1),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                     KEY2 => KEYS.clear_key(2),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |                     KEY3 => KEYS.clear_key(3),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     KEY4 => KEYS.clear_key(4),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     KEY5 => KEYS.clear_key(5),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     KEY6 => KEYS.clear_key(6),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:106:29
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     KEY7 => KEYS.clear_key(7),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:107:29
[INFO] [stdout]     |
[INFO] [stdout] 107 |                     KEY8 => KEYS.clear_key(8),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:108:29
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     KEY9 => KEYS.clear_key(9),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     KEYA => KEYS.clear_key(10),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:110:29
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     KEYB => KEYS.clear_key(11),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |                     KEYC => KEYS.clear_key(12),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:112:29
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     KEYD => KEYS.clear_key(13),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     KEYE => KEYS.clear_key(14),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     KEYF => KEYS.clear_key(15),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |             unsafe { KEYS.get_key(key.into()) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |         unsafe { KEYS._keys.as_slice().as_ptr() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.29s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "dfe37b44fa4e9eb3264cf0c23c8742a3abb90b67ab1c4784237b977331594804", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfe37b44fa4e9eb3264cf0c23c8742a3abb90b67ab1c4784237b977331594804", kill_on_drop: false }`
[INFO] [stdout] dfe37b44fa4e9eb3264cf0c23c8742a3abb90b67ab1c4784237b977331594804
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63ca6cd0eadef1ea8577447a1cb3971f1dc5d8f67748ed397ccdfe7189326b1e
[INFO] running `Command { std: "docker" "start" "-a" "63ca6cd0eadef1ea8577447a1cb3971f1dc5d8f67748ed397ccdfe7189326b1e", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.console_error_panic_hook.enabled
[INFO] [stdout] warning: variant `i00E0` should have an upper camel case name
[INFO] [stdout]  --> src/instruction.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     i00E0,                              // Clears the display
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `I00e0`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00EE` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     i00EE,                              // Return from a subroutine
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I00ee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00E1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     i00E1,                              // Sets all bits of display
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I00e1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i1NNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     i1NNN(Address),                     // Jump to address NNN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I1nnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i2NNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     i2NNN(Address),                     // Execute subroutine at address NNN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I2nnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i3XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     i3XNN(Register, RegData),           // Skip following instruction if VX == NN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I3xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i4XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     i4XNN(Register, RegData),           // Skip following instruction if VX != NN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I4xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i5XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     i5XY0(Register, Register),          // Skip following instruction if VX == VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I5xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i6XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     i6XNN(Register, RegData),           // store value NN at register X
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I6xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i7XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     i7XNN(Register, RegData),           // Add data NN to register X
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I7xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     i8XY0(Register, Register),          // VX = *VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     i8XY1(Register, Register),          // VX = VX | VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY2` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     i8XY2(Register, Register),          // VX = VX & VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY3` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     i8XY3(Register, Register),          // VX = VX ^ VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY4` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     i8XY4(Register, Register),          // VX = VX + VY -> VF = 1 if carry, 0 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY5` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     i8XY5(Register, Register),          // VX = VX - VY -> VF = 1 if carry, 0 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY6` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     i8XY6(Register, Register),          // VX = VY >> 1 -> VF = LSB of VY before shift
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY7` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     i8XY7(Register, Register),          // VX = VY - VX -> CAREFUL !!! VF = 0 if carry, 1 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XYE` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     i8XYE(Register, Register),          // VX = VY << 1 -> VF = MSB of VY before shift
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I8xye`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i9XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     i9XY0(Register, Register),          // Skip next instruction iff VX != VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I9xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iANNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     iANNN(Address),                     // Store memory address NNN in Register i
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IAnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iBNNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     iBNNN(Address),                     // Jump to adresss NNN + V0
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IBnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iCXNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     iCXNN(Register, Address),           // Put random number and mask with NN in VX
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ICxnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iDXYN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     iDXYN(Register, Register, RegData), // Draw at position (VX, VY) N bytes of sprite data starting at address stored in I
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IDxyn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iEX9E` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     iEX9E(Register),                    // Skip next instruction if key stored in reg VX is pressed
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IEx9e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iEXA1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     iEXA1(Register), // Skip next instruction if key stored in reg VX is not pressed
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IExa1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX07` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     iFX07(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx07`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX0A` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     iFX0A(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx0a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX15` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     iFX15(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx15`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX18` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     iFX18(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx18`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX1E` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     iFX1E(Register), // I += Reg[VX]
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx1e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX29` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     iFX29(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx29`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX33` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     iFX33(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx33`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX55` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     iFX55(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx55`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX65` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     iFX65(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx65`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen_test::console_log`
[INFO] [stdout]  --> src/ui.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasm_bindgen_test::console_log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `make_instruction`
[INFO] [stdout]   --> src/util.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! make_instruction {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reg2`
[INFO] [stdout]    --> src/cpu.rs:424:42
[INFO] [stdout]     |
[INFO] [stdout] 424 |                 Instruction::i8XYE(reg1, reg2) => {
[INFO] [stdout]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_reg2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `POWERS_OF_TWO` is never used
[INFO] [stdout]  --> src/keyboard.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | static POWERS_OF_TWO: [u16; 16] = [
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Key` is never used
[INFO] [stdout]    --> src/keyboard.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub enum Key {
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REG_V1` is never used
[INFO] [stdout]   --> src/types.rs:96:11
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub const REG_V1: usize = 0x1;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_OFF_COLOR` is never used
[INFO] [stdout]  --> src/ui.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | static PIXEL_OFF_COLOR: &str = "#000000";
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_ON_COLOR` is never used
[INFO] [stdout]   --> src/ui.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static PIXEL_ON_COLOR: &str = "#FFFFFF";
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_SIZE` is never used
[INFO] [stdout]   --> src/ui.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | static PIXEL_SIZE: usize = 10;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_chip8` is never used
[INFO] [stdout]   --> src/ui.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run_chip8() -> Result<(), JsValue> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_pixels` is never used
[INFO] [stdout]   --> src/ui.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn draw_pixels(cpu: &Cpu, context: &CanvasRenderingContext2d) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_context` is never used
[INFO] [stdout]   --> src/ui.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn get_context(width: &usize, height: &usize) -> web_sys::CanvasRenderingContext2d {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `window` is never used
[INFO] [stdout]   --> src/ui.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn window() -> web_sys::Window {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_animation_frame` is never used
[INFO] [stdout]   --> src/ui.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn request_animation_frame(f: &Closure<dyn FnMut()>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `document` is never used
[INFO] [stdout]   --> src/ui.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn document() -> web_sys::Document {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 62 |         unsafe { KEYS._keys.as_ptr() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     KEY0 => KEYS.set_key(0),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     KEY1 => KEYS.set_key(1),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     KEY2 => KEYS.set_key(2),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     KEY3 => KEYS.set_key(3),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     KEY4 => KEYS.set_key(4),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     KEY5 => KEYS.set_key(5),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     KEY6 => KEYS.set_key(6),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |                     KEY7 => KEYS.set_key(7),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     KEY8 => KEYS.set_key(8),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     KEY9 => KEYS.set_key(9),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                     KEYA => KEYS.set_key(10),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     KEYB => KEYS.set_key(11),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     KEYC => KEYS.set_key(12),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     KEYD => KEYS.set_key(13),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     KEYE => KEYS.set_key(14),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     KEYF => KEYS.set_key(15),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     KEY0 => KEYS.clear_key(0),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     KEY1 => KEYS.clear_key(1),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                     KEY2 => KEYS.clear_key(2),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |                     KEY3 => KEYS.clear_key(3),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     KEY4 => KEYS.clear_key(4),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     KEY5 => KEYS.clear_key(5),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     KEY6 => KEYS.clear_key(6),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:106:29
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     KEY7 => KEYS.clear_key(7),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:107:29
[INFO] [stdout]     |
[INFO] [stdout] 107 |                     KEY8 => KEYS.clear_key(8),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:108:29
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     KEY9 => KEYS.clear_key(9),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     KEYA => KEYS.clear_key(10),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:110:29
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     KEYB => KEYS.clear_key(11),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |                     KEYC => KEYS.clear_key(12),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling chip8-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:112:29
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     KEYD => KEYS.clear_key(13),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     KEYE => KEYS.clear_key(14),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     KEYF => KEYS.clear_key(15),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |             unsafe { KEYS.get_key(key.into()) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |         unsafe { KEYS._keys.as_slice().as_ptr() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00E0` should have an upper camel case name
[INFO] [stdout]  --> src/instruction.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     i00E0,                              // Clears the display
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `I00e0`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00EE` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     i00EE,                              // Return from a subroutine
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I00ee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i00E1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     i00E1,                              // Sets all bits of display
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I00e1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i1NNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     i1NNN(Address),                     // Jump to address NNN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I1nnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i2NNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     i2NNN(Address),                     // Execute subroutine at address NNN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I2nnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i3XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     i3XNN(Register, RegData),           // Skip following instruction if VX == NN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I3xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i4XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     i4XNN(Register, RegData),           // Skip following instruction if VX != NN
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I4xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i5XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     i5XY0(Register, Register),          // Skip following instruction if VX == VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I5xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i6XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     i6XNN(Register, RegData),           // store value NN at register X
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I6xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i7XNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     i7XNN(Register, RegData),           // Add data NN to register X
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I7xnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     i8XY0(Register, Register),          // VX = *VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     i8XY1(Register, Register),          // VX = VX | VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY2` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     i8XY2(Register, Register),          // VX = VX & VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY3` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     i8XY3(Register, Register),          // VX = VX ^ VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY4` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     i8XY4(Register, Register),          // VX = VX + VY -> VF = 1 if carry, 0 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY5` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     i8XY5(Register, Register),          // VX = VX - VY -> VF = 1 if carry, 0 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY6` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     i8XY6(Register, Register),          // VX = VY >> 1 -> VF = LSB of VY before shift
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy6`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XY7` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     i8XY7(Register, Register),          // VX = VY - VX -> CAREFUL !!! VF = 0 if carry, 1 otherwise
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy7`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i8XYE` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     i8XYE(Register, Register),          // VX = VY << 1 -> VF = MSB of VY before shift
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `I8xye`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i9XY0` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     i9XY0(Register, Register),          // Skip next instruction iff VX != VY
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I9xy0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iANNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     iANNN(Address),                     // Store memory address NNN in Register i
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IAnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iBNNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     iBNNN(Address),                     // Jump to adresss NNN + V0
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IBnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iCXNN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     iCXNN(Register, Address),           // Put random number and mask with NN in VX
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ICxnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iDXYN` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     iDXYN(Register, Register, RegData), // Draw at position (VX, VY) N bytes of sprite data starting at address stored in I
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IDxyn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iEX9E` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     iEX9E(Register),                    // Skip next instruction if key stored in reg VX is pressed
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IEx9e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iEXA1` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     iEXA1(Register), // Skip next instruction if key stored in reg VX is not pressed
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IExa1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX07` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     iFX07(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx07`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX0A` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     iFX0A(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx0a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX15` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     iFX15(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx15`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX18` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     iFX18(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx18`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX1E` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     iFX1E(Register), // I += Reg[VX]
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx1e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX29` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     iFX29(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx29`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX33` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     iFX33(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx33`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX55` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     iFX55(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx55`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `iFX65` should have an upper camel case name
[INFO] [stdout]   --> src/instruction.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     iFX65(Register), // TODO
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx65`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen_test::console_log`
[INFO] [stdout]  --> src/ui.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use wasm_bindgen_test::console_log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `make_instruction`
[INFO] [stdout]   --> src/util.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | macro_rules! make_instruction {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reg2`
[INFO] [stdout]    --> src/cpu.rs:424:42
[INFO] [stdout]     |
[INFO] [stdout] 424 |                 Instruction::i8XYE(reg1, reg2) => {
[INFO] [stdout]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_reg2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `POWERS_OF_TWO` is never used
[INFO] [stdout]  --> src/keyboard.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | static POWERS_OF_TWO: [u16; 16] = [
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Key` is never used
[INFO] [stdout]    --> src/keyboard.rs:183:10
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub enum Key {
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REG_V1` is never used
[INFO] [stdout]   --> src/types.rs:96:11
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub const REG_V1: usize = 0x1;
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_OFF_COLOR` is never used
[INFO] [stdout]  --> src/ui.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | static PIXEL_OFF_COLOR: &str = "#000000";
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_ON_COLOR` is never used
[INFO] [stdout]   --> src/ui.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static PIXEL_ON_COLOR: &str = "#FFFFFF";
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PIXEL_SIZE` is never used
[INFO] [stdout]   --> src/ui.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | static PIXEL_SIZE: usize = 10;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_chip8` is never used
[INFO] [stdout]   --> src/ui.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run_chip8() -> Result<(), JsValue> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_pixels` is never used
[INFO] [stdout]   --> src/ui.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn draw_pixels(cpu: &Cpu, context: &CanvasRenderingContext2d) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_context` is never used
[INFO] [stdout]   --> src/ui.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn get_context(width: &usize, height: &usize) -> web_sys::CanvasRenderingContext2d {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `window` is never used
[INFO] [stdout]   --> src/ui.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn window() -> web_sys::Window {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_animation_frame` is never used
[INFO] [stdout]   --> src/ui.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn request_animation_frame(f: &Closure<dyn FnMut()>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `document` is never used
[INFO] [stdout]   --> src/ui.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn document() -> web_sys::Document {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 62 |         unsafe { KEYS._keys.as_ptr() }
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     KEY0 => KEYS.set_key(0),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     KEY1 => KEYS.set_key(1),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     KEY2 => KEYS.set_key(2),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     KEY3 => KEYS.set_key(3),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     KEY4 => KEYS.set_key(4),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     KEY5 => KEYS.set_key(5),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 |                     KEY6 => KEYS.set_key(6),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |                     KEY7 => KEYS.set_key(7),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:80:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     KEY8 => KEYS.set_key(8),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     KEY9 => KEYS.set_key(9),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:82:29
[INFO] [stdout]    |
[INFO] [stdout] 82 |                     KEYA => KEYS.set_key(10),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     KEYB => KEYS.set_key(11),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:84:29
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     KEYC => KEYS.set_key(12),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |                     KEYD => KEYS.set_key(13),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                     KEYE => KEYS.set_key(14),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     KEYF => KEYS.set_key(15),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/keyboard.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     KEY0 => KEYS.clear_key(0),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     KEY1 => KEYS.clear_key(1),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:101:29
[INFO] [stdout]     |
[INFO] [stdout] 101 |                     KEY2 => KEYS.clear_key(2),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |                     KEY3 => KEYS.clear_key(3),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     KEY4 => KEYS.clear_key(4),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     KEY5 => KEYS.clear_key(5),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     KEY6 => KEYS.clear_key(6),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:106:29
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     KEY7 => KEYS.clear_key(7),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:107:29
[INFO] [stdout]     |
[INFO] [stdout] 107 |                     KEY8 => KEYS.clear_key(8),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:108:29
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     KEY9 => KEYS.clear_key(9),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     KEYA => KEYS.clear_key(10),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:110:29
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     KEYB => KEYS.clear_key(11),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |                     KEYC => KEYS.clear_key(12),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:112:29
[INFO] [stdout]     |
[INFO] [stdout] 112 |                     KEYD => KEYS.clear_key(13),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     KEYE => KEYS.clear_key(14),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     KEYF => KEYS.clear_key(15),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |             unsafe { KEYS.get_key(key.into()) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[INFO] [stdout]    --> src/keyboard.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |         unsafe { KEYS._keys.as_slice().as_ptr() }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "63ca6cd0eadef1ea8577447a1cb3971f1dc5d8f67748ed397ccdfe7189326b1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63ca6cd0eadef1ea8577447a1cb3971f1dc5d8f67748ed397ccdfe7189326b1e", kill_on_drop: false }`
[INFO] [stdout] 63ca6cd0eadef1ea8577447a1cb3971f1dc5d8f67748ed397ccdfe7189326b1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f9fab69c62689a5d3dd62ac28e564e449464ef54ad7dce0c4bbadb3401bfadf0
[INFO] running `Command { std: "docker" "start" "-a" "f9fab69c62689a5d3dd62ac28e564e449464ef54ad7dce0c4bbadb3401bfadf0", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.console_error_panic_hook.enabled
[INFO] [stderr] warning: variant `i00E0` should have an upper camel case name
[INFO] [stderr]  --> src/instruction.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     i00E0,                              // Clears the display
[INFO] [stderr]   |     ^^^^^ help: convert the identifier to upper camel case: `I00e0`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i00EE` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     i00EE,                              // Return from a subroutine
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I00ee`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i00E1` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     i00E1,                              // Sets all bits of display
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I00e1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i1NNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     i1NNN(Address),                     // Jump to address NNN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I1nnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i2NNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     i2NNN(Address),                     // Execute subroutine at address NNN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I2nnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i3XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     i3XNN(Register, RegData),           // Skip following instruction if VX == NN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I3xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i4XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     i4XNN(Register, RegData),           // Skip following instruction if VX != NN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I4xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i5XY0` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     i5XY0(Register, Register),          // Skip following instruction if VX == VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I5xy0`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i6XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     i6XNN(Register, RegData),           // store value NN at register X
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I6xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i7XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     i7XNN(Register, RegData),           // Add data NN to register X
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I7xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY0` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     i8XY0(Register, Register),          // VX = *VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy0`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY1` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     i8XY1(Register, Register),          // VX = VX | VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY2` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 |     i8XY2(Register, Register),          // VX = VX & VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy2`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY3` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     i8XY3(Register, Register),          // VX = VX ^ VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy3`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY4` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     i8XY4(Register, Register),          // VX = VX + VY -> VF = 1 if carry, 0 otherwise
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy4`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY5` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     i8XY5(Register, Register),          // VX = VX - VY -> VF = 1 if carry, 0 otherwise
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy5`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY6` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     i8XY6(Register, Register),          // VX = VY >> 1 -> VF = LSB of VY before shift
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy6`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY7` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     i8XY7(Register, Register),          // VX = VY - VX -> CAREFUL !!! VF = 0 if carry, 1 otherwise
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy7`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XYE` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     i8XYE(Register, Register),          // VX = VY << 1 -> VF = MSB of VY before shift
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I8xye`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i9XY0` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     i9XY0(Register, Register),          // Skip next instruction iff VX != VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I9xy0`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iANNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     iANNN(Address),                     // Store memory address NNN in Register i
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IAnnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iBNNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     iBNNN(Address),                     // Jump to adresss NNN + V0
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IBnnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iCXNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     iCXNN(Register, Address),           // Put random number and mask with NN in VX
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ICxnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iDXYN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     iDXYN(Register, Register, RegData), // Draw at position (VX, VY) N bytes of sprite data starting at address stored in I
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IDxyn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iEX9E` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     iEX9E(Register),                    // Skip next instruction if key stored in reg VX is pressed
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IEx9e`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iEXA1` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     iEXA1(Register), // Skip next instruction if key stored in reg VX is not pressed
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IExa1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX07` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 |     iFX07(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx07`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX0A` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     iFX0A(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx0a`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX15` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     iFX15(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx15`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX18` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |     iFX18(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx18`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX1E` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     iFX1E(Register), // I += Reg[VX]
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx1e`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX29` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     iFX29(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx29`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX33` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     iFX33(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx33`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX55` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     iFX55(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx55`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX65` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     iFX65(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx65`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `wasm_bindgen_test::console_log`
[INFO] [stderr]  --> src/ui.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use wasm_bindgen_test::console_log;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition: `make_instruction`
[INFO] [stderr]   --> src/util.rs:54:14
[INFO] [stderr]    |
[INFO] [stderr] 54 | macro_rules! make_instruction {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reg2`
[INFO] [stderr]    --> src/cpu.rs:424:42
[INFO] [stderr]     |
[INFO] [stderr] 424 |                 Instruction::i8XYE(reg1, reg2) => {
[INFO] [stderr]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_reg2`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static `POWERS_OF_TWO` is never used
[INFO] [stderr]  --> src/keyboard.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | static POWERS_OF_TWO: [u16; 16] = [
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Key` is never used
[INFO] [stderr]    --> src/keyboard.rs:183:10
[INFO] [stderr]     |
[INFO] [stderr] 183 | pub enum Key {
[INFO] [stderr]     |          ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: constant `REG_V1` is never used
[INFO] [stderr]   --> src/types.rs:96:11
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub const REG_V1: usize = 0x1;
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `PIXEL_OFF_COLOR` is never used
[INFO] [stderr]  --> src/ui.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 9 | static PIXEL_OFF_COLOR: &str = "#000000";
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `PIXEL_ON_COLOR` is never used
[INFO] [stderr]   --> src/ui.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | static PIXEL_ON_COLOR: &str = "#FFFFFF";
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `PIXEL_SIZE` is never used
[INFO] [stderr]   --> src/ui.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | static PIXEL_SIZE: usize = 10;
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `run_chip8` is never used
[INFO] [stderr]   --> src/ui.rs:14:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn run_chip8() -> Result<(), JsValue> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `draw_pixels` is never used
[INFO] [stderr]   --> src/ui.rs:36:4
[INFO] [stderr]    |
[INFO] [stderr] 36 | fn draw_pixels(cpu: &Cpu, context: &CanvasRenderingContext2d) {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_context` is never used
[INFO] [stderr]   --> src/ui.rs:60:4
[INFO] [stderr]    |
[INFO] [stderr] 60 | fn get_context(width: &usize, height: &usize) -> web_sys::CanvasRenderingContext2d {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `window` is never used
[INFO] [stderr]   --> src/ui.rs:78:4
[INFO] [stderr]    |
[INFO] [stderr] 78 | fn window() -> web_sys::Window {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `request_animation_frame` is never used
[INFO] [stderr]   --> src/ui.rs:82:4
[INFO] [stderr]    |
[INFO] [stderr] 82 | fn request_animation_frame(f: &Closure<dyn FnMut()>) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `document` is never used
[INFO] [stderr]   --> src/ui.rs:88:4
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn document() -> web_sys::Document {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:62:18
[INFO] [stderr]    |
[INFO] [stderr] 62 |         unsafe { KEYS._keys.as_ptr() }
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:72:29
[INFO] [stderr]    |
[INFO] [stderr] 72 |                     KEY0 => KEYS.set_key(0),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:73:29
[INFO] [stderr]    |
[INFO] [stderr] 73 |                     KEY1 => KEYS.set_key(1),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:74:29
[INFO] [stderr]    |
[INFO] [stderr] 74 |                     KEY2 => KEYS.set_key(2),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:75:29
[INFO] [stderr]    |
[INFO] [stderr] 75 |                     KEY3 => KEYS.set_key(3),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:76:29
[INFO] [stderr]    |
[INFO] [stderr] 76 |                     KEY4 => KEYS.set_key(4),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:77:29
[INFO] [stderr]    |
[INFO] [stderr] 77 |                     KEY5 => KEYS.set_key(5),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:78:29
[INFO] [stderr]    |
[INFO] [stderr] 78 |                     KEY6 => KEYS.set_key(6),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:79:29
[INFO] [stderr]    |
[INFO] [stderr] 79 |                     KEY7 => KEYS.set_key(7),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:80:29
[INFO] [stderr]    |
[INFO] [stderr] 80 |                     KEY8 => KEYS.set_key(8),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:81:29
[INFO] [stderr]    |
[INFO] [stderr] 81 |                     KEY9 => KEYS.set_key(9),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:82:29
[INFO] [stderr]    |
[INFO] [stderr] 82 |                     KEYA => KEYS.set_key(10),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:83:29
[INFO] [stderr]    |
[INFO] [stderr] 83 |                     KEYB => KEYS.set_key(11),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:84:29
[INFO] [stderr]    |
[INFO] [stderr] 84 |                     KEYC => KEYS.set_key(12),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:85:29
[INFO] [stderr]    |
[INFO] [stderr] 85 |                     KEYD => KEYS.set_key(13),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:86:29
[INFO] [stderr]    |
[INFO] [stderr] 86 |                     KEYE => KEYS.set_key(14),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:87:29
[INFO] [stderr]    |
[INFO] [stderr] 87 |                     KEYF => KEYS.set_key(15),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]   --> src/keyboard.rs:99:29
[INFO] [stderr]    |
[INFO] [stderr] 99 |                     KEY0 => KEYS.clear_key(0),
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:100:29
[INFO] [stderr]     |
[INFO] [stderr] 100 |                     KEY1 => KEYS.clear_key(1),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:101:29
[INFO] [stderr]     |
[INFO] [stderr] 101 |                     KEY2 => KEYS.clear_key(2),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:102:29
[INFO] [stderr]     |
[INFO] [stderr] 102 |                     KEY3 => KEYS.clear_key(3),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:103:29
[INFO] [stderr]     |
[INFO] [stderr] 103 |                     KEY4 => KEYS.clear_key(4),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:104:29
[INFO] [stderr]     |
[INFO] [stderr] 104 |                     KEY5 => KEYS.clear_key(5),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:105:29
[INFO] [stderr]     |
[INFO] [stderr] 105 |                     KEY6 => KEYS.clear_key(6),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:106:29
[INFO] [stderr]     |
[INFO] [stderr] 106 |                     KEY7 => KEYS.clear_key(7),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:107:29
[INFO] [stderr]     |
[INFO] [stderr] 107 |                     KEY8 => KEYS.clear_key(8),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:108:29
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     KEY9 => KEYS.clear_key(9),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:109:29
[INFO] [stderr]     |
[INFO] [stderr] 109 |                     KEYA => KEYS.clear_key(10),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:110:29
[INFO] [stderr]     |
[INFO] [stderr] 110 |                     KEYB => KEYS.clear_key(11),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:111:29
[INFO] [stderr]     |
[INFO] [stderr] 111 |                     KEYC => KEYS.clear_key(12),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:112:29
[INFO] [stderr]     |
[INFO] [stderr] 112 |                     KEYD => KEYS.clear_key(13),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:113:29
[INFO] [stderr]     |
[INFO] [stderr] 113 |                     KEYE => KEYS.clear_key(14),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:114:29
[INFO] [stderr]     |
[INFO] [stderr] 114 |                     KEYF => KEYS.clear_key(15),
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:138:22
[INFO] [stderr]     |
[INFO] [stderr] 138 |             unsafe { KEYS.get_key(key.into()) }
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static is discouraged
[INFO] [stderr]    --> src/keyboard.rs:147:18
[INFO] [stderr]     |
[INFO] [stderr] 147 |         unsafe { KEYS._keys.as_slice().as_ptr() }
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `chip8-rust` (lib) generated 85 warnings (run `cargo fix --lib -p chip8-rust` to apply 1 suggestion)
[INFO] [stderr] warning: `chip8-rust` (lib test) generated 85 warnings (85 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chip8_rust-6ded305d2d3d934f)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests chip8_rust
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] warning: variant `i00E0` should have an upper camel case name
[INFO] [stderr]  --> src/instruction.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     i00E0,                              // Clears the display
[INFO] [stderr]   |     ^^^^^ help: convert the identifier to upper camel case: `I00e0`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i00EE` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     i00EE,                              // Return from a subroutine
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I00ee`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i00E1` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     i00E1,                              // Sets all bits of display
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I00e1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i1NNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     i1NNN(Address),                     // Jump to address NNN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I1nnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i2NNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     i2NNN(Address),                     // Execute subroutine at address NNN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I2nnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i3XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     i3XNN(Register, RegData),           // Skip following instruction if VX == NN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I3xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i4XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     i4XNN(Register, RegData),           // Skip following instruction if VX != NN
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I4xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i5XY0` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     i5XY0(Register, Register),          // Skip following instruction if VX == VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I5xy0`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i6XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     i6XNN(Register, RegData),           // store value NN at register X
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I6xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i7XNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     i7XNN(Register, RegData),           // Add data NN to register X
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I7xnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY0` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     i8XY0(Register, Register),          // VX = *VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy0`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY1` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     i8XY1(Register, Register),          // VX = VX | VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY2` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 |     i8XY2(Register, Register),          // VX = VX & VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy2`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY3` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 |     i8XY3(Register, Register),          // VX = VX ^ VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy3`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY4` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     i8XY4(Register, Register),          // VX = VX + VY -> VF = 1 if carry, 0 otherwise
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy4`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY5` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     i8XY5(Register, Register),          // VX = VX - VY -> VF = 1 if carry, 0 otherwise
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy5`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY6` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     i8XY6(Register, Register),          // VX = VY >> 1 -> VF = LSB of VY before shift
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy6`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XY7` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 |     i8XY7(Register, Register),          // VX = VY - VX -> CAREFUL !!! VF = 0 if carry, 1 otherwise
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I8xy7`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i8XYE` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     i8XYE(Register, Register),          // VX = VY << 1 -> VF = MSB of VY before shift
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `I8xye`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `i9XY0` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     i9XY0(Register, Register),          // Skip next instruction iff VX != VY
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `I9xy0`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iANNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     iANNN(Address),                     // Store memory address NNN in Register i
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IAnnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iBNNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     iBNNN(Address),                     // Jump to adresss NNN + V0
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IBnnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iCXNN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     iCXNN(Register, Address),           // Put random number and mask with NN in VX
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ICxnn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iDXYN` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     iDXYN(Register, Register, RegData), // Draw at position (VX, VY) N bytes of sprite data starting at address stored in I
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IDxyn`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iEX9E` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     iEX9E(Register),                    // Skip next instruction if key stored in reg VX is pressed
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IEx9e`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iEXA1` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     iEXA1(Register), // Skip next instruction if key stored in reg VX is not pressed
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IExa1`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX07` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 |     iFX07(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx07`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX0A` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     iFX0A(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx0a`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX15` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 |     iFX15(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx15`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX18` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |     iFX18(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx18`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX1E` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     iFX1E(Register), // I += Reg[VX]
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `IFx1e`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX29` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     iFX29(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx29`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX33` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     iFX33(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx33`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX55` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     iFX55(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx55`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `iFX65` should have an upper camel case name
[INFO] [stderr]   --> src/instruction.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     iFX65(Register), // TODO
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `IFx65`
[INFO] [stderr] 
[INFO] [stderr] warning: 35 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f9fab69c62689a5d3dd62ac28e564e449464ef54ad7dce0c4bbadb3401bfadf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9fab69c62689a5d3dd62ac28e564e449464ef54ad7dce0c4bbadb3401bfadf0", kill_on_drop: false }`
[INFO] [stdout] f9fab69c62689a5d3dd62ac28e564e449464ef54ad7dce0c4bbadb3401bfadf0
