[INFO] cloning repository https://github.com/perzeroo/chip-8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perzeroo/chip-8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperzeroo%2Fchip-8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperzeroo%2Fchip-8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c0e5814da4e5faa0a87c6e0c914e920df639ce6 [INFO] checking perzeroo/chip-8-emulator against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperzeroo%2Fchip-8-emulator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/perzeroo/chip-8-emulator [INFO] finished tweaking git repo https://github.com/perzeroo/chip-8-emulator [INFO] tweaked toml for git repo https://github.com/perzeroo/chip-8-emulator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/perzeroo/chip-8-emulator on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/perzeroo/chip-8-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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5 [INFO] running `Command { std: "docker" "start" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Checking quad-rand v0.2.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking miniquad v0.4.6 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking macroquad v0.4.13 [INFO] [stderr] Checking chip-8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/emulator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread::sleep; [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: `std::thread::sleep` [INFO] [stdout] --> src/emulator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/emulator.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/renderer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::{Arc, Mutex}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/emulator.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/renderer.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::{Arc, Mutex}, usize}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut thread_lock_copy = *thread_lock; [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: `thread_lock_copy` [INFO] [stdout] --> src/emulator.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut thread_lock_copy = *thread_lock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_lock_copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/emulator.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut thread_lock_copy = *thread_lock; [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: `thread_lock_copy` [INFO] [stdout] --> src/emulator.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut thread_lock_copy = *thread_lock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_lock_copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emulator_logic_thread` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let emulator_logic_thread = spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emulator_logic_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emulator_logic_thread` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let emulator_logic_thread = spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emulator_logic_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emu` [INFO] [stdout] --> src/main.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | fn set_last_key_pressed(emu: &mut Emulator) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_last_key_pressed` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn set_last_key_pressed(emu: &mut Emulator) { [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 `print_mem` is never used [INFO] [stdout] --> src/memory.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn print_mem(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emu` [INFO] [stdout] --> src/main.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | fn set_last_key_pressed(emu: &mut Emulator) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_last_key_pressed` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn set_last_key_pressed(emu: &mut Emulator) { [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 `print_mem` is never used [INFO] [stdout] --> src/memory.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn print_mem(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.24s [INFO] running `Command { std: "docker" "inspect" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5", kill_on_drop: false }` [INFO] [stdout] fec38c016c8f801ce09590f01fb51a487e7cdcbbf0e141b5ee505bb2ee77bbc5