[INFO] cloning repository https://github.com/Kangonaut/chip-8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kangonaut/chip-8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKangonaut%2Fchip-8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKangonaut%2Fchip-8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fa4a90de648782fdbed21fc83df87c6e1d10e3b [INFO] checking Kangonaut/chip-8-emulator against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKangonaut%2Fchip-8-emulator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kangonaut/chip-8-emulator 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/Kangonaut/chip-8-emulator [INFO] finished tweaking git repo https://github.com/Kangonaut/chip-8-emulator [INFO] tweaked toml for git repo https://github.com/Kangonaut/chip-8-emulator written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kangonaut/chip-8-emulator 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded confy v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d6c7003c2da0def24c74b801a86343d0a75c76be4e508499e3d176bc85b67b5c [INFO] running `Command { std: "docker" "start" "-a" "d6c7003c2da0def24c74b801a86343d0a75c76be4e508499e3d176bc85b67b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c7003c2da0def24c74b801a86343d0a75c76be4e508499e3d176bc85b67b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c7003c2da0def24c74b801a86343d0a75c76be4e508499e3d176bc85b67b5c", kill_on_drop: false }` [INFO] [stdout] d6c7003c2da0def24c74b801a86343d0a75c76be4e508499e3d176bc85b67b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ebebd91d1312c4d9b7842962da856ae4ffec4998e4b19e41930c70f255d819d7 [INFO] running `Command { std: "docker" "start" "-a" "ebebd91d1312c4d9b7842962da856ae4ffec4998e4b19e41930c70f255d819d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking directories v2.0.2 [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 toml v0.5.9 [INFO] [stderr] Checking confy v0.4.0 [INFO] [stderr] Checking chip-8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; (WIDTH as usize)]; HEIGHT as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; WIDTH as usize]; (HEIGHT as usize)], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; WIDTH as usize]; (HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:75 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; screen::HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:48 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; screen::WIDTH as usize]; (screen::HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/keypad.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] 5 + key_states: [bool; NUM_KEYS as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `confy` is imported redundantly [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use confy; [INFO] [stdout] | ^^^^^ the item `confy` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; (WIDTH as usize)]; HEIGHT as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; WIDTH as usize]; (HEIGHT as usize)], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; WIDTH as usize]; (HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:75 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; screen::HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:48 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; screen::WIDTH as usize]; (screen::HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/keypad.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] 5 + key_states: [bool; NUM_KEYS as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `confy` is imported redundantly [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use confy; [INFO] [stdout] | ^^^^^ the item `confy` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Sdl(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 60 | Sdl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Chip8(chip8::Chip8Error), [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] 61 | Chip8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Config(confy::ConfyError), [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] 62 | Config(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | IO(io::Error), [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] 63 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | InstructionNotImplemented(String), [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] 27 | InstructionNotImplemented(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | MemoryOverflow(String), [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] 28 | MemoryOverflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidFontData(String), [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] 29 | InvalidFontData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chip8.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Chip8 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn load_opcode_into_memory(&mut self, opcode: u16, address: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn load_opcodes_into_memory(&mut self, opcodes: &Vec, mut address: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn load_register(&mut self, reg_id: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 546 | pub fn load_index_reg(&mut self, address: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub fn load_registers(&mut self, values: &[u8; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn print_debug_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Sdl(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 60 | Sdl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Chip8(chip8::Chip8Error), [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] 61 | Chip8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Config(confy::ConfyError), [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] 62 | Config(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | IO(io::Error), [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] 63 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | InstructionNotImplemented(String), [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] 27 | InstructionNotImplemented(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | MemoryOverflow(String), [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] 28 | MemoryOverflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidFontData(String), [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] 29 | InvalidFontData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_state` and `print_debug_info` are never used [INFO] [stdout] --> src/chip8.rs:564:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Chip8 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn print_debug_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.86s [INFO] running `Command { std: "docker" "inspect" "ebebd91d1312c4d9b7842962da856ae4ffec4998e4b19e41930c70f255d819d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebebd91d1312c4d9b7842962da856ae4ffec4998e4b19e41930c70f255d819d7", kill_on_drop: false }` [INFO] [stdout] ebebd91d1312c4d9b7842962da856ae4ffec4998e4b19e41930c70f255d819d7 [INFO] checking Kangonaut/chip-8-emulator against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKangonaut%2Fchip-8-emulator" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kangonaut/chip-8-emulator on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kangonaut/chip-8-emulator [INFO] finished tweaking git repo https://github.com/Kangonaut/chip-8-emulator [INFO] tweaked toml for git repo https://github.com/Kangonaut/chip-8-emulator written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kangonaut/chip-8-emulator 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 579c11cd44315d70673a4b390c98667f739863be5281df2e6d5be282828bb3fd [INFO] running `Command { std: "docker" "start" "-a" "579c11cd44315d70673a4b390c98667f739863be5281df2e6d5be282828bb3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "579c11cd44315d70673a4b390c98667f739863be5281df2e6d5be282828bb3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579c11cd44315d70673a4b390c98667f739863be5281df2e6d5be282828bb3fd", kill_on_drop: false }` [INFO] [stdout] 579c11cd44315d70673a4b390c98667f739863be5281df2e6d5be282828bb3fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aeb40d975c23e43856779f7297d170ad16f33a7844876d2687bb856bf91e518 [INFO] running `Command { std: "docker" "start" "-a" "5aeb40d975c23e43856779f7297d170ad16f33a7844876d2687bb856bf91e518", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking directories v2.0.2 [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 toml v0.5.9 [INFO] [stderr] Checking confy v0.4.0 [INFO] [stderr] Checking chip-8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; (WIDTH as usize)]; HEIGHT as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; WIDTH as usize]; (HEIGHT as usize)], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; WIDTH as usize]; (HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:75 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; screen::HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:48 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; screen::WIDTH as usize]; (screen::HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/keypad.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] 5 + key_states: [bool; NUM_KEYS as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `confy` is imported redundantly [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use confy; [INFO] [stdout] | ^^^^^ the item `confy` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; (WIDTH as usize)]; HEIGHT as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - frame_buffer: [[bool; (WIDTH as usize)]; (HEIGHT as usize)], [INFO] [stdout] 6 + frame_buffer: [[bool; WIDTH as usize]; (HEIGHT as usize)], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/screen.rs:16:48 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn get_frame_buffer(&self) -> &[[bool; (WIDTH as usize)]; (HEIGHT as usize)] { [INFO] [stdout] 16 + pub fn get_frame_buffer(&self) -> &[[bool; WIDTH as usize]; (HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:75 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; screen::HEIGHT as usize] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/chip8.rs:572:48 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 572 - pub fn get_frame_buffer(&self) -> &[[bool; (screen::WIDTH as usize)]; (screen::HEIGHT as usize)] { [INFO] [stdout] 572 + pub fn get_frame_buffer(&self) -> &[[bool; screen::WIDTH as usize]; (screen::HEIGHT as usize)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/keypad.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - key_states: [bool; (NUM_KEYS as usize)], [INFO] [stdout] 5 + key_states: [bool; NUM_KEYS as usize], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `confy` is imported redundantly [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use confy; [INFO] [stdout] | ^^^^^ the item `confy` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Sdl(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 60 | Sdl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Chip8(chip8::Chip8Error), [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] 61 | Chip8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Config(confy::ConfyError), [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] 62 | Config(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | IO(io::Error), [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] 63 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | InstructionNotImplemented(String), [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] 27 | InstructionNotImplemented(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | MemoryOverflow(String), [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] 28 | MemoryOverflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidFontData(String), [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] 29 | InvalidFontData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/chip8.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Chip8 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn load_opcode_into_memory(&mut self, opcode: u16, address: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn load_opcodes_into_memory(&mut self, opcodes: &Vec, mut address: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn load_register(&mut self, reg_id: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 546 | pub fn load_index_reg(&mut self, address: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub fn load_registers(&mut self, values: &[u8; 16]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn print_debug_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Sdl(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 60 | Sdl(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Chip8(chip8::Chip8Error), [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] 61 | Chip8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | Config(confy::ConfyError), [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] 62 | Config(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | IO(io::Error), [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] 63 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | InstructionNotImplemented(String), [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] 27 | InstructionNotImplemented(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | MemoryOverflow(String), [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] 28 | MemoryOverflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chip8.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | InvalidFontData(String), [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] 29 | InvalidFontData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_state` and `print_debug_info` are never used [INFO] [stdout] --> src/chip8.rs:564:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Chip8 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn print_debug_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.57s [INFO] running `Command { std: "docker" "inspect" "5aeb40d975c23e43856779f7297d170ad16f33a7844876d2687bb856bf91e518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aeb40d975c23e43856779f7297d170ad16f33a7844876d2687bb856bf91e518", kill_on_drop: false }` [INFO] [stdout] 5aeb40d975c23e43856779f7297d170ad16f33a7844876d2687bb856bf91e518