[INFO] cloning repository https://github.com/sszabo11/chip8-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sszabo11/chip8-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsszabo11%2Fchip8-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsszabo11%2Fchip8-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad167c55c66f44b915952418173525219181cb4d [INFO] checking sszabo11/chip8-rs against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsszabo11%2Fchip8-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sszabo11/chip8-rs [INFO] finished tweaking git repo https://github.com/sszabo11/chip8-rs [INFO] tweaked toml for git repo https://github.com/sszabo11/chip8-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sszabo11/chip8-rs on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sszabo11/chip8-rs 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a93e520a0f82e354c1fda74c78ef4a35b7d542df24147bfca50c0c54a70feed1 [INFO] running `Command { std: "docker" "start" "-a" "a93e520a0f82e354c1fda74c78ef4a35b7d542df24147bfca50c0c54a70feed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a93e520a0f82e354c1fda74c78ef4a35b7d542df24147bfca50c0c54a70feed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93e520a0f82e354c1fda74c78ef4a35b7d542df24147bfca50c0c54a70feed1", kill_on_drop: false }` [INFO] [stdout] a93e520a0f82e354c1fda74c78ef4a35b7d542df24147bfca50c0c54a70feed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a9b26c4a6638bd28f9ee55ccc9572d12186903545416a31bd0f6375b862f5e [INFO] running `Command { std: "docker" "start" "-a" "a9a9b26c4a6638bd28f9ee55ccc9572d12186903545416a31bd0f6375b862f5e", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking chip8-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `info`, `trace`, and `warn` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::stdout` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, io::stdout}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | for i in self.memory { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | (8, x, y, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | (0xB, n1, n2, n3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n2` [INFO] [stdout] --> src/main.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | (0xB, n1, n2, n3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n3` [INFO] [stdout] --> src/main.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | (0xB, n1, n2, n3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let mut last_cycle_time = std::time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_cycle_time` [INFO] [stdout] --> src/main.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let mut last_cycle_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_cycle_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/main.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | let now = std::time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> src/main.rs:601:21 [INFO] [stdout] | [INFO] [stdout] 601 | let exec = self.execute_instruction(op); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Chip8 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | opcode: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace`, and `warn` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::stdout` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, fs, io::stdout}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | for i in self.memory { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | (8, x, y, 0xE) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vy` [INFO] [stdout] --> src/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let vy = self.v_reg[y as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx` [INFO] [stdout] --> src/main.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let vx = self.v_reg[x as usize]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 322 | (0xB, n1, n2, n3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n2` [INFO] [stdout] --> src/main.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | (0xB, n1, n2, n3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n3` [INFO] [stdout] --> src/main.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | (0xB, n1, n2, n3) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let mut last_cycle_time = std::time::Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_cycle_time` [INFO] [stdout] --> src/main.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let mut last_cycle_time = std::time::Instant::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_cycle_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/main.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | let now = std::time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exec` [INFO] [stdout] --> src/main.rs:601:21 [INFO] [stdout] | [INFO] [stdout] 601 | let exec = self.execute_instruction(op); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcode` is never read [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 60 | struct Chip8 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | opcode: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Chip8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "a9a9b26c4a6638bd28f9ee55ccc9572d12186903545416a31bd0f6375b862f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a9b26c4a6638bd28f9ee55ccc9572d12186903545416a31bd0f6375b862f5e", kill_on_drop: false }` [INFO] [stdout] a9a9b26c4a6638bd28f9ee55ccc9572d12186903545416a31bd0f6375b862f5e