[INFO] cloning repository https://github.com/SylvanB/chip8-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SylvanB/chip8-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvanB%2Fchip8-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvanB%2Fchip8-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9701fc5951b94cb655fdcd49d88d606f17fa16ca [INFO] testing SylvanB/chip8-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSylvanB%2Fchip8-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SylvanB/chip8-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SylvanB/chip8-rs [INFO] finished tweaking git repo https://github.com/SylvanB/chip8-rs [INFO] tweaked toml for git repo https://github.com/SylvanB/chip8-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/SylvanB/chip8-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3aa49c1a1ecdd2d30256ab8fba31738dc878e2bd9a70ddb70e58cbbd98dfc86e [INFO] running `Command { std: "docker" "start" "-a" "3aa49c1a1ecdd2d30256ab8fba31738dc878e2bd9a70ddb70e58cbbd98dfc86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aa49c1a1ecdd2d30256ab8fba31738dc878e2bd9a70ddb70e58cbbd98dfc86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa49c1a1ecdd2d30256ab8fba31738dc878e2bd9a70ddb70e58cbbd98dfc86e", kill_on_drop: false }` [INFO] [stdout] 3aa49c1a1ecdd2d30256ab8fba31738dc878e2bd9a70ddb70e58cbbd98dfc86e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e5300c37da07472904b71c9f950c41234cbbbff3a727ac1bf29eda1a07dab66 [INFO] running `Command { std: "docker" "start" "-a" "1e5300c37da07472904b71c9f950c41234cbbbff3a727ac1bf29eda1a07dab66", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling chip8_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/keyboard/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto`, `error::Error` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 4 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{Key, Window}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn update_state(&mut self, keys: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROGRAM_START_OFFSET` [INFO] [stdout] --> src/memory.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const PROGRAM_START_OFFSET: usize = 0x200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ETI_600_PROGRAM_START_OFFSET` [INFO] [stdout] --> src/memory.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) const ETI_600_PROGRAM_START_OFFSET: usize = 0x600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_instruction` [INFO] [stdout] --> src/memory.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn insert_instruction(&mut self, index: usize, ins: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/opcode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/opcode.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/opcode.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn id(&self) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialise` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn initialise() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_current_keydowns` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_current_keydowns(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | window: &'keyboard Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.79s [INFO] running `Command { std: "docker" "inspect" "1e5300c37da07472904b71c9f950c41234cbbbff3a727ac1bf29eda1a07dab66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5300c37da07472904b71c9f950c41234cbbbff3a727ac1bf29eda1a07dab66", kill_on_drop: false }` [INFO] [stdout] 1e5300c37da07472904b71c9f950c41234cbbbff3a727ac1bf29eda1a07dab66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ea27d6dcf2f01a7d37cb9aa42f7bbfcaa10d173ae23979556e97465c5c03260 [INFO] running `Command { std: "docker" "start" "-a" "5ea27d6dcf2f01a7d37cb9aa42f7bbfcaa10d173ae23979556e97465c5c03260", kill_on_drop: false }` [INFO] [stderr] Compiling chip8_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/keyboard/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto`, `error::Error` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 4 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use minifb::{Key, Window}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn update_state(&mut self, keys: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/cpu.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROGRAM_START_OFFSET` [INFO] [stdout] --> src/memory.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const PROGRAM_START_OFFSET: usize = 0x200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ETI_600_PROGRAM_START_OFFSET` [INFO] [stdout] --> src/memory.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) const ETI_600_PROGRAM_START_OFFSET: usize = 0x600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_current_keydowns` [INFO] [stdout] --> src/keyboard/dummy_keyboard.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_current_keydowns(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `window` [INFO] [stdout] --> src/keyboard/minifb_keyboard.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | window: &'keyboard Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.66s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_rs-3598da8599f704b9) [INFO] running `Command { std: "docker" "inspect" "5ea27d6dcf2f01a7d37cb9aa42f7bbfcaa10d173ae23979556e97465c5c03260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea27d6dcf2f01a7d37cb9aa42f7bbfcaa10d173ae23979556e97465c5c03260", kill_on_drop: false }` [INFO] [stdout] 5ea27d6dcf2f01a7d37cb9aa42f7bbfcaa10d173ae23979556e97465c5c03260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a28cbe44909d00cc9371ee71be552ddd2b721a83c2504d453e53d75989b6382d [INFO] running `Command { std: "docker" "start" "-a" "a28cbe44909d00cc9371ee71be552ddd2b721a83c2504d453e53d75989b6382d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stderr] --> src/keyboard/mod.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stderr] --> src/keyboard/dummy_keyboard.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TryFrom`, `TryInto`, `error::Error` [INFO] [stderr] --> src/keyboard/minifb_keyboard.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | convert::{TryFrom, TryInto}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] 4 | error::Error, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Key` [INFO] [stderr] --> src/keyboard/minifb_keyboard.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use minifb::{Key, Window}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keys` [INFO] [stderr] --> src/keyboard/dummy_keyboard.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | fn update_state(&mut self, keys: &[u8]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `execute` [INFO] [stderr] --> src/cpu.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn execute(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PROGRAM_START_OFFSET` [INFO] [stderr] --> src/memory.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) const PROGRAM_START_OFFSET: usize = 0x200; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ETI_600_PROGRAM_START_OFFSET` [INFO] [stderr] --> src/memory.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) const ETI_600_PROGRAM_START_OFFSET: usize = 0x600; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_current_keydowns` [INFO] [stderr] --> src/keyboard/dummy_keyboard.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn get_current_keydowns(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `window` [INFO] [stderr] --> src/keyboard/minifb_keyboard.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | window: &'keyboard Rc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chip8_rs` (bin "chip8_rs" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.77s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chip8_rs-3598da8599f704b9) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test cpu::tests::add ... ok [INFO] [stdout] test cpu::tests::add_i ... ok [INFO] [stdout] test cpu::tests::add_xy_no_carry ... ok [INFO] [stdout] test cpu::tests::add_xy_carry ... ok [INFO] [stdout] test cpu::tests::call ... ok [INFO] [stdout] test cpu::tests::and_xy ... ok [INFO] [stdout] test cpu::tests::cls ... ok [INFO] [stdout] test cpu::tests::jp ... ok [INFO] [stdout] test cpu::tests::jp_v0 ... ok [INFO] [stdout] test cpu::tests::ld_dt ... ok [INFO] [stdout] test cpu::tests::ld_b ... ok [INFO] [stdout] test cpu::tests::ld_f_vx ... ok [INFO] [stdout] test cpu::tests::ld_i ... ok [INFO] [stdout] test cpu::tests::ld_r ... ok [INFO] [stdout] test cpu::tests::ld_vx_k ... ok [INFO] [stdout] test cpu::tests::ld_st ... ok [INFO] [stdout] test cpu::tests::ld_mem_vx_i ... ok [INFO] [stdout] test cpu::tests::ld_xy ... ok [INFO] [stdout] test cpu::tests::ld_vx_dt ... ok [INFO] [stdout] test cpu::tests::ld_mem_i_vx ... ok [INFO] [stdout] test cpu::tests::se_jumps_when_equal ... ok [INFO] [stdout] test cpu::tests::se_r_doesnt_jump_when_not_equal ... ok [INFO] [stdout] test cpu::tests::or_xy_inverse ... ok [INFO] [stdout] test cpu::tests::se_r_jumps_when_equal ... ok [INFO] [stdout] test cpu::tests::or_xy ... ok [INFO] [stdout] test cpu::tests::ret ... ok [INFO] [stdout] test cpu::tests::se_doesnt_jump_when_not_equal ... ok [INFO] [stdout] test cpu::tests::sknp_vx_dont_skip_if_pressed ... ok [INFO] [stdout] test cpu::tests::shr ... ok [INFO] [stdout] test cpu::tests::sknp_vx_skip_if_not_pressed ... ok [INFO] [stdout] test cpu::tests::shr_vf_set_when_odd ... ok [INFO] [stdout] test cpu::tests::sne_doesnt_jump_when_equal ... ok [INFO] [stdout] test cpu::tests::skp_vx_dont_skip_if_not_pressed ... ok [INFO] [stdout] test opcode::tests::should_generate_correct_nnn_value ... ok [INFO] [stdout] test opcode::tests::should_generate_correct_id_value ... ok [INFO] [stdout] test cpu::tests::skp_vx_skip_if_pressed ... ok [INFO] [stdout] test opcode::tests::should_generate_correct_x_value ... ok [INFO] [stdout] test opcode::tests::should_generate_correct_kk_value ... ok [INFO] [stdout] test cpu::tests::drw ... FAILED [INFO] [stdout] test cpu::tests::xor_xy_inverse ... ok [INFO] [stdout] test opcode::tests::should_generate_correct_y_value ... ok [INFO] [stdout] test cpu::tests::sne_xy_skip_when_not_equal ... ok [INFO] [stdout] test cpu::tests::sne_jumps_when_not_equal ... ok [INFO] [stdout] test cpu::tests::sne_xy_dont_skip_when_equal ... ok [INFO] [stdout] test cpu::tests::xor_xy ... ok [INFO] [stdout] test opcode::tests::should_generate_correct_raw_value ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cpu::tests::drw stdout ---- [INFO] [stdout] XXXXXXXX........................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] ................................................................ [INFO] [stdout] thread 'cpu::tests::drw' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `false`, [INFO] [stdout] right: `true`', src/cpu.rs:920:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x558f7f293c2d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x558f7f293c2d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x558f7f293c2d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x558f7f293c2d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x558f7f2b654c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x558f7f2905f1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x558f7f295975 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x558f7f295975 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x558f7f295975 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x558f7f295664 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x558f7f295ec2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x558f7f295da7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x558f7f2940e4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x558f7f295ad9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x558f7f1ef843 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x558f7f2b5118 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x558f7f1f95ea - core::panicking::assert_failed::h27a76c22998ff3d4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x558f7f1f204d - chip8_rs::cpu::tests::drw::he704ffedb8dc1efd [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:920:9 [INFO] [stdout] 18: 0x558f7f1f1eca - chip8_rs::cpu::tests::drw::{{closure}}::h2df001bf89fd8beb [INFO] [stdout] at /opt/rustwide/workdir/src/cpu.rs:910:5 [INFO] [stdout] 19: 0x558f7f1f8a2e - core::ops::function::FnOnce::call_once::hcd5c6162a7304394 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x558f7f231ae3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x558f7f231ae3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x558f7f230899 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x558f7f230899 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x558f7f230899 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x558f7f230899 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x558f7f230899 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x558f7f230899 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x558f7f230899 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x558f7f1fca4e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x558f7f1fca4e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x558f7f201fb8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x558f7f201fb8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x558f7f201fb8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x558f7f201fb8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x558f7f201fb8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x558f7f201fb8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x558f7f201fb8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x558f7f29a6d3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x558f7f29a6d3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x558f7f29a6d3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f8908f46609 - start_thread [INFO] [stdout] 42: 0x7f8908d1a163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cpu::tests::drw [INFO] [stdout] [INFO] [stdout] test result: FAILED. 45 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin chip8_rs' [INFO] running `Command { std: "docker" "inspect" "a28cbe44909d00cc9371ee71be552ddd2b721a83c2504d453e53d75989b6382d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28cbe44909d00cc9371ee71be552ddd2b721a83c2504d453e53d75989b6382d", kill_on_drop: false }` [INFO] [stdout] a28cbe44909d00cc9371ee71be552ddd2b721a83c2504d453e53d75989b6382d