[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] building xTarzx/chip8-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxTarzx%2Fchip8-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xTarzx/chip8-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd6e2c009be683ceaac45a73379a9a0247be007eed29468b3f886bc5706089c5 [INFO] running `Command { std: "docker" "start" "-a" "cd6e2c009be683ceaac45a73379a9a0247be007eed29468b3f886bc5706089c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd6e2c009be683ceaac45a73379a9a0247be007eed29468b3f886bc5706089c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6e2c009be683ceaac45a73379a9a0247be007eed29468b3f886bc5706089c5", kill_on_drop: false }` [INFO] [stdout] cd6e2c009be683ceaac45a73379a9a0247be007eed29468b3f886bc5706089c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e22a1d0e51ac24deacc7837b8dca961ab7c66f785ed4ac1f2fa5fe5ae38ea3b9 [INFO] running `Command { std: "docker" "start" "-a" "e22a1d0e51ac24deacc7837b8dca961ab7c66f785ed4ac1f2fa5fe5ae38ea3b9", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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)]` 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)]` 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 6.23s [INFO] running `Command { std: "docker" "inspect" "e22a1d0e51ac24deacc7837b8dca961ab7c66f785ed4ac1f2fa5fe5ae38ea3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22a1d0e51ac24deacc7837b8dca961ab7c66f785ed4ac1f2fa5fe5ae38ea3b9", kill_on_drop: false }` [INFO] [stdout] e22a1d0e51ac24deacc7837b8dca961ab7c66f785ed4ac1f2fa5fe5ae38ea3b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f97c9f71a76707a04c313baef707427829ad6d5746d8a6f8effa8a3d8882232 [INFO] running `Command { std: "docker" "start" "-a" "5f97c9f71a76707a04c313baef707427829ad6d5746d8a6f8effa8a3d8882232", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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)]` 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "5f97c9f71a76707a04c313baef707427829ad6d5746d8a6f8effa8a3d8882232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f97c9f71a76707a04c313baef707427829ad6d5746d8a6f8effa8a3d8882232", kill_on_drop: false }` [INFO] [stdout] 5f97c9f71a76707a04c313baef707427829ad6d5746d8a6f8effa8a3d8882232