[INFO] cloning repository https://github.com/danbruno/chip8-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danbruno/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbruno%2Fchip8-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbruno%2Fchip8-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae5ca20856bc351be3ef07fe7a3c7c0cf2ea4964
[INFO] testing danbruno/chip8-emulator against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbruno%2Fchip8-emulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/danbruno/chip8-emulator
[INFO] finished tweaking git repo https://github.com/danbruno/chip8-emulator
[INFO] tweaked toml for git repo https://github.com/danbruno/chip8-emulator written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/danbruno/chip8-emulator on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/danbruno/chip8-emulator 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded parking_lot v0.11.0
[INFO] [stderr]   Downloaded smallvec v1.4.2
[INFO] [stderr]   Downloaded libloading v0.6.5
[INFO] [stderr]   Downloaded wayland-egl v0.28.1
[INFO] [stderr]   Downloaded wayland-cursor v0.28.1
[INFO] [stderr]   Downloaded parking_lot_core v0.8.0
[INFO] [stderr]   Downloaded lock_api v0.4.1
[INFO] [stderr]   Downloaded toml v0.5.7
[INFO] [stderr]   Downloaded cloudabi v0.1.0
[INFO] [stderr]   Downloaded wayland-protocols v0.28.1
[INFO] [stderr]   Downloaded syn v1.0.48
[INFO] [stderr]   Downloaded wayland-client v0.28.1
[INFO] [stderr]   Downloaded xcursor v0.3.2
[INFO] [stderr]   Downloaded wayland-commons v0.28.1
[INFO] [stderr]   Downloaded serde v1.0.117
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.12.0
[INFO] [stderr]   Downloaded wayland-scanner v0.28.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.21
[INFO] [stderr]   Downloaded thiserror v1.0.21
[INFO] [stderr]   Downloaded libc v0.2.80
[INFO] [stderr]   Downloaded instant v0.1.8
[INFO] [stderr]   Downloaded wayland-sys v0.28.1
[INFO] [stderr]   Downloaded core-graphics v0.22.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2325220eea32f7939b365d27223d1629d8e77a0bab921d17caaf15e2d4cf25d
[INFO] running `Command { std: "docker" "start" "-a" "d2325220eea32f7939b365d27223d1629d8e77a0bab921d17caaf15e2d4cf25d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2325220eea32f7939b365d27223d1629d8e77a0bab921d17caaf15e2d4cf25d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2325220eea32f7939b365d27223d1629d8e77a0bab921d17caaf15e2d4cf25d", kill_on_drop: false }`
[INFO] [stdout] d2325220eea32f7939b365d27223d1629d8e77a0bab921d17caaf15e2d4cf25d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bdd91f1f0d9a1c65a4c256f801298a71f84260fd42ed809f544b44d0d64ea71a
[INFO] running `Command { std: "docker" "start" "-a" "bdd91f1f0d9a1c65a4c256f801298a71f84260fd42ed809f544b44d0d64ea71a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling libloading v0.6.5
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling ttf-parser v0.6.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling instant v0.1.8
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling winit v0.23.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling wayland-sys v0.28.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.1
[INFO] [stderr]    Compiling owned_ttf_parser v0.6.0
[INFO] [stderr]    Compiling rusttype v0.9.2
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling xcursor v0.3.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling wayland-client v0.28.1
[INFO] [stderr]    Compiling wayland-protocols v0.28.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling wayland-commons v0.28.1
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling wayland-cursor v0.28.1
[INFO] [stderr]    Compiling wayland-egl v0.28.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.0
[INFO] [stderr]    Compiling glutin v0.25.1
[INFO] [stderr]    Compiling nes_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/cpu.rs:345:16
[INFO] [stdout]     |
[INFO] [stdout] 345 |             if (self.gpu.screen[i] > 0) {
[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] 345 -             if (self.gpu.screen[i] > 0) {
[INFO] [stdout] 345 +             if self.gpu.screen[i] > 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/cpu.rs:352:16
[INFO] [stdout]     |
[INFO] [stdout] 352 |             if (i % 64 == 0) {
[INFO] [stdout]     |                ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 352 -             if (i % 64 == 0) {
[INFO] [stdout] 352 +             if i % 64 == 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ElementState`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventLoop`
[INFO] [stdout]   --> src/main.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | use glutin::event_loop::{ControlFlow, EventLoop};
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin::window::WindowBuilder`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use glutin::window::WindowBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin::ContextBuilder`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use glutin::ContextBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time::{SystemTime, Instant};
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut erased = 0;
[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:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let mut coord_x = self.v[x] as usize;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let mut coord_y = self.v[y] as usize;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut b:u8 = n as u8;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `erased`
[INFO] [stdout]    --> src/cpu.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut erased = 0;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_erased`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/cpu.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut b:u8 = n as u8;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/cpu.rs:363:42
[INFO] [stdout]     |
[INFO] [stdout] 363 |     fn check_stored_key_equal(&mut self, x: usize) {
[INFO] [stdout]     |                                          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/cpu.rs:368:46
[INFO] [stdout]     |
[INFO] [stdout] 368 |     fn check_stored_key_not_equal(&mut self, x: usize) {
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/gpu.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/gpu.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/gpu.rs:17:42
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut is_maximized = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut frequency = 600; //Hz
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gpu`
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let gpu = Gpu::new();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_gpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_maximized`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut is_maximized = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_maximized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIDTH` is never used
[INFO] [stdout]  --> src/gpu.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const WIDTH: usize = 64;
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEIGHT` is never used
[INFO] [stdout]  --> src/gpu.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const HEIGHT: usize = 32;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw` is never used
[INFO] [stdout]   --> src/gpu.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Gpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_keys` is never used
[INFO] [stdout]   --> src/input.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Input {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn has_keys(&mut self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bdd91f1f0d9a1c65a4c256f801298a71f84260fd42ed809f544b44d0d64ea71a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bdd91f1f0d9a1c65a4c256f801298a71f84260fd42ed809f544b44d0d64ea71a", kill_on_drop: false }`
[INFO] [stdout] bdd91f1f0d9a1c65a4c256f801298a71f84260fd42ed809f544b44d0d64ea71a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac185d848f874e4a7ea72477671dd5ff59db3051b9e5ec58d46757bfa9261264
[INFO] running `Command { std: "docker" "start" "-a" "ac185d848f874e4a7ea72477671dd5ff59db3051b9e5ec58d46757bfa9261264", kill_on_drop: false }`
[INFO] [stderr]    Compiling nes_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/cpu.rs:345:16
[INFO] [stdout]     |
[INFO] [stdout] 345 |             if (self.gpu.screen[i] > 0) {
[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] 345 -             if (self.gpu.screen[i] > 0) {
[INFO] [stdout] 345 +             if self.gpu.screen[i] > 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/cpu.rs:352:16
[INFO] [stdout]     |
[INFO] [stdout] 352 |             if (i % 64 == 0) {
[INFO] [stdout]     |                ^           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 352 -             if (i % 64 == 0) {
[INFO] [stdout] 352 +             if i % 64 == 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ElementState`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventLoop`
[INFO] [stdout]   --> src/main.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | use glutin::event_loop::{ControlFlow, EventLoop};
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin::window::WindowBuilder`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use glutin::window::WindowBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin::ContextBuilder`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use glutin::ContextBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time::{SystemTime, Instant};
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut erased = 0;
[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:322:13
[INFO] [stdout]     |
[INFO] [stdout] 322 |         let mut coord_x = self.v[x] as usize;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let mut coord_y = self.v[y] as usize;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cpu.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut b:u8 = n as u8;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `erased`
[INFO] [stdout]    --> src/cpu.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut erased = 0;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_erased`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/cpu.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut b:u8 = n as u8;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/cpu.rs:363:42
[INFO] [stdout]     |
[INFO] [stdout] 363 |     fn check_stored_key_equal(&mut self, x: usize) {
[INFO] [stdout]     |                                          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/cpu.rs:368:46
[INFO] [stdout]     |
[INFO] [stdout] 368 |     fn check_stored_key_not_equal(&mut self, x: usize) {
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/gpu.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/gpu.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/gpu.rs:17:42
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut is_maximized = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut frequency = 600; //Hz
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gpu`
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let gpu = Gpu::new();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_gpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_maximized`
[INFO] [stdout]   --> src/main.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut is_maximized = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_maximized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WIDTH` is never used
[INFO] [stdout]  --> src/gpu.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const WIDTH: usize = 64;
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEIGHT` is never used
[INFO] [stdout]  --> src/gpu.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const HEIGHT: usize = 32;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw` is never used
[INFO] [stdout]   --> src/gpu.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Gpu {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_keys` is never used
[INFO] [stdout]   --> src/input.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Input {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn has_keys(&mut self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "ac185d848f874e4a7ea72477671dd5ff59db3051b9e5ec58d46757bfa9261264", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac185d848f874e4a7ea72477671dd5ff59db3051b9e5ec58d46757bfa9261264", kill_on_drop: false }`
[INFO] [stdout] ac185d848f874e4a7ea72477671dd5ff59db3051b9e5ec58d46757bfa9261264
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d131d7796d03daefa995172c6933567a28fde80301f8449205dc489622ade766
[INFO] running `Command { std: "docker" "start" "-a" "d131d7796d03daefa995172c6933567a28fde80301f8449205dc489622ade766", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/cpu.rs:345:16
[INFO] [stderr]     |
[INFO] [stderr] 345 |             if (self.gpu.screen[i] > 0) {
[INFO] [stderr]     |                ^                      ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 345 -             if (self.gpu.screen[i] > 0) {
[INFO] [stderr] 345 +             if self.gpu.screen[i] > 0  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/cpu.rs:352:16
[INFO] [stderr]     |
[INFO] [stderr] 352 |             if (i % 64 == 0) {
[INFO] [stderr]     |                ^           ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 352 -             if (i % 64 == 0) {
[INFO] [stderr] 352 +             if i % 64 == 0  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ElementState`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     ElementState, Event, KeyboardInput, VirtualKeyCode, WindowEvent,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `EventLoop`
[INFO] [stderr]   --> src/main.rs:12:39
[INFO] [stderr]    |
[INFO] [stderr] 12 | use glutin::event_loop::{ControlFlow, EventLoop};
[INFO] [stderr]    |                                       ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `glutin::window::WindowBuilder`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use glutin::window::WindowBuilder;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `glutin::ContextBuilder`
[INFO] [stderr]   --> src/main.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use glutin::ContextBuilder;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SystemTime`
[INFO] [stderr]   --> src/main.rs:15:17
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::time::{SystemTime, Instant};
[INFO] [stderr]    |                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cpu.rs:321:13
[INFO] [stderr]     |
[INFO] [stderr] 321 |         let mut erased = 0;
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cpu.rs:322:13
[INFO] [stderr]     |
[INFO] [stderr] 322 |         let mut coord_x = self.v[x] as usize;
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cpu.rs:323:13
[INFO] [stderr]     |
[INFO] [stderr] 323 |         let mut coord_y = self.v[y] as usize;
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/cpu.rs:324:13
[INFO] [stderr]     |
[INFO] [stderr] 324 |         let mut b:u8 = n as u8;
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `erased`
[INFO] [stderr]    --> src/cpu.rs:321:13
[INFO] [stderr]     |
[INFO] [stderr] 321 |         let mut erased = 0;
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_erased`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/cpu.rs:324:13
[INFO] [stderr]     |
[INFO] [stderr] 324 |         let mut b:u8 = n as u8;
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/cpu.rs:363:42
[INFO] [stderr]     |
[INFO] [stderr] 363 |     fn check_stored_key_equal(&mut self, x: usize) {
[INFO] [stderr]     |                                          ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/cpu.rs:368:46
[INFO] [stderr]     |
[INFO] [stderr] 368 |     fn check_stored_key_not_equal(&mut self, x: usize) {
[INFO] [stderr]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/gpu.rs:17:28
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stderr]    |                            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/gpu.rs:17:35
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stderr]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/gpu.rs:17:42
[INFO] [stderr]    |
[INFO] [stderr] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stderr]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let mut is_maximized = false;
[INFO] [stderr]    |         ----^^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     let mut frequency = 600; //Hz
[INFO] [stderr]    |         ----^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `gpu`
[INFO] [stderr]   --> src/main.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let gpu = Gpu::new();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_gpu`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_maximized`
[INFO] [stderr]   --> src/main.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let mut is_maximized = false;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_maximized`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `WIDTH` is never used
[INFO] [stderr]  --> src/gpu.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub const WIDTH: usize = 64;
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `HEIGHT` is never used
[INFO] [stderr]  --> src/gpu.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub const HEIGHT: usize = 32;
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `draw` is never used
[INFO] [stderr]   --> src/gpu.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr]  8 | impl Gpu {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn draw(&mut self, x: u8, y: u8, n: usize) -> u8 {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `has_keys` is never used
[INFO] [stderr]   --> src/input.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr]  7 | impl Input {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn has_keys(&mut self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `nes_emulator` (bin "nes_emulator" test) generated 26 warnings (run `cargo fix --bin "nes_emulator" -p nes_emulator --tests` to apply 22 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nes_emulator-c8f65d5f897f18a3)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d131d7796d03daefa995172c6933567a28fde80301f8449205dc489622ade766", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d131d7796d03daefa995172c6933567a28fde80301f8449205dc489622ade766", kill_on_drop: false }`
[INFO] [stdout] d131d7796d03daefa995172c6933567a28fde80301f8449205dc489622ade766
