[INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/sendemail-validate.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu/hooks/sendemail-validate.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu/hooks/commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/thePhenom21/chip8emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thePhenom21/chip8emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d9f1b4f5c75f8d3e71c33a5059bdfd59ec712fc [INFO] checking thePhenom21/chip8emu against master#f5d3fe273b8b9e7125bf8856d44793b6cc4b6735 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthePhenom21%2Fchip8emu" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thePhenom21/chip8emu on toolchain f5d3fe273b8b9e7125bf8856d44793b6cc4b6735 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thePhenom21/chip8emu [INFO] finished tweaking git repo https://github.com/thePhenom21/chip8emu [INFO] tweaked toml for git repo https://github.com/thePhenom21/chip8emu written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thePhenom21/chip8emu 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" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6562073aaf4134e25bd8dc1e51624bea9b8f127bbbf4c529cf363c31afd3799 [INFO] running `Command { std: "docker" "start" "-a" "c6562073aaf4134e25bd8dc1e51624bea9b8f127bbbf4c529cf363c31afd3799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6562073aaf4134e25bd8dc1e51624bea9b8f127bbbf4c529cf363c31afd3799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6562073aaf4134e25bd8dc1e51624bea9b8f127bbbf4c529cf363c31afd3799", kill_on_drop: false }` [INFO] [stdout] c6562073aaf4134e25bd8dc1e51624bea9b8f127bbbf4c529cf363c31afd3799 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f5d3fe273b8b9e7125bf8856d44793b6cc4b6735" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 158800df7553045b8405cc818da1382ea3a96c121e7ef88b4b946029fb2ac434 [INFO] running `Command { std: "docker" "start" "-a" "158800df7553045b8405cc818da1382ea3a96c121e7ef88b4b946029fb2ac434", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking random v0.14.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::audio::AudioSpecDesired` [INFO] [stdout] --> src/components.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::audio::AudioSpecDesired; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/components.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if (self.sound_timer > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (self.sound_timer > 0) { [INFO] [stdout] 25 + if self.sound_timer > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/display.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::LowerHex` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fmt::LowerHex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::libc::rand` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sdl2::libc::rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | if (self.cpu.registers[second_part as usize] == n2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - if (self.cpu.registers[second_part as usize] == n2){ [INFO] [stdout] 82 + if self.cpu.registers[second_part as usize] == n2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | if (self.cpu.registers[second_part as usize] != n2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if (self.cpu.registers[second_part as usize] != n2){ [INFO] [stdout] 87 + if self.cpu.registers[second_part as usize] != n2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | if(self.cpu.registers[second_part as usize] == self.cpu.registers[third_part as usize]){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - if(self.cpu.registers[second_part as usize] == self.cpu.registers[third_part as usize]){ [INFO] [stdout] 92 + if self.cpu.registers[second_part as usize] == self.cpu.registers[third_part as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | if (self.cpu.registers[second_part as usize] != self.cpu.registers[third_part as usize]){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - if (self.cpu.registers[second_part as usize] != self.cpu.registers[third_part as usize]){ [INFO] [stdout] 141 + if self.cpu.registers[second_part as usize] != self.cpu.registers[third_part as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::audio::AudioSpecDesired` [INFO] [stdout] --> src/components.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::audio::AudioSpecDesired; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/components.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if (self.sound_timer > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (self.sound_timer > 0) { [INFO] [stdout] 25 + if self.sound_timer > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/display.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::LowerHex` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fmt::LowerHex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::libc::rand` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sdl2::libc::rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | if (self.cpu.registers[second_part as usize] == n2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - if (self.cpu.registers[second_part as usize] == n2){ [INFO] [stdout] 82 + if self.cpu.registers[second_part as usize] == n2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | if (self.cpu.registers[second_part as usize] != n2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if (self.cpu.registers[second_part as usize] != n2){ [INFO] [stdout] 87 + if self.cpu.registers[second_part as usize] != n2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | if(self.cpu.registers[second_part as usize] == self.cpu.registers[third_part as usize]){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - if(self.cpu.registers[second_part as usize] == self.cpu.registers[third_part as usize]){ [INFO] [stdout] 92 + if self.cpu.registers[second_part as usize] == self.cpu.registers[third_part as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | if (self.cpu.registers[second_part as usize] != self.cpu.registers[third_part as usize]){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - if (self.cpu.registers[second_part as usize] != self.cpu.registers[third_part as usize]){ [INFO] [stdout] 141 + if self.cpu.registers[second_part as usize] != self.cpu.registers[third_part as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | 12 => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | 13 => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut n3 = (0 | second_part as u16) << 8 | (0 | third_part as u16) << 4 | fourth_part as u16; [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: unused variable: `y` [INFO] [stdout] --> src/main.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | for y in 0..16{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | 12 => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | 13 => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut n3 = (0 | second_part as u16) << 8 | (0 | third_part as u16) << 4 | fourth_part as u16; [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: unused variable: `y` [INFO] [stdout] --> src/main.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | for y in 0..16{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spec` [INFO] [stdout] --> src/main.rs:350:80 [INFO] [stdout] | [INFO] [stdout] 350 | let mut audio_device = audio_system.open_playback(None, &audio_spec, move |spec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spec` [INFO] [stdout] --> src/main.rs:483:84 [INFO] [stdout] | [INFO] [stdout] 483 | audio_device = audio_system.open_playback(None, &audio_spec, move |spec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spec` [INFO] [stdout] --> src/main.rs:350:80 [INFO] [stdout] | [INFO] [stdout] 350 | let mut audio_device = audio_system.open_playback(None, &audio_spec, move |spec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spec` [INFO] [stdout] --> src/main.rs:483:84 [INFO] [stdout] | [INFO] [stdout] 483 | audio_device = audio_system.open_playback(None, &audio_spec, move |spec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | let mut cpu = CPU{ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let mut memory = Memory{ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut stack = Stack{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut display = Display{ [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `real_draw` is never used [INFO] [stdout] --> src/display.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Display{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn real_draw(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | let mut cpu = CPU{ [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let mut memory = Memory{ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | let mut stack = Stack{ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let mut display = Display{ [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `real_draw` is never used [INFO] [stdout] --> src/display.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Display{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn real_draw(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "158800df7553045b8405cc818da1382ea3a96c121e7ef88b4b946029fb2ac434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158800df7553045b8405cc818da1382ea3a96c121e7ef88b4b946029fb2ac434", kill_on_drop: false }` [INFO] [stdout] 158800df7553045b8405cc818da1382ea3a96c121e7ef88b4b946029fb2ac434