[INFO] cloning repository https://github.com/timothyjrogers/tjr-chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timothyjrogers/tjr-chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimothyjrogers%2Ftjr-chip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimothyjrogers%2Ftjr-chip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f2aa4aa5fa7b4e7c72e36d65eb524b66f2717a6 [INFO] checking timothyjrogers/tjr-chip8 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimothyjrogers%2Ftjr-chip8" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timothyjrogers/tjr-chip8 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/timothyjrogers/tjr-chip8 [INFO] finished tweaking git repo https://github.com/timothyjrogers/tjr-chip8 [INFO] tweaked toml for git repo https://github.com/timothyjrogers/tjr-chip8 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/timothyjrogers/tjr-chip8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.34.2 [INFO] [stderr] Downloaded sdl2-sys v0.34.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 134a2484bde6f6a5562421feff18fb6c0fb7ae3517b5ecf3e3e5105e3cb5fef8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "134a2484bde6f6a5562421feff18fb6c0fb7ae3517b5ecf3e3e5105e3cb5fef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "134a2484bde6f6a5562421feff18fb6c0fb7ae3517b5ecf3e3e5105e3cb5fef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134a2484bde6f6a5562421feff18fb6c0fb7ae3517b5ecf3e3e5105e3cb5fef8", kill_on_drop: false }` [INFO] [stdout] 134a2484bde6f6a5562421feff18fb6c0fb7ae3517b5ecf3e3e5105e3cb5fef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 944fc2d2e40cb3d167af2bc2455e2ce3eb90ea01d00c736cd8ef4bdb790d8c49 [INFO] running `Command { std: "docker" "start" "-a" "944fc2d2e40cb3d167af2bc2455e2ce3eb90ea01d00c736cd8ef4bdb790d8c49", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tjr-chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => panic!("Unable to read default ROM directory") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut choice_int: usize = choice.trim().parse::().expect("Invalid ROM choice, enter an integer from the list. Aborting."); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phase_inc` [INFO] [stdout] --> src/audio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | phase_inc: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `beep` [INFO] [stdout] --> src/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | beep: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AudioState` [INFO] [stdout] --> src/audio.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AudioState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phase_inc` [INFO] [stdout] --> src/audio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | phase_inc: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Audio` [INFO] [stdout] --> src/audio.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Audio { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/audio.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(ctx: &sdl2::Sdl) -> Audio { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `beep` [INFO] [stdout] --> src/audio.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn beep(&mut self, state: AudioState) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => panic!("Unable to read default ROM directory") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut choice_int: usize = choice.trim().parse::().expect("Invalid ROM choice, enter an integer from the list. Aborting."); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phase_inc` [INFO] [stdout] --> src/audio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | phase_inc: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `beep` [INFO] [stdout] --> src/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | beep: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AudioState` [INFO] [stdout] --> src/audio.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AudioState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phase_inc` [INFO] [stdout] --> src/audio.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | phase_inc: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Audio` [INFO] [stdout] --> src/audio.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Audio { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/audio.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(ctx: &sdl2::Sdl) -> Audio { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `beep` [INFO] [stdout] --> src/audio.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn beep(&mut self, state: AudioState) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.28s [INFO] running `Command { std: "docker" "inspect" "944fc2d2e40cb3d167af2bc2455e2ce3eb90ea01d00c736cd8ef4bdb790d8c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944fc2d2e40cb3d167af2bc2455e2ce3eb90ea01d00c736cd8ef4bdb790d8c49", kill_on_drop: false }` [INFO] [stdout] 944fc2d2e40cb3d167af2bc2455e2ce3eb90ea01d00c736cd8ef4bdb790d8c49