[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] checking danbruno/chip8-emulator against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbruno%2Fchip8-emulator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danbruno/chip8-emulator on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.28.1 [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] [stderr] Downloaded wayland-scanner v0.28.1 [INFO] [stderr] Downloaded wayland-client v0.28.1 [INFO] [stderr] Downloaded wayland-egl v0.28.1 [INFO] [stderr] Downloaded instant v0.1.8 [INFO] [stderr] Downloaded wayland-cursor v0.28.1 [INFO] [stderr] Downloaded wayland-commons v0.28.1 [INFO] [stderr] Downloaded xcursor v0.3.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded core-graphics v0.22.1 [INFO] [stderr] Downloaded syn v1.0.48 [INFO] [stderr] Downloaded winit v0.23.0 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] [stderr] Downloaded wayland-protocols v0.28.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.0 [INFO] [stderr] Downloaded serde v1.0.117 [INFO] [stderr] Downloaded toml v0.5.7 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded glutin v0.25.1 [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 532536e4a3ca472a31375e3f4d99844c9f211f202d5f7c7fa06be730b4b74edd [INFO] running `Command { std: "docker" "start" "-a" "532536e4a3ca472a31375e3f4d99844c9f211f202d5f7c7fa06be730b4b74edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "532536e4a3ca472a31375e3f4d99844c9f211f202d5f7c7fa06be730b4b74edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "532536e4a3ca472a31375e3f4d99844c9f211f202d5f7c7fa06be730b4b74edd", kill_on_drop: false }` [INFO] [stdout] 532536e4a3ca472a31375e3f4d99844c9f211f202d5f7c7fa06be730b4b74edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52dc367a0a9bf80d3eb1022d22d2ca4c8cbadad8c12511c07196e21d9f2e8244 [INFO] running `Command { std: "docker" "start" "-a" "52dc367a0a9bf80d3eb1022d22d2ca4c8cbadad8c12511c07196e21d9f2e8244", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling wayland-sys v0.28.1 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling wayland-scanner v0.28.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.28.1 [INFO] [stderr] Compiling wayland-protocols v0.28.1 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking wayland-commons v0.28.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.1 [INFO] [stderr] Checking wayland-egl v0.28.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.0 [INFO] [stderr] Checking glutin v0.25.1 [INFO] [stderr] Checking 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)]` 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)]` 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: 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)]` 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)]` 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: unused variable: `erased` [INFO] [stdout] --> src/cpu.rs:321:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/cpu.rs:324:17 [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: `erased` [INFO] [stdout] --> src/cpu.rs:321:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/cpu.rs:324:17 [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: 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)]` 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: `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: 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)]` on by default [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/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: `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: `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:13 [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: 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: 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:13 [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: 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: 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)]` 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] [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: 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)]` 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] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.85s [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" "52dc367a0a9bf80d3eb1022d22d2ca4c8cbadad8c12511c07196e21d9f2e8244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52dc367a0a9bf80d3eb1022d22d2ca4c8cbadad8c12511c07196e21d9f2e8244", kill_on_drop: false }` [INFO] [stdout] 52dc367a0a9bf80d3eb1022d22d2ca4c8cbadad8c12511c07196e21d9f2e8244