[INFO] cloning repository https://github.com/anujgtm1/Chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anujgtm1/Chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujgtm1%2FChip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujgtm1%2FChip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2c400376120f4acce13b93c139db58588121c48 [INFO] testing anujgtm1/Chip8 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanujgtm1%2FChip8" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anujgtm1/Chip8 [INFO] finished tweaking git repo https://github.com/anujgtm1/Chip8 [INFO] tweaked toml for git repo https://github.com/anujgtm1/Chip8 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anujgtm1/Chip8 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anujgtm1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded crossterm_winapi v0.6.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded signal-hook v0.1.15 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded tui v0.9.4 [INFO] [stderr] Downloaded crossterm v0.17.4 [INFO] [stderr] Downloaded sdl2 v0.34.0 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded sdl2-sys v0.34.0 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1b47c56a0ddfb05b14595874110d6a4f49676392d6713ef4601d848f562303c [INFO] running `Command { std: "docker" "start" "-a" "f1b47c56a0ddfb05b14595874110d6a4f49676392d6713ef4601d848f562303c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1b47c56a0ddfb05b14595874110d6a4f49676392d6713ef4601d848f562303c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1b47c56a0ddfb05b14595874110d6a4f49676392d6713ef4601d848f562303c", kill_on_drop: false }` [INFO] [stdout] f1b47c56a0ddfb05b14595874110d6a4f49676392d6713ef4601d848f562303c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8f8f7da8c1cc96800d1867f7ee0baca63a85cad8e2eb2eb0c5f724a210438ebe [INFO] running `Command { std: "docker" "start" "-a" "8f8f7da8c1cc96800d1867f7ee0baca63a85cad8e2eb2eb0c5f724a210438ebe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling sdl2 v0.34.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling signal-hook v0.1.15 [INFO] [stderr] Compiling crossterm v0.17.4 [INFO] [stderr] Compiling tui v0.9.4 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `Event as CEvent`, `KeyCode`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute`, and `self` [INFO] [stdout] --> src/debug.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event as CEvent, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Widget` [INFO] [stdout] --> src/debug.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/debug.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_START` is never used [INFO] [stdout] --> src/memory.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | static FONT_START: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_SIZE` is never used [INFO] [stdout] --> src/memory.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static FONT_SIZE: u8 = 5; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/memory.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn mock() -> Memory { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn read(&self, address: &u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn write(&mut self, address: &u16, data: &u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn load_fonts(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load_data(&mut self, start_address: &u16, data: &Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_font_address(&self, font: &u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn read_instruction(&self, address: &u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_SET` is never used [INFO] [stdout] --> src/memory.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | static FONT_SET: [u8; 80] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGISTER_SIZE` is never used [INFO] [stdout] --> src/cpu.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const REGISTER_SIZE: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STACK_SIZE` is never used [INFO] [stdout] --> src/cpu.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const STACK_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(bus: Bus) -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn mock() -> CPU { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn fetch_opcode(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn decode(&self, opcode: u16) -> Instruction { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn inc_pc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_pc(&mut self, pc: &u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_register(&self, register: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn set_register(&mut self, register: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn execute_opcode(&mut self, ins: Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bus` is never constructed [INFO] [stdout] --> src/bus.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mock` and `new` are never used [INFO] [stdout] --> src/bus.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bus { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 17 | [INFO] [stdout] 18 | pub fn mock() -> Bus { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new() -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crossterm_terminal` is never used [INFO] [stdout] --> src/debug.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crossterm_terminal() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graphics` is never constructed [INFO] [stdout] --> src/graphics.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Graphics { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `mock` are never used [INFO] [stdout] --> src/graphics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Graphics { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn new() -> Graphics { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn mock() -> Graphics { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdl_demo` is never used [INFO] [stdout] --> src/graphics.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sdl_demo() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/input.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `mock` are never used [INFO] [stdout] --> src/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Input { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 6 | pub fn new() -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn mock() -> Input { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sound` is never constructed [INFO] [stdout] --> src/sound.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Sound { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `mock` and `new` are never used [INFO] [stdout] --> src/sound.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Sound { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 6 | [INFO] [stdout] 7 | pub fn mock() -> Sound { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn new() -> Sound { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/instructions.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/instructions.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type HalfWord = u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_nibble` is never used [INFO] [stdout] --> src/instructions.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_first_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_second_nibble` is never used [INFO] [stdout] --> src/instructions.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_second_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_third_nibble` is never used [INFO] [stdout] --> src/instructions.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_third_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_nibble` is never used [INFO] [stdout] --> src/instructions.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_last_nibble(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_byte` is never used [INFO] [stdout] --> src/instructions.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_last_byte(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_byte` is never used [INFO] [stdout] --> src/instructions.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_first_byte(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_last_3_nibbles` is never used [INFO] [stdout] --> src/instructions.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_last_3_nibbles(value: &u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_opcode` is never used [INFO] [stdout] --> src/instructions.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 75 | pub fn fetch_opcode(word: &u16) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub I : u16, // Special register used to store addresses [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub VF: u8, // Flag Register [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub PC: u16, // Program Counter [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub SP: usize, // Stack Pointer [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DT` should have a snake case name [INFO] [stdout] --> src/cpu.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ST` should have a snake case name [INFO] [stdout] --> src/cpu.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.62s [INFO] running `Command { std: "docker" "inspect" "8f8f7da8c1cc96800d1867f7ee0baca63a85cad8e2eb2eb0c5f724a210438ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8f7da8c1cc96800d1867f7ee0baca63a85cad8e2eb2eb0c5f724a210438ebe", kill_on_drop: false }` [INFO] [stdout] 8f8f7da8c1cc96800d1867f7ee0baca63a85cad8e2eb2eb0c5f724a210438ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bce9f16a45ac4217d754d0fac927a1cc8ea3f92aaecb1d71a06d314550772c24 [INFO] running `Command { std: "docker" "start" "-a" "bce9f16a45ac4217d754d0fac927a1cc8ea3f92aaecb1d71a06d314550772c24", kill_on_drop: false }` [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `Event as CEvent`, `KeyCode`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute`, and `self` [INFO] [stdout] --> src/debug.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, Event as CEvent, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Widget` [INFO] [stdout] --> src/debug.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/debug.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `DT` and `ST` are never read [INFO] [stdout] --> src/cpu.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `graphics`, and `sound` are never read [INFO] [stdout] --> src/bus.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bus { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub input: Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub graphics: Graphics, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub sound: Sound, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bus.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bus { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new() -> Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crossterm_terminal` is never used [INFO] [stdout] --> src/debug.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn crossterm_terminal() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graphics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Graphics { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Graphics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sdl_demo` is never used [INFO] [stdout] --> src/graphics.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn sdl_demo() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Input { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 6 | pub fn new() -> Input { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sound.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Sound { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn new() -> Sound { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Address` is never used [INFO] [stdout] --> src/instructions.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | type Address = u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HalfWord` is never used [INFO] [stdout] --> src/instructions.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | type HalfWord = u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_first_byte` is never used [INFO] [stdout] --> src/instructions.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_first_byte(value: &u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `I` should have a snake case name [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub I : u16, // Special register used to store addresses [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VF` should have a snake case name [INFO] [stdout] --> src/cpu.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub VF: u8, // Flag Register [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `vf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PC` should have a snake case name [INFO] [stdout] --> src/cpu.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub PC: u16, // Program Counter [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SP` should have a snake case name [INFO] [stdout] --> src/cpu.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub SP: usize, // Stack Pointer [INFO] [stdout] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DT` should have a snake case name [INFO] [stdout] --> src/cpu.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stdout] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ST` should have a snake case name [INFO] [stdout] --> src/cpu.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "bce9f16a45ac4217d754d0fac927a1cc8ea3f92aaecb1d71a06d314550772c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce9f16a45ac4217d754d0fac927a1cc8ea3f92aaecb1d71a06d314550772c24", kill_on_drop: false }` [INFO] [stdout] bce9f16a45ac4217d754d0fac927a1cc8ea3f92aaecb1d71a06d314550772c24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 66dbb58477a72cb52784d6816cebe1f07e00326f2f3f98d6e4c03793771d643d [INFO] running `Command { std: "docker" "start" "-a" "66dbb58477a72cb52784d6816cebe1f07e00326f2f3f98d6e4c03793771d643d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::io::Error` [INFO] [stderr] --> src/cpu.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EnterAlternateScreen`, `Event as CEvent`, `KeyCode`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute`, and `self` [INFO] [stderr] --> src/debug.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | event::{self, Event as CEvent, KeyCode}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] 6 | execute, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 7 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Widget` [INFO] [stderr] --> src/debug.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stderr] --> src/debug.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `DT` and `ST` are never read [INFO] [stderr] --> src/cpu.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 9 | struct CPU { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stderr] | ^^ [INFO] [stderr] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `input`, `graphics`, and `sound` are never read [INFO] [stderr] --> src/bus.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Bus { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub input: Input, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | [INFO] [stderr] 11 | pub graphics: Graphics, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | [INFO] [stderr] 13 | pub sound: Sound, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/bus.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Bus { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn new() -> Bus { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `crossterm_terminal` is never used [INFO] [stderr] --> src/debug.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn crossterm_terminal() -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/graphics.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Graphics { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 12 | pub fn new() -> Graphics { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sdl_demo` is never used [INFO] [stderr] --> src/graphics.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn sdl_demo() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/input.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 5 | impl Input { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 6 | pub fn new() -> Input { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/sound.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 5 | impl Sound { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 11 | pub fn new() -> Sound { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Address` is never used [INFO] [stderr] --> src/instructions.rs:1:6 [INFO] [stderr] | [INFO] [stderr] 1 | type Address = u16; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `HalfWord` is never used [INFO] [stderr] --> src/instructions.rs:2:6 [INFO] [stderr] | [INFO] [stderr] 2 | type HalfWord = u8; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_first_byte` is never used [INFO] [stderr] --> src/instructions.rs:65:4 [INFO] [stderr] | [INFO] [stderr] 65 | fn get_first_byte(value: &u16) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `I` should have a snake case name [INFO] [stderr] --> src/cpu.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub I : u16, // Special register used to store addresses [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `VF` should have a snake case name [INFO] [stderr] --> src/cpu.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub VF: u8, // Flag Register [INFO] [stderr] | ^^ help: convert the identifier to snake case (notice the capitalization): `vf` [INFO] [stderr] [INFO] [stderr] warning: structure field `PC` should have a snake case name [INFO] [stderr] --> src/cpu.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub PC: u16, // Program Counter [INFO] [stderr] | ^^ help: convert the identifier to snake case: `pc` [INFO] [stderr] [INFO] [stderr] warning: structure field `SP` should have a snake case name [INFO] [stderr] --> src/cpu.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub SP: usize, // Stack Pointer [INFO] [stderr] | ^^ help: convert the identifier to snake case: `sp` [INFO] [stderr] [INFO] [stderr] warning: structure field `DT` should have a snake case name [INFO] [stderr] --> src/cpu.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub DT: u8, // Delay Timer (Automatically decremented at a rate of 60Hz if set) [INFO] [stderr] | ^^ help: convert the identifier to snake case: `dt` [INFO] [stderr] [INFO] [stderr] warning: structure field `ST` should have a snake case name [INFO] [stderr] --> src/cpu.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub ST: u8, // Sound Timer (Automatically decremented at a rate of 60Hz if set) Buzzer will soudn if ST > 0 [INFO] [stderr] | ^^ help: convert the identifier to snake case: `st` [INFO] [stderr] [INFO] [stderr] warning: `chip8` (bin "chip8" test) generated 21 warnings (run `cargo fix --bin "chip8" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/chip8-f08728d38fb1c0c6) [INFO] [stdout] [INFO] [stdout] running 66 tests [INFO] [stdout] test cpu::test::test_add_to_register ... ok [INFO] [stdout] test cpu::test::test_call ... ok [INFO] [stdout] test cpu::test::test_load_register ... ok [INFO] [stdout] test cpu::test::test_nop ... ok [INFO] [stdout] test cpu::test::test_jump_to_location_and_offset ... ok [INFO] [stdout] test cpu::test::test_fetch_opcode ... ok [INFO] [stdout] test cpu::test::test_return ... ok [INFO] [stdout] test cpu::test::test_or_reg_reg ... ok [INFO] [stdout] test cpu::test::test_set_address_register ... ok [INFO] [stdout] test cpu::test::test_shl ... ok [INFO] [stdout] test cpu::test::test_set_reg_to_reg ... ok [INFO] [stdout] test cpu::test::test_skip_if_equal ... ok [INFO] [stdout] test cpu::test::test_jump ... ok [INFO] [stdout] test cpu::test::test_shr ... ok [INFO] [stdout] test cpu::test::test_skip_if_not_equal ... ok [INFO] [stdout] test cpu::test::test_skip_if_registers_equal ... ok [INFO] [stdout] test cpu::test::test_skip_if_registers_not_equal ... ok [INFO] [stdout] test cpu::test::test_fetch_decode ... ok [INFO] [stdout] test cpu::test::test_sub_reg_reg ... ok [INFO] [stdout] test cpu::test::test_skip_invalid_instruction ... ok [INFO] [stdout] test cpu::test::test_sub_reg_reg_inv ... ok [INFO] [stdout] test cpu::test::test_xor_reg_reg ... ok [INFO] [stdout] test cpu::test::test_and_reg_reg ... ok [INFO] [stdout] test instructions::test::test_add_register ... ok [INFO] [stdout] test instructions::test::test_add_register_register ... ok [INFO] [stdout] test instructions::test::test_fetch_clear_display ... ok [INFO] [stdout] test instructions::test::test_get_font_value ... ok [INFO] [stdout] test instructions::test::test_get_nibble ... ok [INFO] [stdout] test instructions::test::test_invalid_instruction ... ok [INFO] [stdout] test instructions::test::test_call ... ok [INFO] [stdout] test instructions::test::test_jump_to_location ... ok [INFO] [stdout] test instructions::test::test_jump_to_location_offset ... ok [INFO] [stdout] test instructions::test::test_add_register_to_i ... ok [INFO] [stdout] test instructions::test::test_and_register ... ok [INFO] [stdout] test instructions::test::test_load_register ... ok [INFO] [stdout] test instructions::test::test_load_n_registers ... ok [INFO] [stdout] test instructions::test::test_or_register ... ok [INFO] [stdout] test instructions::test::test_load_register_to_register ... ok [INFO] [stdout] test instructions::test::test_nop ... ok [INFO] [stdout] test instructions::test::test_random_byte ... ok [INFO] [stdout] test instructions::test::test_return ... ok [INFO] [stdout] test instructions::test::test_set_address_register ... ok [INFO] [stdout] test instructions::test::test_set_st_to_register ... ok [INFO] [stdout] test instructions::test::test_load_dt_to_register ... ok [INFO] [stdout] test instructions::test::test_shl ... ok [INFO] [stdout] test instructions::test::test_skip_if_key_value_match ... ok [INFO] [stdout] test instructions::test::test_skip_if_not_key_value_match ... ok [INFO] [stdout] test instructions::test::test_skip_if_register_not_equal ... ok [INFO] [stdout] test instructions::test::test_store_n_registers ... ok [INFO] [stdout] test instructions::test::test_set_dt_to_register ... ok [INFO] [stdout] test instructions::test::test_shr ... ok [INFO] [stdout] test instructions::test::test_skip_if_register_equal ... ok [INFO] [stdout] test instructions::test::test_skip_if_not_equal ... ok [INFO] [stdout] test instructions::test::test_store_bcd_to_i ... ok [INFO] [stdout] test instructions::test::test_sub_register_register ... ok [INFO] [stdout] test instructions::test::test_skip_if_equal ... ok [INFO] [stdout] test instructions::test::test_sub_register_register_inverse ... ok [INFO] [stdout] test instructions::test::test_wait_for_key_press ... ok [INFO] [stdout] test instructions::test::test_xor_register ... ok [INFO] [stdout] test memory::test::test_font_address ... ok [INFO] [stdout] test memory::test::test_font_load ... ok [INFO] [stdout] test instructions::test::test_draw_sprite ... ok [INFO] [stdout] test cpu::test::test_add_reg_reg ... ok [INFO] [stdout] test memory::test::test_load_data ... ok [INFO] [stdout] test memory::test::test_read_instruction ... ok [INFO] [stdout] test memory::test::test_write_read_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66dbb58477a72cb52784d6816cebe1f07e00326f2f3f98d6e4c03793771d643d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66dbb58477a72cb52784d6816cebe1f07e00326f2f3f98d6e4c03793771d643d", kill_on_drop: false }` [INFO] [stdout] 66dbb58477a72cb52784d6816cebe1f07e00326f2f3f98d6e4c03793771d643d