[INFO] cloning repository https://github.com/nmp2605/chip8rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nmp2605/chip8rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmp2605%2Fchip8rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmp2605%2Fchip8rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef4f58b07a839cdaae83706beb7e9ebd6530d3bb [INFO] checking nmp2605/chip8rs against master#ba7e63b63871a429533c189adbfb1d9a6337e000 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmp2605%2Fchip8rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nmp2605/chip8rs [INFO] finished tweaking git repo https://github.com/nmp2605/chip8rs [INFO] tweaked toml for git repo https://github.com/nmp2605/chip8rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nmp2605/chip8rs on toolchain ba7e63b63871a429533c189adbfb1d9a6337e000 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nmp2605/chip8rs 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" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall_double v0.3.0 [INFO] [stderr] Downloaded mockall_derive v0.11.0 [INFO] [stderr] Downloaded mockall v0.11.0 [INFO] [stderr] Downloaded fragile v1.2.0 [INFO] [stderr] Downloaded test-case v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83278e63c9bf89a80457740e8c02038ecb5bdf52ad62fed4516844322ab95b69 [INFO] running `Command { std: "docker" "start" "-a" "83278e63c9bf89a80457740e8c02038ecb5bdf52ad62fed4516844322ab95b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83278e63c9bf89a80457740e8c02038ecb5bdf52ad62fed4516844322ab95b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83278e63c9bf89a80457740e8c02038ecb5bdf52ad62fed4516844322ab95b69", kill_on_drop: false }` [INFO] [stdout] 83278e63c9bf89a80457740e8c02038ecb5bdf52ad62fed4516844322ab95b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f616998c29203b0e5d6ee0e04203e04231d39b7849195ae4780e9554e7d2df7 [INFO] running `Command { std: "docker" "start" "-a" "1f616998c29203b0e5d6ee0e04203e04231d39b7849195ae4780e9554e7d2df7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking fragile v1.2.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Compiling mockall_double v0.3.0 [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Compiling test-case v2.0.2 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking mockall v0.11.0 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking chip8rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/interface.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyRepeat` and `Key` [INFO] [stdout] --> src/interface.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use minifb::{Window, WindowOptions, KeyRepeat, Key}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/motherboard.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sound_timer` is never used [INFO] [stdout] --> src/cpu.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_sound_timer(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/interface.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyRepeat` and `Key` [INFO] [stdout] --> src/interface.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use minifb::{Window, WindowOptions, KeyRepeat, Key}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/motherboard.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interface` is never constructed [INFO] [stdout] --> src/interface.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Interface { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interface.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interface { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub const TITLE: &'static str = "Chip-8"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub const WIDTH: usize = 64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub const HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub const BLACK: u32 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub const WHITE: u32 = 16777215; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn initialize() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn window_is_open(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn refresh(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn draw_pixel(&mut self, state: bool, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_pressed(&self, key_code: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn is_not_pressed(&self, key_code: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_pressed_key(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.41s [INFO] running `Command { std: "docker" "inspect" "1f616998c29203b0e5d6ee0e04203e04231d39b7849195ae4780e9554e7d2df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f616998c29203b0e5d6ee0e04203e04231d39b7849195ae4780e9554e7d2df7", kill_on_drop: false }` [INFO] [stdout] 1f616998c29203b0e5d6ee0e04203e04231d39b7849195ae4780e9554e7d2df7