[INFO] cloning repository https://github.com/xTarzx/chip8-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xTarzx/chip8-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxTarzx%2Fchip8-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxTarzx%2Fchip8-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b35520132db769f7256e77e6d9e6c88ea812453e [INFO] checking xTarzx/chip8-rust against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxTarzx%2Fchip8-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xTarzx/chip8-rust [INFO] finished tweaking git repo https://github.com/xTarzx/chip8-rust [INFO] tweaked toml for git repo https://github.com/xTarzx/chip8-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xTarzx/chip8-rust on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xTarzx/chip8-rust 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4e2f644e55ae291735aac4cd3bfb4cb962322db74fc85879703d77672c46c90 [INFO] running `Command { std: "docker" "start" "-a" "f4e2f644e55ae291735aac4cd3bfb4cb962322db74fc85879703d77672c46c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e2f644e55ae291735aac4cd3bfb4cb962322db74fc85879703d77672c46c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e2f644e55ae291735aac4cd3bfb4cb962322db74fc85879703d77672c46c90", kill_on_drop: false }` [INFO] [stdout] f4e2f644e55ae291735aac4cd3bfb4cb962322db74fc85879703d77672c46c90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 993abb8443cc1041af695b49415cf4f1b5f09aa7eba0d5246e2745cf3043396f [INFO] running `Command { std: "docker" "start" "-a" "993abb8443cc1041af695b49415cf4f1b5f09aa7eba0d5246e2745cf3043396f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/chip8.rs:252:43 [INFO] [stdout] | [INFO] [stdout] 252 | self.registers[0xF] = (self.registers[Vx as usize] & 0x1); [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] 252 - self.registers[0xF] = (self.registers[Vx as usize] & 0x1); [INFO] [stdout] 252 + self.registers[0xF] = self.registers[Vx as usize] & 0x1 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | (SCALE as i32 * row as i32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - (SCALE as i32 * row as i32), [INFO] [stdout] 115 + SCALE as i32 * row as i32 , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | (SCALE as i32 * col as i32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - (SCALE as i32 * col as i32), [INFO] [stdout] 116 + SCALE as i32 * col as i32 , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/chip8.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(sum) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_rom` is never used [INFO] [stdout] --> src/chip8.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn load_rom(&mut self, filename: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:364:25 [INFO] [stdout] | [INFO] [stdout] 364 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:395:25 [INFO] [stdout] | [INFO] [stdout] 395 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/chip8.rs:252:43 [INFO] [stdout] | [INFO] [stdout] 252 | self.registers[0xF] = (self.registers[Vx as usize] & 0x1); [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] 252 - self.registers[0xF] = (self.registers[Vx as usize] & 0x1); [INFO] [stdout] 252 + self.registers[0xF] = self.registers[Vx as usize] & 0x1 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | (SCALE as i32 * row as i32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - (SCALE as i32 * row as i32), [INFO] [stdout] 115 + SCALE as i32 * row as i32 , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | (SCALE as i32 * col as i32), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - (SCALE as i32 * col as i32), [INFO] [stdout] 116 + SCALE as i32 * col as i32 , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/chip8.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(sum) = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_rom` is never used [INFO] [stdout] --> src/chip8.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn load_rom(&mut self, filename: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vy` should have a snake case name [INFO] [stdout] --> src/chip8.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let Vy = (opcode & 0x00f0) >> 4; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:364:25 [INFO] [stdout] | [INFO] [stdout] 364 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:395:25 [INFO] [stdout] | [INFO] [stdout] 395 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Vx` should have a snake case name [INFO] [stdout] --> src/chip8.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | let Vx = (opcode & 0x0f00) >> 8; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.89s [INFO] running `Command { std: "docker" "inspect" "993abb8443cc1041af695b49415cf4f1b5f09aa7eba0d5246e2745cf3043396f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993abb8443cc1041af695b49415cf4f1b5f09aa7eba0d5246e2745cf3043396f", kill_on_drop: false }` [INFO] [stdout] 993abb8443cc1041af695b49415cf4f1b5f09aa7eba0d5246e2745cf3043396f