[INFO] cloning repository https://github.com/alvinosh/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvinosh/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67c45e7698ce46cb095376a957b8898bd91dd0bd [INFO] checking alvinosh/chip8 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alvinosh/chip8 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alvinosh/chip8 [INFO] finished tweaking git repo https://github.com/alvinosh/chip8 [INFO] tweaked toml for git repo https://github.com/alvinosh/chip8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alvinosh/chip8 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a0b8e1907f9008081e8fc8f78d7d2380ff823f91647b1db73c7d4d56dfe1887 [INFO] running `Command { std: "docker" "start" "-a" "7a0b8e1907f9008081e8fc8f78d7d2380ff823f91647b1db73c7d4d56dfe1887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a0b8e1907f9008081e8fc8f78d7d2380ff823f91647b1db73c7d4d56dfe1887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0b8e1907f9008081e8fc8f78d7d2380ff823f91647b1db73c7d4d56dfe1887", kill_on_drop: false }` [INFO] [stdout] 7a0b8e1907f9008081e8fc8f78d7d2380ff823f91647b1db73c7d4d56dfe1887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa9a9e1c36df65e62f52017efed06c9e8ff2a80120302eaea41590043bc1a7f4 [INFO] running `Command { std: "docker" "start" "-a" "aa9a9e1c36df65e62f52017efed06c9e8ff2a80120302eaea41590043bc1a7f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration`, `rc::Rc` [INFO] [stdout] --> src/chip8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Bernoulli` [INFO] [stdout] --> src/chip8.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::Bernoulli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `event::Event`, `keyboard::Keycode` [INFO] [stdout] --> src/chip8.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{event::Event, keyboard::Keycode}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpCode`, `self`, `self` [INFO] [stdout] --> src/chip8.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | cpu::{OpCode, CPU}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | debug_levels::DebugLevels, [INFO] [stdout] 12 | display::{self, Display}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cpu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `rc::Rc` [INFO] [stdout] --> src/chip8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Bernoulli` [INFO] [stdout] --> src/chip8.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::Bernoulli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `event::Event`, `keyboard::Keycode` [INFO] [stdout] --> src/chip8.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{event::Event, keyboard::Keycode}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpCode`, `self`, `self` [INFO] [stdout] --> src/chip8.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | cpu::{OpCode, CPU}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | debug_levels::DebugLevels, [INFO] [stdout] 12 | display::{self, Display}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cpu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Err(error) => return Err("Failed".to_string()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Err(error) => return Err("Failed".to_string()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_last` is never used [INFO] [stdout] --> src/chip8.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CHIP8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn log_last(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_last` is never used [INFO] [stdout] --> src/chip8.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CHIP8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn log_last(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_addr` is never used [INFO] [stdout] --> src/cpu.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn log_addr(&mut self, mem: &mut Memory, addr: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/display.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Display { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_buffer` is never used [INFO] [stdout] --> src/display.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Display { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn dump_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_addr` is never used [INFO] [stdout] --> src/cpu.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn log_addr(&mut self, mem: &mut Memory, addr: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/display.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Display { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_buffer` is never used [INFO] [stdout] --> src/display.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Display { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn dump_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "aa9a9e1c36df65e62f52017efed06c9e8ff2a80120302eaea41590043bc1a7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9a9e1c36df65e62f52017efed06c9e8ff2a80120302eaea41590043bc1a7f4", kill_on_drop: false }` [INFO] [stdout] aa9a9e1c36df65e62f52017efed06c9e8ff2a80120302eaea41590043bc1a7f4