[INFO] cloning repository https://github.com/tech0tron/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/tech0tron/chip8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftech0tron%2Fchip8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftech0tron%2Fchip8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a42a4644a2762407d2a6dd07a6589b0cbc6dc767 [INFO] checking tech0tron/chip8-emulator against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftech0tron%2Fchip8-emulator" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tech0tron/chip8-emulator on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tech0tron/chip8-emulator [INFO] finished tweaking git repo https://github.com/tech0tron/chip8-emulator [INFO] tweaked toml for git repo https://github.com/tech0tron/chip8-emulator written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tech0tron/chip8-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b118ccef52597eba860dad51f1bf9edb25c66f796f5b1f6e429da9a0b9e8737d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b118ccef52597eba860dad51f1bf9edb25c66f796f5b1f6e429da9a0b9e8737d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b118ccef52597eba860dad51f1bf9edb25c66f796f5b1f6e429da9a0b9e8737d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b118ccef52597eba860dad51f1bf9edb25c66f796f5b1f6e429da9a0b9e8737d", kill_on_drop: false }` [INFO] [stdout] b118ccef52597eba860dad51f1bf9edb25c66f796f5b1f6e429da9a0b9e8737d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e464bc4028064f857c8aaa7b85319e0e8dae1c2a47ee24c28d12a3881ef866e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e464bc4028064f857c8aaa7b85319e0e8dae1c2a47ee24c28d12a3881ef866e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling sdl2 v0.34.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sdl2-sys v0.34.4 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking chip8-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `canvas` [INFO] [stdout] --> src/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | canvas: Canvas, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_screen` [INFO] [stdout] --> src/graphics.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reset_screen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_screen` [INFO] [stdout] --> src/graphics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw_screen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_pixel` [INFO] [stdout] --> src/graphics.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn draw_pixel(&mut self, x: usize, y: usize, color: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_pixel_buffer` [INFO] [stdout] --> src/graphics.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn draw_pixel_buffer(&mut self, buffer: &[[bool; Y_WIDTH]; X_WIDTH]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_random` [INFO] [stdout] --> src/chip8.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn generate_random(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/chip8.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_00e0` [INFO] [stdout] --> src/chip8.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn op_00e0(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_00ee` [INFO] [stdout] --> src/chip8.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn op_00ee(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_1nnn` [INFO] [stdout] --> src/chip8.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn op_1nnn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_2nnn` [INFO] [stdout] --> src/chip8.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn op_2nnn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_3xkk` [INFO] [stdout] --> src/chip8.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn op_3xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_4xkk` [INFO] [stdout] --> src/chip8.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn op_4xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_5xy0` [INFO] [stdout] --> src/chip8.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn op_5xy0(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_6xkk` [INFO] [stdout] --> src/chip8.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn op_6xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_7xkk` [INFO] [stdout] --> src/chip8.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn op_7xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy0` [INFO] [stdout] --> src/chip8.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn op_8xy0(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy1` [INFO] [stdout] --> src/chip8.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn op_8xy1(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy2` [INFO] [stdout] --> src/chip8.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn op_8xy2(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy3` [INFO] [stdout] --> src/chip8.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn op_8xy3(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy4` [INFO] [stdout] --> src/chip8.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn op_8xy4(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy5` [INFO] [stdout] --> src/chip8.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn op_8xy5(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy6` [INFO] [stdout] --> src/chip8.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn op_8xy6(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy7` [INFO] [stdout] --> src/chip8.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn op_8xy7(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xye` [INFO] [stdout] --> src/chip8.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn op_8xye(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_9xy0` [INFO] [stdout] --> src/chip8.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn op_9xy0(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_annn` [INFO] [stdout] --> src/chip8.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn op_annn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_bnnn` [INFO] [stdout] --> src/chip8.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn op_bnnn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_cxkk` [INFO] [stdout] --> src/chip8.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn op_cxkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_dxyn` [INFO] [stdout] --> src/chip8.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn op_dxyn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ex9e` [INFO] [stdout] --> src/chip8.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn op_ex9e(&mut self, instruction: Instruction, keypad_array: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_exa1` [INFO] [stdout] --> src/chip8.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn op_exa1(&mut self, instruction: Instruction, keypad_array: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx07` [INFO] [stdout] --> src/chip8.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn op_fx07(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx0a` [INFO] [stdout] --> src/chip8.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn op_fx0a(&mut self, instruction: Instruction, keypad_array: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx15` [INFO] [stdout] --> src/chip8.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn op_fx15(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx18` [INFO] [stdout] --> src/chip8.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn op_fx18(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx1e` [INFO] [stdout] --> src/chip8.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn op_fx1e(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx29` [INFO] [stdout] --> src/chip8.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn op_fx29(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx33` [INFO] [stdout] --> src/chip8.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn op_fx33(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx55` [INFO] [stdout] --> src/chip8.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn op_fx55(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx65` [INFO] [stdout] --> src/chip8.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn op_fx65(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | f.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | f.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `canvas` [INFO] [stdout] --> src/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | canvas: Canvas, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_screen` [INFO] [stdout] --> src/graphics.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn reset_screen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_screen` [INFO] [stdout] --> src/graphics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw_screen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_pixel` [INFO] [stdout] --> src/graphics.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn draw_pixel(&mut self, x: usize, y: usize, color: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_pixel_buffer` [INFO] [stdout] --> src/graphics.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn draw_pixel_buffer(&mut self, buffer: &[[bool; Y_WIDTH]; X_WIDTH]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_random` [INFO] [stdout] --> src/chip8.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn generate_random(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tick` [INFO] [stdout] --> src/chip8.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_1nnn` [INFO] [stdout] --> src/chip8.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn op_1nnn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_2nnn` [INFO] [stdout] --> src/chip8.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn op_2nnn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_3xkk` [INFO] [stdout] --> src/chip8.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn op_3xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_4xkk` [INFO] [stdout] --> src/chip8.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn op_4xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_5xy0` [INFO] [stdout] --> src/chip8.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn op_5xy0(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_6xkk` [INFO] [stdout] --> src/chip8.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn op_6xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_7xkk` [INFO] [stdout] --> src/chip8.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn op_7xkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy0` [INFO] [stdout] --> src/chip8.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn op_8xy0(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy1` [INFO] [stdout] --> src/chip8.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn op_8xy1(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy2` [INFO] [stdout] --> src/chip8.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn op_8xy2(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy3` [INFO] [stdout] --> src/chip8.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn op_8xy3(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy4` [INFO] [stdout] --> src/chip8.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn op_8xy4(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy5` [INFO] [stdout] --> src/chip8.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn op_8xy5(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy6` [INFO] [stdout] --> src/chip8.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn op_8xy6(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xy7` [INFO] [stdout] --> src/chip8.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn op_8xy7(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_8xye` [INFO] [stdout] --> src/chip8.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn op_8xye(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_9xy0` [INFO] [stdout] --> src/chip8.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn op_9xy0(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_annn` [INFO] [stdout] --> src/chip8.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn op_annn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_bnnn` [INFO] [stdout] --> src/chip8.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn op_bnnn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_cxkk` [INFO] [stdout] --> src/chip8.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn op_cxkk(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_dxyn` [INFO] [stdout] --> src/chip8.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn op_dxyn(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ex9e` [INFO] [stdout] --> src/chip8.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn op_ex9e(&mut self, instruction: Instruction, keypad_array: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_exa1` [INFO] [stdout] --> src/chip8.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn op_exa1(&mut self, instruction: Instruction, keypad_array: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx07` [INFO] [stdout] --> src/chip8.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn op_fx07(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx0a` [INFO] [stdout] --> src/chip8.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn op_fx0a(&mut self, instruction: Instruction, keypad_array: &[bool]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx15` [INFO] [stdout] --> src/chip8.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn op_fx15(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx18` [INFO] [stdout] --> src/chip8.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn op_fx18(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx1e` [INFO] [stdout] --> src/chip8.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn op_fx1e(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx29` [INFO] [stdout] --> src/chip8.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn op_fx29(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx33` [INFO] [stdout] --> src/chip8.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn op_fx33(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx55` [INFO] [stdout] --> src/chip8.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn op_fx55(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_fx65` [INFO] [stdout] --> src/chip8.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn op_fx65(&mut self, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | f.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/chip8.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | f.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.91s [INFO] running `Command { std: "docker" "inspect" "e464bc4028064f857c8aaa7b85319e0e8dae1c2a47ee24c28d12a3881ef866e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e464bc4028064f857c8aaa7b85319e0e8dae1c2a47ee24c28d12a3881ef866e1", kill_on_drop: false }` [INFO] [stdout] e464bc4028064f857c8aaa7b85319e0e8dae1c2a47ee24c28d12a3881ef866e1