[INFO] cloning repository https://github.com/MichaelJRossDev/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MichaelJRossDev/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelJRossDev%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelJRossDev%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4770fdcfc6ac5664de907d9b1eae6ca7efec335d [INFO] checking MichaelJRossDev/chip8 against try#afeffcd090fe6cee35c99f8b5539d74aa443fe34 for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichaelJRossDev%2Fchip8" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MichaelJRossDev/chip8 [INFO] finished tweaking git repo https://github.com/MichaelJRossDev/chip8 [INFO] tweaked toml for git repo https://github.com/MichaelJRossDev/chip8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MichaelJRossDev/chip8 on toolchain afeffcd090fe6cee35c99f8b5539d74aa443fe34 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MichaelJRossDev/chip8 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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b54d95d66a893b7317389048f29f3d34f0716bc64713f82de8e6276e337cdc76 [INFO] running `Command { std: "docker" "start" "-a" "b54d95d66a893b7317389048f29f3d34f0716bc64713f82de8e6276e337cdc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b54d95d66a893b7317389048f29f3d34f0716bc64713f82de8e6276e337cdc76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54d95d66a893b7317389048f29f3d34f0716bc64713f82de8e6276e337cdc76", kill_on_drop: false }` [INFO] [stdout] b54d95d66a893b7317389048f29f3d34f0716bc64713f82de8e6276e337cdc76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aa363936816db399823bf8f9bb3a97f650acf0e95b96381103bdb112d283c70 [INFO] running `Command { std: "docker" "start" "-a" "7aa363936816db399823bf8f9bb3a97f650acf0e95b96381103bdb112d283c70", kill_on_drop: false }` [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn shift_left(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:178:55 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn skip_if_registers_not_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn shift_left(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/cpu.rs:178:63 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn skip_if_registers_not_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cpu.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:178:55 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn skip_if_registers_not_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cpu.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn jump_plus_v0(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/cpu.rs:178:63 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn skip_if_registers_not_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn random_byte(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/cpu.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn random_byte(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cpu.rs:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/cpu.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn jump_plus_v0(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/cpu.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn random_byte(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/cpu.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn random_byte(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nibble` [INFO] [stdout] --> src/cpu.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nibble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:198:47 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn skip_if_key_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn skip_if_key_not_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/cpu.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn store_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:210:39 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn store_input(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nibble` [INFO] [stdout] --> src/cpu.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nibble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:198:47 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn skip_if_key_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn set_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn skip_if_key_not_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn store_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn set_sound_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:210:39 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn store_input(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn add_to_i(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn set_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn set_sound_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn set_i_to_sprite_location(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn add_to_i(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn store_binary_coded_decimal(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn set_i_to_sprite_location(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn store_registers_in_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn store_binary_coded_decimal(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:238:54 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn load_registers_from_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn store_registers_in_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/cpu.rs:238:54 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn load_registers_from_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chip8CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chip8CPU { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chip8CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | struct Chip8CPU { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cpu.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Chip8CPU { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 17 | fn get(&self, register: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_mutable(&mut self, register: u8) -> &mut u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn execute(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn clear_display(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn return_from_subroutine(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn jump(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn call(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn skip_if_equal(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn skip_if_not_equal(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn skip_if_registers_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn set_register(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn add(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn copy_register(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn or(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn and(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn xor(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn add_registers(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn subtract(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn shift_right(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn reverse_subtract(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn shift_left(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn skip_if_registers_not_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn jump_plus_v0(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn random_byte(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn skip_if_key_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn skip_if_key_not_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn store_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn store_input(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn set_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn set_sound_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn add_to_i(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn set_i_to_sprite_location(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn store_binary_coded_decimal(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn store_registers_in_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn load_registers_from_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cpu.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Chip8CPU { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 17 | fn get(&self, register: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_mutable(&mut self, register: u8) -> &mut u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn execute(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn clear_display(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn return_from_subroutine(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn jump(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn call(&mut self, addr: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn skip_if_equal(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn skip_if_not_equal(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn skip_if_registers_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn set_register(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn add(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn copy_register(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn or(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn and(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn xor(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn add_registers(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn subtract(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn shift_right(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn reverse_subtract(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn shift_left(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn skip_if_registers_not_equal(&mut self, vx: u8, vy: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn set_i(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn jump_plus_v0(&mut self, addr: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn random_byte(&mut self, vx: u8, byte: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn draw(&mut self, vx: u8, vy: u8, nibble: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn skip_if_key_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn skip_if_key_not_pressed(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn store_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn store_input(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn set_delay_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn set_sound_timer(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn add_to_i(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn set_i_to_sprite_location(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn store_binary_coded_decimal(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn store_registers_in_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn load_registers_from_memory(&mut self, vx: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Jump(u16), //1nnn [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Jump(u16), //1nnn [INFO] [stdout] 5 + Jump(()), //1nnn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Jump(u16), //1nnn [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Jump(u16), //1nnn [INFO] [stdout] 5 + Jump(()), //1nnn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Call(u16), //2nnn [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Call(u16), //2nnn [INFO] [stdout] 6 + Call(()), //2nnn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Call(u16), //2nnn [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Call(u16), //2nnn [INFO] [stdout] 6 + Call(()), //2nnn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | SkipIfEqual(u8, u8), //3xkk [INFO] [stdout] | ----------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - SkipIfEqual(u8, u8), //3xkk [INFO] [stdout] 7 + SkipIfEqual((), ()), //3xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | SkipIfEqual(u8, u8), //3xkk [INFO] [stdout] | ----------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - SkipIfEqual(u8, u8), //3xkk [INFO] [stdout] 7 + SkipIfEqual((), ()), //3xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | SkipIfNotEqual(u8, u8), //4xkk [INFO] [stdout] | -------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 - SkipIfNotEqual(u8, u8), //4xkk [INFO] [stdout] 8 + SkipIfNotEqual((), ()), //4xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | SkipIfRegistersEqual(u8, u8), //5xy0 [INFO] [stdout] | -------------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - SkipIfRegistersEqual(u8, u8), //5xy0 [INFO] [stdout] 9 + SkipIfRegistersEqual((), ()), //5xy0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | SkipIfNotEqual(u8, u8), //4xkk [INFO] [stdout] | -------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 - SkipIfNotEqual(u8, u8), //4xkk [INFO] [stdout] 8 + SkipIfNotEqual((), ()), //4xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Set(u8, u8), //6xkk [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 - Set(u8, u8), //6xkk [INFO] [stdout] 10 + Set((), ()), //6xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | SkipIfRegistersEqual(u8, u8), //5xy0 [INFO] [stdout] | -------------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - SkipIfRegistersEqual(u8, u8), //5xy0 [INFO] [stdout] 9 + SkipIfRegistersEqual((), ()), //5xy0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Add(u8, u8), //7xkk [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 - Add(u8, u8), //7xkk [INFO] [stdout] 11 + Add((), ()), //7xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Set(u8, u8), //6xkk [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 - Set(u8, u8), //6xkk [INFO] [stdout] 10 + Set((), ()), //6xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | CopyRegister(u8, u8), //8xy0 [INFO] [stdout] | ------------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - CopyRegister(u8, u8), //8xy0 [INFO] [stdout] 12 + CopyRegister((), ()), //8xy0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Add(u8, u8), //7xkk [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 - Add(u8, u8), //7xkk [INFO] [stdout] 11 + Add((), ()), //7xkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Or(u8, u8), //8xy1 [INFO] [stdout] | -- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - Or(u8, u8), //8xy1 [INFO] [stdout] 13 + Or((), ()), //8xy1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | CopyRegister(u8, u8), //8xy0 [INFO] [stdout] | ------------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 - CopyRegister(u8, u8), //8xy0 [INFO] [stdout] 12 + CopyRegister((), ()), //8xy0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | And(u8, u8), //8xy2 [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - And(u8, u8), //8xy2 [INFO] [stdout] 14 + And((), ()), //8xy2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Or(u8, u8), //8xy1 [INFO] [stdout] | -- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 13 - Or(u8, u8), //8xy1 [INFO] [stdout] 13 + Or((), ()), //8xy1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Xor(u8, u8), //8xy3 [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 - Xor(u8, u8), //8xy3 [INFO] [stdout] 15 + Xor((), ()), //8xy3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | And(u8, u8), //8xy2 [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - And(u8, u8), //8xy2 [INFO] [stdout] 14 + And((), ()), //8xy2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Xor(u8, u8), //8xy3 [INFO] [stdout] | --- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 15 - Xor(u8, u8), //8xy3 [INFO] [stdout] 15 + Xor((), ()), //8xy3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | Subtract(u8, u8), //8xy5 [INFO] [stdout] | -------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - Subtract(u8, u8), //8xy5 [INFO] [stdout] 17 + Subtract((), ()), //8xy5 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | Subtract(u8, u8), //8xy5 [INFO] [stdout] | -------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 17 - Subtract(u8, u8), //8xy5 [INFO] [stdout] 17 + Subtract((), ()), //8xy5 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | ShiftRight(u8), //8xy6 (omitted y, as most modern interpreters do) [INFO] [stdout] | ---------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - ShiftRight(u8), //8xy6 (omitted y, as most modern interpreters do) [INFO] [stdout] 18 + ShiftRight(()), //8xy6 (omitted y, as most modern interpreters do) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | ShiftRight(u8), //8xy6 (omitted y, as most modern interpreters do) [INFO] [stdout] | ---------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - ShiftRight(u8), //8xy6 (omitted y, as most modern interpreters do) [INFO] [stdout] 18 + ShiftRight(()), //8xy6 (omitted y, as most modern interpreters do) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | ReverseSubtract(u8, u8), //8xy7 [INFO] [stdout] | --------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 - ReverseSubtract(u8, u8), //8xy7 [INFO] [stdout] 19 + ReverseSubtract((), ()), //8xy7 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | ReverseSubtract(u8, u8), //8xy7 [INFO] [stdout] | --------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 19 - ReverseSubtract(u8, u8), //8xy7 [INFO] [stdout] 19 + ReverseSubtract((), ()), //8xy7 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | ShiftLeft(u8), //8xyE (omitted y) [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - ShiftLeft(u8), //8xyE (omitted y) [INFO] [stdout] 20 + ShiftLeft(()), //8xyE (omitted y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | ShiftLeft(u8), //8xyE (omitted y) [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - ShiftLeft(u8), //8xyE (omitted y) [INFO] [stdout] 20 + ShiftLeft(()), //8xyE (omitted y) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | SkipIfRegistersNotEqual(u8, u8), //9xy0 [INFO] [stdout] | ----------------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - SkipIfRegistersNotEqual(u8, u8), //9xy0 [INFO] [stdout] 21 + SkipIfRegistersNotEqual((), ()), //9xy0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | SkipIfRegistersNotEqual(u8, u8), //9xy0 [INFO] [stdout] | ----------------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 - SkipIfRegistersNotEqual(u8, u8), //9xy0 [INFO] [stdout] 21 + SkipIfRegistersNotEqual((), ()), //9xy0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | SetI(u16), //Annn [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - SetI(u16), //Annn [INFO] [stdout] 22 + SetI(()), //Annn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | SetI(u16), //Annn [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - SetI(u16), //Annn [INFO] [stdout] 22 + SetI(()), //Annn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | JumpPlusV0(u16), //Bnnn [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - JumpPlusV0(u16), //Bnnn [INFO] [stdout] 23 + JumpPlusV0(()), //Bnnn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | JumpPlusV0(u16), //Bnnn [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - JumpPlusV0(u16), //Bnnn [INFO] [stdout] 23 + JumpPlusV0(()), //Bnnn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | RandomByte(u8, u8), //Cxkk [INFO] [stdout] | ---------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - RandomByte(u8, u8), //Cxkk [INFO] [stdout] 24 + RandomByte((), ()), //Cxkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/instructions.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | RandomByte(u8, u8), //Cxkk [INFO] [stdout] | ---------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 24 - RandomByte(u8, u8), //Cxkk [INFO] [stdout] 24 + RandomByte((), ()), //Cxkk [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/instructions.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Draw(u8, u8, u8), //Dxyn [INFO] [stdout] | ---- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 - Draw(u8, u8, u8), //Dxyn [INFO] [stdout] 25 + Draw((), (), ()), //Dxyn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/instructions.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Draw(u8, u8, u8), //Dxyn [INFO] [stdout] | ---- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 - Draw(u8, u8, u8), //Dxyn [INFO] [stdout] 25 + Draw((), (), ()), //Dxyn [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | SkipIfKeyPressed(u8), //Ex9E [INFO] [stdout] | ---------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - SkipIfKeyPressed(u8), //Ex9E [INFO] [stdout] 26 + SkipIfKeyPressed(()), //Ex9E [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | SkipIfKeyPressed(u8), //Ex9E [INFO] [stdout] | ---------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 - SkipIfKeyPressed(u8), //Ex9E [INFO] [stdout] 26 + SkipIfKeyPressed(()), //Ex9E [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | SkipIfKeyNotPressed(u8), //ExA1 [INFO] [stdout] | ------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - SkipIfKeyNotPressed(u8), //ExA1 [INFO] [stdout] 27 + SkipIfKeyNotPressed(()), //ExA1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | SkipIfKeyNotPressed(u8), //ExA1 [INFO] [stdout] | ------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 - SkipIfKeyNotPressed(u8), //ExA1 [INFO] [stdout] 27 + SkipIfKeyNotPressed(()), //ExA1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | StoreDelayTimer(u8), //Fx07 [INFO] [stdout] | --------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - StoreDelayTimer(u8), //Fx07 [INFO] [stdout] 28 + StoreDelayTimer(()), //Fx07 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | StoreDelayTimer(u8), //Fx07 [INFO] [stdout] | --------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 - StoreDelayTimer(u8), //Fx07 [INFO] [stdout] 28 + StoreDelayTimer(()), //Fx07 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | StoreInput(u8), //Fx0A [INFO] [stdout] | ---------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - StoreInput(u8), //Fx0A [INFO] [stdout] 29 + StoreInput(()), //Fx0A [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | StoreInput(u8), //Fx0A [INFO] [stdout] | ---------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 - StoreInput(u8), //Fx0A [INFO] [stdout] 29 + StoreInput(()), //Fx0A [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | SetDelayTimer(u8), //Fx15 [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - SetDelayTimer(u8), //Fx15 [INFO] [stdout] 30 + SetDelayTimer(()), //Fx15 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | SetDelayTimer(u8), //Fx15 [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - SetDelayTimer(u8), //Fx15 [INFO] [stdout] 30 + SetDelayTimer(()), //Fx15 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | SetSoundTimer(u8), //Fx18 [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - SetSoundTimer(u8), //Fx18 [INFO] [stdout] 31 + SetSoundTimer(()), //Fx18 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | SetSoundTimer(u8), //Fx18 [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 - SetSoundTimer(u8), //Fx18 [INFO] [stdout] 31 + SetSoundTimer(()), //Fx18 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | AddToI(u8), //Fx1E [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - AddToI(u8), //Fx1E [INFO] [stdout] 32 + AddToI(()), //Fx1E [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | AddToI(u8), //Fx1E [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 - AddToI(u8), //Fx1E [INFO] [stdout] 32 + AddToI(()), //Fx1E [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | SetIToSpriteLocation(u8), //Fx29 [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - SetIToSpriteLocation(u8), //Fx29 [INFO] [stdout] 33 + SetIToSpriteLocation(()), //Fx29 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | SetIToSpriteLocation(u8), //Fx29 [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - SetIToSpriteLocation(u8), //Fx29 [INFO] [stdout] 33 + SetIToSpriteLocation(()), //Fx29 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | StoreBinaryCodedDecimal(u8), //Fx33 [INFO] [stdout] | ----------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - StoreBinaryCodedDecimal(u8), //Fx33 [INFO] [stdout] 34 + StoreBinaryCodedDecimal(()), //Fx33 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | StoreBinaryCodedDecimal(u8), //Fx33 [INFO] [stdout] | ----------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 - StoreBinaryCodedDecimal(u8), //Fx33 [INFO] [stdout] 34 + StoreBinaryCodedDecimal(()), //Fx33 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | StoreRegisters(u8), //Fx55 [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - StoreRegisters(u8), //Fx55 [INFO] [stdout] 35 + StoreRegisters(()), //Fx55 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | StoreRegisters(u8), //Fx55 [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - StoreRegisters(u8), //Fx55 [INFO] [stdout] 35 + StoreRegisters(()), //Fx55 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | LoadRegisters(u8), //Fx65 [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - LoadRegisters(u8), //Fx65 [INFO] [stdout] 36 + LoadRegisters(()), //Fx65 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | LoadRegisters(u8), //Fx65 [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - LoadRegisters(u8), //Fx65 [INFO] [stdout] 36 + LoadRegisters(()), //Fx65 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AddRegisters` is never constructed [INFO] [stdout] --> src/instructions.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | AddRegisters(u8, u8), //8xy4 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AddRegisters` is never constructed [INFO] [stdout] --> src/instructions.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | AddRegisters(u8, u8), //8xy4 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct InvalidInstructionError(u16); [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instructions.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct InvalidInstructionError(u16); [INFO] [stdout] | ----------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddressErrorKind` is never used [INFO] [stdout] --> src/memory.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum AddressErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddressErrorKind` is never used [INFO] [stdout] --> src/memory.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum AddressErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidAddressError` is never constructed [INFO] [stdout] --> src/memory.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InvalidAddressError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidAddressError` is never constructed [INFO] [stdout] --> src/memory.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InvalidAddressError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `wipe`, `read`, and `write` are never used [INFO] [stdout] --> src/memory.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn wipe(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn write(&mut self, address: u16, value: u8) -> Result<(), InvalidAddressError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `wipe`, `read`, and `write` are never used [INFO] [stdout] --> src/memory.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn wipe(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn write(&mut self, address: u16, value: u8) -> Result<(), InvalidAddressError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "7aa363936816db399823bf8f9bb3a97f650acf0e95b96381103bdb112d283c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa363936816db399823bf8f9bb3a97f650acf0e95b96381103bdb112d283c70", kill_on_drop: false }` [INFO] [stdout] 7aa363936816db399823bf8f9bb3a97f650acf0e95b96381103bdb112d283c70