[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#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alvinosh/chip8 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55712b3f396b82c72ee81bd2017b867922964a67be63fc729cc77ee0ac50c12d
[INFO] running `Command { std: "docker" "start" "-a" "55712b3f396b82c72ee81bd2017b867922964a67be63fc729cc77ee0ac50c12d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55712b3f396b82c72ee81bd2017b867922964a67be63fc729cc77ee0ac50c12d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55712b3f396b82c72ee81bd2017b867922964a67be63fc729cc77ee0ac50c12d", kill_on_drop: false }`
[INFO] [stdout] 55712b3f396b82c72ee81bd2017b867922964a67be63fc729cc77ee0ac50c12d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8cc1e0c99d0317e56c6227454c5774993078ddaf268b483364609b7e0a63f0b4
[INFO] running `Command { std: "docker" "start" "-a" "8cc1e0c99d0317e56c6227454c5774993078ddaf268b483364609b7e0a63f0b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking sdl2-sys v0.35.2
[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 sdl2 v0.35.2
[INFO] [stderr]     Checking chip8 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Duration` and `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)]` (part of `#[warn(unused)]`) 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` and `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`, and `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` and `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)]` (part of `#[warn(unused)]`) 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` and `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`, and `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]    = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(u16),
[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 `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<u8>,
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/display.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn events(&mut self) -> EventPollIterator {
[INFO] [stdout]     |                   ^^^^^^^^^     ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn events(&mut self) -> EventPollIterator<'_> {
[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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]    = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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(u16),
[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 `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<u8>,
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/display.rs:101:19
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn events(&mut self) -> EventPollIterator {
[INFO] [stdout]     |                   ^^^^^^^^^     ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn events(&mut self) -> EventPollIterator<'_> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s
[INFO] running `Command { std: "docker" "inspect" "8cc1e0c99d0317e56c6227454c5774993078ddaf268b483364609b7e0a63f0b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cc1e0c99d0317e56c6227454c5774993078ddaf268b483364609b7e0a63f0b4", kill_on_drop: false }`
[INFO] [stdout] 8cc1e0c99d0317e56c6227454c5774993078ddaf268b483364609b7e0a63f0b4
