[INFO] cloning repository https://github.com/aemreaydin/rust_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/aemreaydin/rust_chip8_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faemreaydin%2Frust_chip8_emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faemreaydin%2Frust_chip8_emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4461b9f3838537726e5c8f7017ad96ff7e351924 [INFO] checking aemreaydin/rust_chip8_emulator against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faemreaydin%2Frust_chip8_emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aemreaydin/rust_chip8_emulator [INFO] finished tweaking git repo https://github.com/aemreaydin/rust_chip8_emulator [INFO] tweaked toml for git repo https://github.com/aemreaydin/rust_chip8_emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aemreaydin/rust_chip8_emulator on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aemreaydin/rust_chip8_emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking aemreaydin/rust_chip8_emulator against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faemreaydin%2Frust_chip8_emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aemreaydin/rust_chip8_emulator [INFO] finished tweaking git repo https://github.com/aemreaydin/rust_chip8_emulator [INFO] tweaked toml for git repo https://github.com/aemreaydin/rust_chip8_emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aemreaydin/rust_chip8_emulator on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aemreaydin/rust_chip8_emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.1 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded rand v0.8.2 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22423cde18708f3e63d64d1c4d7ec89735c6dc6ad484771610f482f2c6967569 [INFO] running `Command { std: "docker" "start" "-a" "22423cde18708f3e63d64d1c4d7ec89735c6dc6ad484771610f482f2c6967569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22423cde18708f3e63d64d1c4d7ec89735c6dc6ad484771610f482f2c6967569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22423cde18708f3e63d64d1c4d7ec89735c6dc6ad484771610f482f2c6967569", kill_on_drop: false }` [INFO] [stdout] 22423cde18708f3e63d64d1c4d7ec89735c6dc6ad484771610f482f2c6967569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1ba11e85e9ce483a1b9829142a454855bccbbe351700c36b910abb8d9af28e6 [INFO] running `Command { std: "docker" "start" "-a" "f1ba11e85e9ce483a1b9829142a454855bccbbe351700c36b910abb8d9af28e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking chip8_rust_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | self.prog_counter = self.stack[(self.stack_ptr as usize)]; [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] 181 - self.prog_counter = self.stack[(self.stack_ptr as usize)]; [INFO] [stdout] 181 + self.prog_counter = self.stack[self.stack_ptr as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | self.stack[(self.stack_ptr as usize)] = self.prog_counter; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - self.stack[(self.stack_ptr as usize)] = self.prog_counter; [INFO] [stdout] 192 + self.stack[self.stack_ptr as usize] = self.prog_counter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | if self.v_reg[(vx as usize)] == nn { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if self.v_reg[(vx as usize)] == nn { [INFO] [stdout] 198 + if self.v_reg[vx as usize] == nn { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | self.prog_counter = self.stack[(self.stack_ptr as usize)]; [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] 181 - self.prog_counter = self.stack[(self.stack_ptr as usize)]; [INFO] [stdout] 181 + self.prog_counter = self.stack[self.stack_ptr as usize]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | self.stack[(self.stack_ptr as usize)] = self.prog_counter; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 192 - self.stack[(self.stack_ptr as usize)] = self.prog_counter; [INFO] [stdout] 192 + self.stack[self.stack_ptr as usize] = self.prog_counter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 198 | if self.v_reg[(vx as usize)] == nn { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if self.v_reg[(vx as usize)] == nn { [INFO] [stdout] 198 + if self.v_reg[vx as usize] == nn { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | cpu.v_reg[(vx as usize)] = val; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 464 - cpu.v_reg[(vx as usize)] = val; [INFO] [stdout] 464 + cpu.v_reg[vx as usize] = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/chip8/cpu.rs:465:19 [INFO] [stdout] | [INFO] [stdout] 465 | cpu.v_reg[(vy as usize)] = val; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 465 - cpu.v_reg[(vy as usize)] = val; [INFO] [stdout] 465 + cpu.v_reg[vy as usize] = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opcodes` is never read [INFO] [stdout] --> src/chip8/cpu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct CPU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub opcodes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CPU` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "f1ba11e85e9ce483a1b9829142a454855bccbbe351700c36b910abb8d9af28e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ba11e85e9ce483a1b9829142a454855bccbbe351700c36b910abb8d9af28e6", kill_on_drop: false }` [INFO] [stdout] f1ba11e85e9ce483a1b9829142a454855bccbbe351700c36b910abb8d9af28e6