[INFO] cloning repository https://github.com/d2ci8xc5/chip8vm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d2ci8xc5/chip8vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd2ci8xc5%2Fchip8vm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd2ci8xc5%2Fchip8vm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab98e3f549bdef2e6383a2b9d6e77c71642765c1
[INFO] checking d2ci8xc5/chip8vm against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd2ci8xc5%2Fchip8vm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/d2ci8xc5/chip8vm
[INFO] finished tweaking git repo https://github.com/d2ci8xc5/chip8vm
[INFO] tweaked toml for git repo https://github.com/d2ci8xc5/chip8vm written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/d2ci8xc5/chip8vm on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/d2ci8xc5/chip8vm 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 685a57fc44d779982a946653238fc7dc6df4ffd8aef83e71cd18a2f196355239
[INFO] running `Command { std: "docker" "start" "-a" "685a57fc44d779982a946653238fc7dc6df4ffd8aef83e71cd18a2f196355239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "685a57fc44d779982a946653238fc7dc6df4ffd8aef83e71cd18a2f196355239", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "685a57fc44d779982a946653238fc7dc6df4ffd8aef83e71cd18a2f196355239", kill_on_drop: false }`
[INFO] [stdout] 685a57fc44d779982a946653238fc7dc6df4ffd8aef83e71cd18a2f196355239
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc18abb0c61594f5cd086d7379a29cdf2a238931cc317fd3501f59e990bf223b
[INFO] running `Command { std: "docker" "start" "-a" "dc18abb0c61594f5cd086d7379a29cdf2a238931cc317fd3501f59e990bf223b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling sdl2 v0.32.2 (https://github.com/AngryLawyer/rust-sdl2#72d199e5)
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling sdl2-sys v0.32.6 (https://github.com/AngryLawyer/rust-sdl2#72d199e5)
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chip8vm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum color {
[INFO] [stdout]   |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `red` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     red,
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case: `Red`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `green` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     green,
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `Green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `blue` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     blue,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Blue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `black` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     black,
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `cpu` should have an upper camel case name
[INFO] [stdout]  --> src/cpu.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct cpu {
[INFO] [stdout]   |            ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/cpu.rs:282:24
[INFO] [stdout]     |
[INFO] [stdout] 282 |         self.v[0x0f] = (self.v[x] & (1 << 7) >> 7);
[INFO] [stdout]     |                        ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         self.v[0x0f] = (self.v[x] & (1 << 7) >> 7);
[INFO] [stdout] 282 +         self.v[0x0f] = self.v[x] & (1 << 7) >> 7 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/cpu.rs:311:21
[INFO] [stdout]     |
[INFO] [stdout] 311 |         self.v[x] = (kk & random_byte);
[INFO] [stdout]     |                     ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 311 -         self.v[x] = (kk & random_byte);
[INFO] [stdout] 311 +         self.v[x] = kk & random_byte ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/cpu.rs:319:37
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let pixel = self.memory[(self.i + (y_offset as usize))];
[INFO] [stdout]     |                                     ^                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 319 -             let pixel = self.memory[(self.i + (y_offset as usize))];
[INFO] [stdout] 319 +             let pixel = self.memory[self.i + (y_offset as usize) ];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/cpu.rs:372:32
[INFO] [stdout]     |
[INFO] [stdout] 372 |         self.keypad_register = (x as u8);
[INFO] [stdout]     |                                ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 372 -         self.keypad_register = (x as u8);
[INFO] [stdout] 372 +         self.keypad_register = x as u8 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cpu::cpu`
[INFO] [stdout]  --> src/display.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::cpu::cpu;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum color {
[INFO] [stdout]   |          ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `red` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     red,
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case: `Red`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `green` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     green,
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `Green`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `blue` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     blue,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Blue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `black` should have an upper camel case name
[INFO] [stdout]  --> src/color.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     black,
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to upper camel case: `Black`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `cpu` should have an upper camel case name
[INFO] [stdout]  --> src/cpu.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct cpu {
[INFO] [stdout]   |            ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/cpu.rs:282:24
[INFO] [stdout]     |
[INFO] [stdout] 282 |         self.v[0x0f] = (self.v[x] & (1 << 7) >> 7);
[INFO] [stdout]     |                        ^                         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 282 -         self.v[0x0f] = (self.v[x] & (1 << 7) >> 7);
[INFO] [stdout] 282 +         self.v[0x0f] = self.v[x] & (1 << 7) >> 7 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/cpu.rs:311:21
[INFO] [stdout]     |
[INFO] [stdout] 311 |         self.v[x] = (kk & random_byte);
[INFO] [stdout]     |                     ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 311 -         self.v[x] = (kk & random_byte);
[INFO] [stdout] 311 +         self.v[x] = kk & random_byte ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/cpu.rs:319:37
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let pixel = self.memory[(self.i + (y_offset as usize))];
[INFO] [stdout]     |                                     ^                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 319 -             let pixel = self.memory[(self.i + (y_offset as usize))];
[INFO] [stdout] 319 +             let pixel = self.memory[self.i + (y_offset as usize) ];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/cpu.rs:372:32
[INFO] [stdout]     |
[INFO] [stdout] 372 |         self.keypad_register = (x as u8);
[INFO] [stdout]     |                                ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 372 -         self.keypad_register = (x as u8);
[INFO] [stdout] 372 +         self.keypad_register = x as u8 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cpu::cpu`
[INFO] [stdout]  --> src/display.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::cpu::cpu;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `display` should have an upper camel case name
[INFO] [stdout]  --> src/display.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct display {
[INFO] [stdout]   |            ^^^^^^^ help: convert the identifier to upper camel case: `Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `keypad` should have an upper camel case name
[INFO] [stdout]  --> src/keypad.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct keypad {
[INFO] [stdout]   |            ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Keypad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cpu::cpu as _cpu`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cpu::cpu as _cpu;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `display` should have an upper camel case name
[INFO] [stdout]  --> src/display.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct display {
[INFO] [stdout]   |            ^^^^^^^ help: convert the identifier to upper camel case: `Display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `keypad` should have an upper camel case name
[INFO] [stdout]  --> src/keypad.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct keypad {
[INFO] [stdout]   |            ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Keypad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cpu::cpu as _cpu`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cpu::cpu as _cpu;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (0x0f, _, 0x03, 0x03) => self.op_Fx33(x),
[INFO] [stdout]     |             --------------------- matches all the relevant values
[INFO] [stdout] 114 |             (0x0f, _, 0x03, 0x03) => self.op_Fx33(x),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `poll_keypad` is assigned to, but never used
[INFO] [stdout]    --> src/cpu.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |             let poll_keypad;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_poll_keypad` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `poll_keypad` is never read
[INFO] [stdout]    --> src/cpu.rs:131:26
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 Ok(x) => poll_keypad = x,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/cpu.rs:262:37
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn op_8xy6(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |                                     ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/cpu.rs:281:37
[INFO] [stdout]     |
[INFO] [stdout] 281 |     fn op_8xyE(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |                                     ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_true`
[INFO] [stdout]   --> src/display.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 let x_true = (x as u32) * SCALE; 
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_true`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_true`
[INFO] [stdout]   --> src/display.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let y_true = (y as u32) * SCALE; 
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_true`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cpu.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (0x0f, _, 0x03, 0x03) => self.op_Fx33(x),
[INFO] [stdout]     |             --------------------- matches all the relevant values
[INFO] [stdout] 114 |             (0x0f, _, 0x03, 0x03) => self.op_Fx33(x),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/display.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     Ok(x) => continue,
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `draw_color` is never read
[INFO] [stdout]   --> src/display.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let mut draw_color = color::black.value();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gfx`
[INFO] [stdout]   --> src/display.rs:57:29
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn clear(&mut self, gfx: [u8; 32*64]) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `poll_keypad` is assigned to, but never used
[INFO] [stdout]    --> src/cpu.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |             let poll_keypad;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_poll_keypad` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `poll_keypad` is never read
[INFO] [stdout]    --> src/cpu.rs:131:26
[INFO] [stdout]     |
[INFO] [stdout] 131 |                 Ok(x) => poll_keypad = x,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/cpu.rs:262:37
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn op_8xy6(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |                                     ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/cpu.rs:281:37
[INFO] [stdout]     |
[INFO] [stdout] 281 |     fn op_8xyE(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |                                     ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sdl_context`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let sdl_context = sdl2::init().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdl_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `color` is never used
[INFO] [stdout]  --> src/color.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum color {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `value` is never used
[INFO] [stdout]   --> src/color.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 11 |     pub fn value(&self) -> Color {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `cpu` is never constructed
[INFO] [stdout]  --> src/cpu.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct cpu {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl cpu {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  29 |     pub fn new(sdl_context: &Sdl) -> cpu {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn cycle(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn fetch_opcode(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn op_00e0(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn op_00ee(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn op_1nnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn op_2nnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn op_3xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn op_4xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     fn op_5xy0(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn op_6xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     fn op_7xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn op_8xy0(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn op_8xy1(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     fn op_8xy2(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn op_8xy3(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     fn op_8xy4(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     fn op_8xy5(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     fn op_8xy6(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     fn op_8xy7(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     fn op_8xyE(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     fn op_9xy0(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     fn op_Annn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 304 |     fn op_Bnnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |     fn op_Cxkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     fn op_Dxyn(&mut self, x: usize, y: usize, n: u16) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 342 |     fn op_Ex9E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn op_ExA1(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     fn op_Fx07(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     fn op_Fx0A(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     fn op_Fx15(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn op_Fx18(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 389 |     fn op_Fx1E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 395 |     fn op_Fx29(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     fn op_Fx33(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 408 |     fn op_Fx55(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     fn op_Fx65(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SCALE` is never used
[INFO] [stdout]  --> src/display.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const SCALE: u32 = 25;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `display` is never constructed
[INFO] [stdout]  --> src/display.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct display {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `draw`, and `clear` are never used
[INFO] [stdout]   --> src/display.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl display {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(sdl_context: &sdl2::Sdl) -> display {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn draw(&mut self, gfx: [u8; 32*64]) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn clear(&mut self, gfx: [u8; 32*64]) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `font` is never used
[INFO] [stdout]  --> src/font.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const font: [u8; 80] = [
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `keypad` is never constructed
[INFO] [stdout]  --> src/keypad.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct keypad {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `poll` are never used
[INFO] [stdout]   --> src/keypad.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl keypad {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(sdl_context: &sdl2::Sdl) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn poll(&mut self) -> Result<[bool; 16], ()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cpu.rs:242:12
[INFO] [stdout]     |
[INFO] [stdout] 242 |         if addition > 0xff {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_8xyE` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:281:8
[INFO] [stdout]     |
[INFO] [stdout] 281 |     fn op_8xyE(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_8xy_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Annn` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:298:8
[INFO] [stdout]     |
[INFO] [stdout] 298 |     fn op_Annn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_annn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Bnnn` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:304:8
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn op_Bnnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_bnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Cxkk` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 309 |     fn op_Cxkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_cxkk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Dxyn` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:316:8
[INFO] [stdout]     |
[INFO] [stdout] 316 |     fn op_Dxyn(&mut self, x: usize, y: usize, n: u16) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_dxyn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Ex9E` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:342:8
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn op_Ex9E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_ex9_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_ExA1` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout] 352 |     fn op_ExA1(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_ex_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx07` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:362:8
[INFO] [stdout]     |
[INFO] [stdout] 362 |     fn op_Fx07(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx07`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx0A` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:369:8
[INFO] [stdout]     |
[INFO] [stdout] 369 |     fn op_Fx0A(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_fx0_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx15` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:377:8
[INFO] [stdout]     |
[INFO] [stdout] 377 |     fn op_Fx15(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx15`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx18` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:383:8
[INFO] [stdout]     |
[INFO] [stdout] 383 |     fn op_Fx18(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx18`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx1E` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:389:8
[INFO] [stdout]     |
[INFO] [stdout] 389 |     fn op_Fx1E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_fx1_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx29` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:395:8
[INFO] [stdout]     |
[INFO] [stdout] 395 |     fn op_Fx29(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx29`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx33` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 |     fn op_Fx33(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx33`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx55` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:408:8
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn op_Fx55(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx55`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx65` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn op_Fx65(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx65`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `font` should have an upper case name
[INFO] [stdout]  --> src/font.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const font: [u8; 80] = [
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 1 - pub const font: [u8; 80] = [
[INFO] [stdout] 1 + pub const FONT: [u8; 80] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_true`
[INFO] [stdout]   --> src/display.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 let x_true = (x as u32) * SCALE; 
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_true`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_true`
[INFO] [stdout]   --> src/display.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 let y_true = (y as u32) * SCALE; 
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_true`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/display.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 |                     Ok(x) => continue,
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `draw_color` is never read
[INFO] [stdout]   --> src/display.rs:38:38
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let mut draw_color = color::black.value();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gfx`
[INFO] [stdout]   --> src/display.rs:57:29
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn clear(&mut self, gfx: [u8; 32*64]) {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sdl_context`
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let sdl_context = sdl2::init().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdl_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `red`, `green`, and `blue` are never constructed
[INFO] [stdout]  --> src/color.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum color {
[INFO] [stdout]   |          ----- variants in this enum
[INFO] [stdout] 4 |     red,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 5 |     green,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     blue,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/cpu.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct cpu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     v: [u8; 16],
[INFO] [stdout]    |     ^
[INFO] [stdout] 12 |     i: usize,  //u16
[INFO] [stdout] 13 |     pc: usize, //u16
[INFO] [stdout]    |     ^^
[INFO] [stdout] 14 |     pub gfx: [u8; 64 * 32],
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 15 |     pub delay_timer: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 16 |     pub sound_timer: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 17 |     stack: [usize; 16], //u16
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     sp: usize,          //u16
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     key: [bool; 16],
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |
[INFO] [stdout] 21 |     redraw_flag: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 22 |     keypad_wait_flag: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     keypad_register: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     keypad: keypad,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     display: display
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn cycle(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn fetch_opcode(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn op_00e0(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn op_00ee(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn op_1nnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn op_2nnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn op_3xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn op_4xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     fn op_5xy0(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn op_6xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     fn op_7xkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn op_8xy0(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn op_8xy1(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     fn op_8xy2(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn op_8xy3(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     fn op_8xy4(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 251 |     fn op_8xy5(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     fn op_8xy6(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     fn op_8xy7(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     fn op_8xyE(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     fn op_9xy0(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     fn op_Annn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 304 |     fn op_Bnnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 309 |     fn op_Cxkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     fn op_Dxyn(&mut self, x: usize, y: usize, n: u16) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 342 |     fn op_Ex9E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn op_ExA1(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     fn op_Fx07(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 369 |     fn op_Fx0A(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     fn op_Fx15(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 383 |     fn op_Fx18(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 389 |     fn op_Fx1E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 395 |     fn op_Fx29(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     fn op_Fx33(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 408 |     fn op_Fx55(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     fn op_Fx65(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SCALE` is never used
[INFO] [stdout]  --> src/display.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const SCALE: u32 = 25;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `canvas` is never read
[INFO] [stdout]   --> src/display.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct display {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 10 |     canvas: Canvas<Window>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw` and `clear` are never used
[INFO] [stdout]   --> src/display.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl display {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn draw(&mut self, gfx: [u8; 32*64]) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn clear(&mut self, gfx: [u8; 32*64]) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `events` is never read
[INFO] [stdout]  --> src/keypad.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct keypad {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 6 |     events: sdl2::EventPump,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `poll` is never used
[INFO] [stdout]   --> src/keypad.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl keypad {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn poll(&mut self) -> Result<[bool; 16], ()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cpu.rs:242:12
[INFO] [stdout]     |
[INFO] [stdout] 242 |         if addition > 0xff {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_8xyE` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:281:8
[INFO] [stdout]     |
[INFO] [stdout] 281 |     fn op_8xyE(&mut self, x: usize, y: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_8xy_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Annn` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:298:8
[INFO] [stdout]     |
[INFO] [stdout] 298 |     fn op_Annn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_annn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Bnnn` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:304:8
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn op_Bnnn(&mut self, nnn: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_bnnn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Cxkk` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 309 |     fn op_Cxkk(&mut self, x: usize, kk: u8) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_cxkk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Dxyn` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:316:8
[INFO] [stdout]     |
[INFO] [stdout] 316 |     fn op_Dxyn(&mut self, x: usize, y: usize, n: u16) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_dxyn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Ex9E` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:342:8
[INFO] [stdout]     |
[INFO] [stdout] 342 |     fn op_Ex9E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_ex9_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_ExA1` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout] 352 |     fn op_ExA1(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_ex_a1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx07` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:362:8
[INFO] [stdout]     |
[INFO] [stdout] 362 |     fn op_Fx07(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx07`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx0A` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:369:8
[INFO] [stdout]     |
[INFO] [stdout] 369 |     fn op_Fx0A(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_fx0_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx15` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:377:8
[INFO] [stdout]     |
[INFO] [stdout] 377 |     fn op_Fx15(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx15`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx18` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:383:8
[INFO] [stdout]     |
[INFO] [stdout] 383 |     fn op_Fx18(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx18`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx1E` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:389:8
[INFO] [stdout]     |
[INFO] [stdout] 389 |     fn op_Fx1E(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `op_fx1_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx29` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:395:8
[INFO] [stdout]     |
[INFO] [stdout] 395 |     fn op_Fx29(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx29`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx33` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:401:8
[INFO] [stdout]     |
[INFO] [stdout] 401 |     fn op_Fx33(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx33`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx55` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:408:8
[INFO] [stdout]     |
[INFO] [stdout] 408 |     fn op_Fx55(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx55`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `op_Fx65` should have a snake case name
[INFO] [stdout]    --> src/cpu.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 |     fn op_Fx65(&mut self, x: usize) {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_fx65`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `font` should have an upper case name
[INFO] [stdout]  --> src/font.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const font: [u8; 80] = [
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 1 - pub const font: [u8; 80] = [
[INFO] [stdout] 1 + pub const FONT: [u8; 80] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.90s
[INFO] running `Command { std: "docker" "inspect" "dc18abb0c61594f5cd086d7379a29cdf2a238931cc317fd3501f59e990bf223b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc18abb0c61594f5cd086d7379a29cdf2a238931cc317fd3501f59e990bf223b", kill_on_drop: false }`
[INFO] [stdout] dc18abb0c61594f5cd086d7379a29cdf2a238931cc317fd3501f59e990bf223b
