[INFO] cloning repository https://github.com/teja635/chip8
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teja635/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteja635%2Fchip8", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteja635%2Fchip8'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cde7ba86cb389c21b13d42b37ccfe4c7f9e3e762
[INFO] checking teja635/chip8/cde7ba86cb389c21b13d42b37ccfe4c7f9e3e762 against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteja635%2Fchip8" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/teja635/chip8
[INFO] finished tweaking git repo https://github.com/teja635/chip8
[INFO] tweaked toml for git repo https://github.com/teja635/chip8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/teja635/chip8 on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/teja635/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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand_core v0.3.0
[INFO] [stderr]   Downloaded rand_pcg v0.1.1
[INFO] [stderr]   Downloaded bitflags v1.0.4
[INFO] [stderr]   Downloaded autocfg v0.1.1
[INFO] [stderr]   Downloaded num-iter v0.1.37
[INFO] [stderr]   Downloaded sdl2 v0.32.1
[INFO] [stderr]   Downloaded ncurses v5.98.0
[INFO] [stderr]   Downloaded rand_os v0.1.1
[INFO] [stderr]   Downloaded num-integer v0.1.39
[INFO] [stderr]   Downloaded cc v1.0.28
[INFO] [stderr]   Downloaded num-traits v0.2.6
[INFO] [stderr]   Downloaded rand v0.6.4
[INFO] [stderr]   Downloaded libc v0.2.46
[INFO] [stderr]   Downloaded sdl2-sys v0.32.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6557cf34b53f09205e6c35bc491cf6513576fa1f8fad8d0b9564360e1ba7a8fb
[INFO] running `Command { std: "docker" "start" "-a" "6557cf34b53f09205e6c35bc491cf6513576fa1f8fad8d0b9564360e1ba7a8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6557cf34b53f09205e6c35bc491cf6513576fa1f8fad8d0b9564360e1ba7a8fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6557cf34b53f09205e6c35bc491cf6513576fa1f8fad8d0b9564360e1ba7a8fb", kill_on_drop: false }`
[INFO] [stdout] 6557cf34b53f09205e6c35bc491cf6513576fa1f8fad8d0b9564360e1ba7a8fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8014f20d68dbf560a1fd024933c9fac7853addc0b5e0d262ec8fcbab9f14a1c2
[INFO] running `Command { std: "docker" "start" "-a" "8014f20d68dbf560a1fd024933c9fac7853addc0b5e0d262ec8fcbab9f14a1c2", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling autocfg v0.1.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling sdl2-sys v0.32.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling cc v1.0.28
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling ncurses v5.98.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sdl2 v0.32.1
[INFO] [stderr]     Checking chip8 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:113:32
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn clock_cycle(&mut self, mut disp: &mut display::GFX, mut keys: &mut keypad::Keypad) -> bool{
[INFO] [stdout]     |                                   ----^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:113:61
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn clock_cycle(&mut self, mut disp: &mut display::GFX, mut keys: &mut keypad::Keypad) -> bool{
[INFO] [stdout]     |                                                                ----^^^^
[INFO] [stdout]     |                                                                |
[INFO] [stdout]     |                                                                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_binary`
[INFO] [stdout]  --> src/assembler.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn assemble(program_file: &str, output_binary: &str) {
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_binary`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]   --> src/lib.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]   --> src/lib.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                               ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scancode`
[INFO] [stdout]   --> src/lib.rs:73:52
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                   ^^^^^^^^ help: try ignoring the field: `scancode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]   --> src/lib.rs:73:62
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                             ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `repeat`
[INFO] [stdout]   --> src/lib.rs:73:70
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                                     ^^^^^^ help: try ignoring the field: `repeat: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]   --> src/lib.rs:76:19
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                  ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]   --> src/lib.rs:76:30
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                             ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scancode`
[INFO] [stdout]   --> src/lib.rs:76:50
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: try ignoring the field: `scancode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]   --> src/lib.rs:76:60
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                           ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `repeat`
[INFO] [stdout]   --> src/lib.rs:76:68
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                                   ^^^^^^ help: try ignoring the field: `repeat: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `video_ctx` and `timer` are never read
[INFO] [stdout]   --> src/lib.rs:16:2
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CHIP8 {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     video_ctx: sdl2::VideoSubsystem, 
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 17 |     timer: sdl2::TimerSubsystem, 
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_gfx_mem` and `gfx_memory` are never used
[INFO] [stdout]   --> src/display.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl GFX {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 14 |     pub fn dump_gfx_mem(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn gfx_memory(&self) -> [u64; 32] {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `st` is never read
[INFO] [stdout]   --> src/cpu.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     st: u8,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_memory` and `dump_registers` are never used
[INFO] [stdout]    --> src/cpu.rs:79:9
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  79 |     pub fn dump_memory(&self, start_idx: usize, end_idx: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn dump_registers(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 self.canvas.fill_rect(Rect::new(20*x as i32, 20*y as i32, 20,  20));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let _ = self.canvas.fill_rect(Rect::new(20*x as i32, 20*y as i32, 20,  20));
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `V` should have a snake case name
[INFO] [stdout]   --> src/cpu.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     V: [u8; 16],
[INFO] [stdout]    |     ^ help: convert the identifier to snake case (notice the capitalization): `v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `I` should have a snake case name
[INFO] [stdout]   --> src/cpu.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     I: u16,
[INFO] [stdout]    |     ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/cpu.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fd.read(&mut memory[0x200..]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let _ = fd.read(&mut memory[0x200..]);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:113:32
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn clock_cycle(&mut self, mut disp: &mut display::GFX, mut keys: &mut keypad::Keypad) -> bool{
[INFO] [stdout]     |                                   ----^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:113:61
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub fn clock_cycle(&mut self, mut disp: &mut display::GFX, mut keys: &mut keypad::Keypad) -> bool{
[INFO] [stdout]     |                                                                ----^^^^
[INFO] [stdout]     |                                                                |
[INFO] [stdout]     |                                                                help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_binary`
[INFO] [stdout]  --> src/assembler.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn assemble(program_file: &str, output_binary: &str) {
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_binary`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]   --> src/lib.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]   --> src/lib.rs:73:32
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                               ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scancode`
[INFO] [stdout]   --> src/lib.rs:73:52
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                   ^^^^^^^^ help: try ignoring the field: `scancode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]   --> src/lib.rs:73:62
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                             ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `repeat`
[INFO] [stdout]   --> src/lib.rs:73:70
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Event::KeyDown{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                                     ^^^^^^ help: try ignoring the field: `repeat: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]   --> src/lib.rs:76:19
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                  ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]   --> src/lib.rs:76:30
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                             ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scancode`
[INFO] [stdout]   --> src/lib.rs:76:50
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: try ignoring the field: `scancode: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]   --> src/lib.rs:76:60
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                           ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `repeat`
[INFO] [stdout]   --> src/lib.rs:76:68
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Event::KeyUp{timestamp, window_id, keycode, scancode, keymod, repeat} => {
[INFO] [stdout]    |                                                                                   ^^^^^^ help: try ignoring the field: `repeat: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `video_ctx` and `timer` are never read
[INFO] [stdout]   --> src/lib.rs:16:2
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CHIP8 {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     video_ctx: sdl2::VideoSubsystem, 
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 17 |     timer: sdl2::TimerSubsystem, 
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_gfx_mem` and `gfx_memory` are never used
[INFO] [stdout]   --> src/display.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl GFX {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 14 |     pub fn dump_gfx_mem(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn gfx_memory(&self) -> [u64; 32] {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `st` is never read
[INFO] [stdout]   --> src/cpu.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CPU {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     st: u8,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_memory` and `dump_registers` are never used
[INFO] [stdout]    --> src/cpu.rs:79:9
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl CPU {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout]  79 |     pub fn dump_memory(&self, start_idx: usize, end_idx: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn dump_registers(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 self.canvas.fill_rect(Rect::new(20*x as i32, 20*y as i32, 20,  20));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let _ = self.canvas.fill_rect(Rect::new(20*x as i32, 20*y as i32, 20,  20));
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `V` should have a snake case name
[INFO] [stdout]   --> src/cpu.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     V: [u8; 16],
[INFO] [stdout]    |     ^ help: convert the identifier to snake case (notice the capitalization): `v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `I` should have a snake case name
[INFO] [stdout]   --> src/cpu.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     I: u16,
[INFO] [stdout]    |     ^ help: convert the identifier to snake case (notice the capitalization): `i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/cpu.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fd.read(&mut memory[0x200..]);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let _ = fd.read(&mut memory[0x200..]);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.28s
[INFO] running `Command { std: "docker" "inspect" "8014f20d68dbf560a1fd024933c9fac7853addc0b5e0d262ec8fcbab9f14a1c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8014f20d68dbf560a1fd024933c9fac7853addc0b5e0d262ec8fcbab9f14a1c2", kill_on_drop: false }`
[INFO] [stdout] 8014f20d68dbf560a1fd024933c9fac7853addc0b5e0d262ec8fcbab9f14a1c2
