[INFO] cloning repository https://github.com/nmp2605/chip8rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nmp2605/chip8rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmp2605%2Fchip8rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmp2605%2Fchip8rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef4f58b07a839cdaae83706beb7e9ebd6530d3bb [INFO] testing nmp2605/chip8rs 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%2Fnmp2605%2Fchip8rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nmp2605/chip8rs [INFO] finished tweaking git repo https://github.com/nmp2605/chip8rs [INFO] tweaked toml for git repo https://github.com/nmp2605/chip8rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nmp2605/chip8rs 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/nmp2605/chip8rs 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall_double v0.3.0 [INFO] [stderr] Downloaded mockall v0.11.0 [INFO] [stderr] Downloaded mockall_derive v0.11.0 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded test-case v2.0.2 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2288d23ee3f52e7e440377ff871e7aae90eab29c5815349c97c6a8731dca81f3 [INFO] running `Command { std: "docker" "start" "-a" "2288d23ee3f52e7e440377ff871e7aae90eab29c5815349c97c6a8731dca81f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2288d23ee3f52e7e440377ff871e7aae90eab29c5815349c97c6a8731dca81f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2288d23ee3f52e7e440377ff871e7aae90eab29c5815349c97c6a8731dca81f3", kill_on_drop: false }` [INFO] [stdout] 2288d23ee3f52e7e440377ff871e7aae90eab29c5815349c97c6a8731dca81f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 47fa77ddca46f52a159e2932d20b2edd66ba370efdf0ae196cac850299778674 [INFO] running `Command { std: "docker" "start" "-a" "47fa77ddca46f52a159e2932d20b2edd66ba370efdf0ae196cac850299778674", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling mockall_double v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling chip8rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/interface.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyRepeat` and `Key` [INFO] [stdout] --> src/interface.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use minifb::{Window, WindowOptions, KeyRepeat, Key}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/motherboard.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sound_timer` is never used [INFO] [stdout] --> src/cpu.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn get_sound_timer(&self) -> u8 { [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 39.05s [INFO] running `Command { std: "docker" "inspect" "47fa77ddca46f52a159e2932d20b2edd66ba370efdf0ae196cac850299778674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47fa77ddca46f52a159e2932d20b2edd66ba370efdf0ae196cac850299778674", kill_on_drop: false }` [INFO] [stdout] 47fa77ddca46f52a159e2932d20b2edd66ba370efdf0ae196cac850299778674 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 018c58c865dbf236e642a54fc4ba377183c7f6cfbf3d5ed29cfda7d92254ddd4 [INFO] running `Command { std: "docker" "start" "-a" "018c58c865dbf236e642a54fc4ba377183c7f6cfbf3d5ed29cfda7d92254ddd4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling fragile v1.2.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Compiling test-case v2.0.2 [INFO] [stderr] Compiling mockall_double v0.3.0 [INFO] [stderr] Compiling mockall v0.11.0 [INFO] [stderr] Compiling chip8rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/interface.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyRepeat` and `Key` [INFO] [stdout] --> src/interface.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use minifb::{Window, WindowOptions, KeyRepeat, Key}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/motherboard.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interface` is never constructed [INFO] [stdout] --> src/interface.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Interface { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interface.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interface { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub const TITLE: &'static str = "Chip-8"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub const WIDTH: usize = 64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub const HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub const BLACK: u32 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | pub const WHITE: u32 = 16777215; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn initialize() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn window_is_open(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn refresh(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn draw_pixel(&mut self, state: bool, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_pressed(&self, key_code: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn is_not_pressed(&self, key_code: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_pressed_key(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.04s [INFO] running `Command { std: "docker" "inspect" "018c58c865dbf236e642a54fc4ba377183c7f6cfbf3d5ed29cfda7d92254ddd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018c58c865dbf236e642a54fc4ba377183c7f6cfbf3d5ed29cfda7d92254ddd4", kill_on_drop: false }` [INFO] [stdout] 018c58c865dbf236e642a54fc4ba377183c7f6cfbf3d5ed29cfda7d92254ddd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 37b62fe83adc77dda659b1d7e6ff2ebbfcf683241f57c5797fe2451beb45d118 [INFO] running `Command { std: "docker" "start" "-a" "37b62fe83adc77dda659b1d7e6ff2ebbfcf683241f57c5797fe2451beb45d118", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/interface.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `KeyRepeat` and `Key` [INFO] [stderr] --> src/interface.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | use minifb::{Window, WindowOptions, KeyRepeat, Key}; [INFO] [stderr] | ^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `thread` and `time` [INFO] [stderr] --> src/motherboard.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{thread, time}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Interface` is never constructed [INFO] [stderr] --> src/interface.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Interface { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/interface.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 17 | impl Interface { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 18 | pub const TITLE: &'static str = "Chip-8"; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 19 | pub const WIDTH: usize = 64; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 20 | pub const HEIGHT: usize = 32; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 21 | pub const BLACK: u32 = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | pub const WHITE: u32 = 16777215; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 23 | [INFO] [stderr] 24 | pub fn initialize() -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn window_is_open(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn refresh(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn draw_pixel(&mut self, state: bool, x: usize, y: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn is_pressed(&self, key_code: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn is_not_pressed(&self, key_code: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn get_pressed_key(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chip8rs` (bin "chip8rs" test) generated 5 warnings (run `cargo fix --bin "chip8rs" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/chip8rs-2342b15c937636f2) [INFO] [stdout] [INFO] [stdout] running 96 tests [INFO] [stdout] test cpu::tests::it_should_decrease_the_program_counter ... ok [INFO] [stdout] test cpu::tests::it_should_get_a_value_from_the_program_counter ... ok [INFO] [stdout] test cpu::tests::it_should_initialize_the_cpu ... ok [INFO] [stdout] test cpu::tests::it_should_decrease_timers_on_tick ... ok [INFO] [stdout] test cpu::tests::it_should_increase_the_program_counter ... ok [INFO] [stdout] test cpu::tests::it_should_pop_from_another_position ... ok [INFO] [stdout] test cpu::tests::it_should_push_to_an_empty_stack ... ok [INFO] [stdout] test cpu::tests::it_should_push_to_an_initiated_stack ... ok [INFO] [stdout] test cpu::tests::it_should_read_a_value_from_a_v_register ... ok [INFO] [stdout] test cpu::tests::it_should_pop_from_the_last_position ... ok [INFO] [stdout] test cpu::tests::it_should_read_a_value_from_the_i_register ... ok [INFO] [stdout] test cpu::tests::it_should_read_a_value_from_the_sound_timer ... ok [INFO] [stdout] test cpu::tests::it_should_set_a_value_to_a_v_register ... ok [INFO] [stdout] test cpu::tests::it_should_read_a_value_from_the_delay_timer ... ok [INFO] [stdout] test cpu::tests::it_should_set_a_value_to_the_delay_timer ... ok [INFO] [stdout] test cpu::tests::it_should_set_a_value_to_the_i_register ... ok [INFO] [stdout] test cpu::tests::it_should_set_a_value_to_the_program_counter ... ok [INFO] [stdout] test cpu::tests::it_should_set_a_value_to_the_sound_timer ... ok [INFO] [stdout] test instruction::tests::it_should_add_argument_value_to_v_register::with_overflow ... ok [INFO] [stdout] test instruction::tests::it_should_add_v_register_value_to_i_register_value::with_overflow ... ok [INFO] [stdout] test instruction::tests::it_should_add_argument_value_to_v_register::without_overflow ... ok [INFO] [stdout] test instruction::tests::it_should_draw_byte_sprite_starting_at_location_i_on_register_stored_location_cutting_extra_bits ... ok [INFO] [stdout] test instruction::tests::it_should_draw_byte_sprite_starting_at_location_i_on_register_stored_location_wrapping_the_width ... ok [INFO] [stdout] test instruction::tests::it_should_draw_byte_sprite_starting_at_location_i_on_register_stored_location_without_collisions ... ok [INFO] [stdout] test instruction::tests::it_should_clear_the_display ... ok [INFO] [stdout] test instruction::tests::it_should_initialize_the_instruction ... ok [INFO] [stdout] test instruction::tests::it_should_draw_byte_sprite_starting_at_location_i_on_register_stored_location_with_collisions ... ok [INFO] [stdout] test instruction::tests::it_should_call_subroutine_at_address ... ok [INFO] [stdout] test instruction::tests::it_should_add_v_register_value_to_i_register_value::without_overflow ... ok [INFO] [stdout] test instruction::tests::it_should_jump_to_argument_value_plus_v0 ... ok [INFO] [stdout] test instruction::tests::it_should_jump_to_address ... ok [INFO] [stdout] test instruction::tests::it_should_draw_byte_sprite_starting_at_location_i_on_register_stored_location_with_multiple_height_values ... ok [INFO] [stdout] test instruction::tests::it_should_put_delay_timer_value_on_v_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_argument_value_on_i_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_0_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_argument_value_on_v_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_1_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_bcd_representation_of_v_register_in_memory_locations_starting_on_i_register_location ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_3_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_4_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_d_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_6_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_5_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_7_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_c_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_8_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_b_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_9_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_a_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_e_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_shift_right_operation_between_v_registers_on_first_passed_register::with_0_on_least_significant_bit ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_xor_operation_between_v_registers_on_first_passed_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_2_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_location_of_sprite_for_v_register_digit_on_i_register::with_a_f_sprite ... ok [INFO] [stdout] test instruction::tests::it_should_put_v_register_value_on_delay_timer ... ok [INFO] [stdout] test instruction::tests::it_should_put_v_register_value_on_other_v_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_v_register_value_on_sound_timer ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_and_operation_between_v_registers_on_first_passed_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_or_operation_between_argument_and_random_byte_on_passed_v_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_or_operation_between_v_registers_on_first_passed_register ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_shift_left_operation_between_v_registers_on_first_passed_register::with_0_on_most_significant_bit ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_shift_left_operation_between_v_registers_on_first_passed_register::with_1_on_most_significant_bit ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_inverted_subtraction_operation_between_v_registers_on_first_passed_register::without_underflow ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_subtraction_operation_between_v_registers_on_first_passed_register::without_underflow ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_sum_operation_between_v_registers_on_first_passed_register::with_overflow ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_bitwise_shift_right_operation_between_v_registers_on_first_passed_register::with_1_on_least_significant_bit ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_subtraction_operation_between_v_registers_on_first_passed_register::with_underflow ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_sum_operation_between_v_registers_on_first_passed_register::without_overflow ... ok [INFO] [stdout] test instruction::tests::it_should_put_values_of_v_registers_from_v0_to_passed_v_register_in_memory_starting_on_i_register_location ... ok [INFO] [stdout] test instruction::tests::it_should_return_from_subroutine ... ok [INFO] [stdout] test instruction::tests::it_should_put_values_on_v_registers_from_v0_to_passed_v_register_from_memory_starting_on_i_register_location ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_argument_equals_v_register_value::with_different_values ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_argument_differs_v_register_value::with_different_values ... ok [INFO] [stdout] test instruction::tests::it_should_put_value_of_inverted_subtraction_operation_between_v_registers_on_first_passed_register::with_underflow ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_argument_differs_v_register_value::with_the_same_value ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_argument_equals_v_register_value::with_the_same_value ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_key_with_v_register_value_is_not_pressed::without_key_press ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_key_with_v_register_value_is_not_pressed::with_key_press ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_key_with_v_register_value_is_pressed::with_key_press ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_v_registers_values_are_different::with_the_same_value ... ok [INFO] [stdout] test instruction::tests::it_should_wait_for_key_press_and_store_value_on_v_register_with_a_key_press ... ok [INFO] [stdout] test keyboard::tests::it_should_get_a_key ... ok [INFO] [stdout] test keyboard::tests::it_should_get_the_keys ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_v_registers_values_are_different::with_different_values ... ok [INFO] [stdout] test keyboard::tests::it_should_initialize_the_keyboard ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_key_with_v_register_value_is_pressed::without_key_press ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_v_registers_values_are_the_same::with_the_same_value ... ok [INFO] [stdout] test instruction::tests::it_should_skip_next_instruction_if_v_registers_values_are_the_same::with_different_values ... ok [INFO] [stdout] test instruction::tests::it_should_wait_for_key_press_and_store_value_on_v_register_without_a_key_press ... ok [INFO] [stdout] test memory::tests::it_should_get_a_byte ... ok [INFO] [stdout] test memory::tests::it_should_initialize_the_memory ... ok [INFO] [stdout] test memory::tests::it_should_set_a_byte ... ok [INFO] [stdout] test memory::tests::it_should_set_the_font ... ok [INFO] [stdout] test memory::tests::it_should_store_a_program ... ok [INFO] [stdout] test cpu::tests::it_should_fail_to_pop_from_an_empty_stack - should panic ... ok [INFO] [stdout] test cpu::tests::it_should_fail_to_push_to_the_stack_if_it_is_overflowing - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 96 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "37b62fe83adc77dda659b1d7e6ff2ebbfcf683241f57c5797fe2451beb45d118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b62fe83adc77dda659b1d7e6ff2ebbfcf683241f57c5797fe2451beb45d118", kill_on_drop: false }` [INFO] [stdout] 37b62fe83adc77dda659b1d7e6ff2ebbfcf683241f57c5797fe2451beb45d118