[INFO] cloning repository https://github.com/hahohihu/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hahohihu/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhahohihu%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhahohihu%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96eb5f113ae35db38b98e5f3391f6d0a2a3fc8c2 [INFO] testing hahohihu/chip8 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%2Fhahohihu%2Fchip8" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hahohihu/chip8 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/hahohihu/chip8 [INFO] finished tweaking git repo https://github.com/hahohihu/chip8 [INFO] tweaked toml for git repo https://github.com/hahohihu/chip8 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/hahohihu/chip8 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 18eec08b3d525eff9588c5e59d4b22a9bc8fc55ac8d281f099341c468956b2cd [INFO] running `Command { std: "docker" "start" "-a" "18eec08b3d525eff9588c5e59d4b22a9bc8fc55ac8d281f099341c468956b2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18eec08b3d525eff9588c5e59d4b22a9bc8fc55ac8d281f099341c468956b2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18eec08b3d525eff9588c5e59d4b22a9bc8fc55ac8d281f099341c468956b2cd", kill_on_drop: false }` [INFO] [stdout] 18eec08b3d525eff9588c5e59d4b22a9bc8fc55ac8d281f099341c468956b2cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 4071b110b515c5153b8898c2dcc06c6b71b7541796c7bceb7947f404490476f2 [INFO] running `Command { std: "docker" "start" "-a" "4071b110b515c5153b8898c2dcc06c6b71b7541796c7bceb7947f404490476f2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling profiling v1.0.4 [INFO] [stderr] Compiling glow v0.11.0 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wgpu-types v0.11.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling wgpu-core v0.11.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling gpu-alloc v0.5.2 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling naga v0.7.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wgpu-hal v0.11.4 [INFO] [stderr] Compiling wgpu v0.11.0 [INFO] [stderr] Compiling pixels v0.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit_input_helper v0.10.0 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/chip8.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `display` [INFO] [stdout] --> src/chip8.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let display = Section { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `should_beep` [INFO] [stdout] --> src/chip8.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn should_beep(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.44s [INFO] running `Command { std: "docker" "inspect" "4071b110b515c5153b8898c2dcc06c6b71b7541796c7bceb7947f404490476f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4071b110b515c5153b8898c2dcc06c6b71b7541796c7bceb7947f404490476f2", kill_on_drop: false }` [INFO] [stdout] 4071b110b515c5153b8898c2dcc06c6b71b7541796c7bceb7947f404490476f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 3d31ed4b15a8a630624113bf99aca3a721ca64c3cf0472f430808742dbab21a7 [INFO] running `Command { std: "docker" "start" "-a" "3d31ed4b15a8a630624113bf99aca3a721ca64c3cf0472f430808742dbab21a7", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling naga v0.7.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling wgpu-hal v0.11.4 [INFO] [stderr] Compiling wgpu-core v0.11.2 [INFO] [stderr] Compiling wgpu v0.11.0 [INFO] [stderr] Compiling pixels v0.8.0 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/chip8.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | use rand::prelude::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StdRng` [INFO] [stdout] --> src/chip8.rs:542:27 [INFO] [stdout] | [INFO] [stdout] 542 | let mut rng = StdRng::seed_from_u64(seed); [INFO] [stdout] | ^^^^^^ use of undeclared type `StdRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/chip8.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:465:72 [INFO] [stdout] | [INFO] [stdout] 465 | chip8.execute(Instruction::Draw { x_r: 0, y_r: 0, height: 5 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:469:72 [INFO] [stdout] | [INFO] [stdout] 469 | chip8.execute(Instruction::Draw { x_r: 0, y_r: 0, height: 5 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:479:77 [INFO] [stdout] | [INFO] [stdout] 479 | chip8.execute(Instruction::SetRegister { register: 0, value: 123 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:480:71 [INFO] [stdout] | [INFO] [stdout] 480 | chip8.execute(Instruction::SetIndexRegister { value: 0x400 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:481:66 [INFO] [stdout] | [INFO] [stdout] 481 | chip8.execute(Instruction::RegToDecimal { register: 0 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:485:76 [INFO] [stdout] | [INFO] [stdout] 485 | chip8.execute(Instruction::SetRegister { register: 0, value: 10 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:486:71 [INFO] [stdout] | [INFO] [stdout] 486 | chip8.execute(Instruction::SetIndexRegister { value: 0x400 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:487:66 [INFO] [stdout] | [INFO] [stdout] 487 | chip8.execute(Instruction::RegToDecimal { register: 0 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:500:25 [INFO] [stdout] | [INFO] [stdout] 500 | chip8.cycle(Some(4), now); [INFO] [stdout] | ^^^^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:516:86 [INFO] [stdout] | [INFO] [stdout] 516 | chip8.execute(Instruction::SetRegister { register: r1, value: a as u8 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:518:86 [INFO] [stdout] | [INFO] [stdout] 518 | chip8.execute(Instruction::SetRegister { register: r2, value: b as u8 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:520:86 [INFO] [stdout] | [INFO] [stdout] 520 | chip8.execute(Instruction::MovRegister { register1: r1, register2: r2 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:522:78 [INFO] [stdout] | [INFO] [stdout] 522 | chip8.execute(Instruction::Add { register1: r1, register2: r2 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:533:91 [INFO] [stdout] | [INFO] [stdout] 533 | chip8.execute(Instruction::Draw {x_r: a as u8, y_r: b as u8, height:c as u8}, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/chip8.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 507 | / proptest! { [INFO] [stdout] 508 | | #[test] [INFO] [stdout] 509 | | fn instruction_tests( [INFO] [stdout] 510 | | a in 0..u8::MAX, [INFO] [stdout] ... | [INFO] [stdout] 579 | | } [INFO] [stdout] 580 | | } [INFO] [stdout] | |_____^ cannot infer type for struct `std::ops::Range<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::ops::Range<{integer}>: Strategy` found in the `proptest` crate: [INFO] [stdout] - impl Strategy for std::ops::Range; [INFO] [stdout] - impl Strategy for std::ops::Range; [INFO] [stdout] - impl Strategy for std::ops::Range; [INFO] [stdout] - impl Strategy for std::ops::Range; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `Strategy` for `(std::ops::Range<{integer}>, std::ops::Range<{integer}>, std::ops::Range<{integer}>)` [INFO] [stdout] = note: this error originates in the macro `$crate::proptest_helper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:548:80 [INFO] [stdout] | [INFO] [stdout] 548 | chip8.execute(Instruction::SetRegister { register: i, value }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:551:73 [INFO] [stdout] | [INFO] [stdout] 551 | chip8.execute(Instruction::SetIndexRegister { value: mem }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:553:76 [INFO] [stdout] | [INFO] [stdout] 553 | chip8.execute(Instruction::StoreMemory { register: register }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:556:84 [INFO] [stdout] | [INFO] [stdout] 556 | chip8.execute(Instruction::SetRegister { register: i , value: 0 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:559:75 [INFO] [stdout] | [INFO] [stdout] 559 | chip8.execute(Instruction::LoadMemory { register: register }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:571:81 [INFO] [stdout] | [INFO] [stdout] 571 | chip8.execute(Instruction::SetRegister { register: 0, value: dur }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chip8.rs:572:71 [INFO] [stdout] | [INFO] [stdout] 572 | chip8.execute(Instruction::SetDelayTimer { register: 0 }, None); [INFO] [stdout] | ^^^^ expected array `[bool; 16]`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[bool; 16]` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8` due to 25 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3d31ed4b15a8a630624113bf99aca3a721ca64c3cf0472f430808742dbab21a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d31ed4b15a8a630624113bf99aca3a721ca64c3cf0472f430808742dbab21a7", kill_on_drop: false }` [INFO] [stdout] 3d31ed4b15a8a630624113bf99aca3a721ca64c3cf0472f430808742dbab21a7