[INFO] cloning repository https://github.com/Firfi/chip8-rust-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Firfi/chip8-rust-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Fchip8-rust-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Fchip8-rust-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8b309c1892292f83fdd9c582e605e235bb1d1c9 [INFO] testing Firfi/chip8-rust-wasm against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Fchip8-rust-wasm" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Firfi/chip8-rust-wasm on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Firfi/chip8-rust-wasm [INFO] finished tweaking git repo https://github.com/Firfi/chip8-rust-wasm [INFO] tweaked toml for git repo https://github.com/Firfi/chip8-rust-wasm written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Firfi/chip8-rust-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall v0.10.1 [INFO] [stderr] Downloaded mockall_derive v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc6e37e321beb7ab3a94fade3122b68cbea8381d315db66994e2639d70e58d68 [INFO] running `Command { std: "docker" "start" "-a" "bc6e37e321beb7ab3a94fade3122b68cbea8381d315db66994e2639d70e58d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc6e37e321beb7ab3a94fade3122b68cbea8381d315db66994e2639d70e58d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6e37e321beb7ab3a94fade3122b68cbea8381d315db66994e2639d70e58d68", kill_on_drop: false }` [INFO] [stdout] bc6e37e321beb7ab3a94fade3122b68cbea8381d315db66994e2639d70e58d68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35f40621f2afc40272cc65150d5f1103b56514dafa21e2470b9a6d7f5e5f14b8 [INFO] running `Command { std: "docker" "start" "-a" "35f40621f2afc40272cc65150d5f1103b56514dafa21e2470b9a6d7f5e5f14b8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling ux v0.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling mockall_derive v0.10.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling mockall v0.10.1 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling rust-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DT`, `MemValue`, `PC`, `SP` [INFO] [stdout] --> src/cpu_instructions.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cpu::{CPUState, I, V, PC, SP, DT, MemValue}; [INFO] [stdout] | ^^ ^^ ^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu_instructions.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | state.pc.0 = (nnn.0.wrapping_add(u12::new(state.v[0].0 as u16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.80s [INFO] running `Command { std: "docker" "inspect" "35f40621f2afc40272cc65150d5f1103b56514dafa21e2470b9a6d7f5e5f14b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f40621f2afc40272cc65150d5f1103b56514dafa21e2470b9a6d7f5e5f14b8", kill_on_drop: false }` [INFO] [stdout] 35f40621f2afc40272cc65150d5f1103b56514dafa21e2470b9a6d7f5e5f14b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e38049c64a051e55556f7128b1f8d753f0055d837cc7770d4e86fc1ed7c43f8 [INFO] running `Command { std: "docker" "start" "-a" "7e38049c64a051e55556f7128b1f8d753f0055d837cc7770d4e86fc1ed7c43f8", kill_on_drop: false }` [INFO] [stderr] Compiling rust-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu_instructions.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | state.pc.0 = (nnn.0.wrapping_add(u12::new(state.v[0].0 as u16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:741:31 [INFO] [stdout] | [INFO] [stdout] 741 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:787:31 [INFO] [stdout] | [INFO] [stdout] 787 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:891:31 [INFO] [stdout] | [INFO] [stdout] 891 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:926:31 [INFO] [stdout] | [INFO] [stdout] 926 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:969:31 [INFO] [stdout] | [INFO] [stdout] 969 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1012:31 [INFO] [stdout] | [INFO] [stdout] 1012 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1051:31 [INFO] [stdout] | [INFO] [stdout] 1051 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1089:31 [INFO] [stdout] | [INFO] [stdout] 1089 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/cpu_instructions.rs:1196:21 [INFO] [stdout] | [INFO] [stdout] 1196 | for (i, x) in (0..=args.x.0).enumerate() { // inclusive [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1193:31 [INFO] [stdout] | [INFO] [stdout] 1193 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/cpu_instructions.rs:1257:21 [INFO] [stdout] | [INFO] [stdout] 1257 | for (i, x) in (0..args.x.0).enumerate() { // inclusive [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1254:31 [INFO] [stdout] | [INFO] [stdout] 1254 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pressed` [INFO] [stdout] --> src/cpu_instructions.rs:1324:41 [INFO] [stdout] | [INFO] [stdout] 1324 | fn test_skp_vx_inner(x: u16, x_val: u8, pressed: bool, should_skip: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_skip` [INFO] [stdout] --> src/cpu_instructions.rs:1324:56 [INFO] [stdout] | [INFO] [stdout] 1324 | fn test_skp_vx_inner(x: u16, x_val: u8, pressed: bool, should_skip: bool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_skip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/cpu_instructions.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | post_fn: Some(|state, s, args| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:851:31 [INFO] [stdout] | [INFO] [stdout] 851 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cpu_instructions.rs:851:38 [INFO] [stdout] | [INFO] [stdout] 851 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/cpu_instructions.rs:1293:31 [INFO] [stdout] | [INFO] [stdout] 1293 | post_fn: Some(|state, scope, args| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/test_utils.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) op: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.05s [INFO] running `Command { std: "docker" "inspect" "7e38049c64a051e55556f7128b1f8d753f0055d837cc7770d4e86fc1ed7c43f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e38049c64a051e55556f7128b1f8d753f0055d837cc7770d4e86fc1ed7c43f8", kill_on_drop: false }` [INFO] [stdout] 7e38049c64a051e55556f7128b1f8d753f0055d837cc7770d4e86fc1ed7c43f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4716a5ae5ff0e907e97f331eeea7ac76afd6f136066796b3f86a87c312a1090 [INFO] running `Command { std: "docker" "start" "-a" "e4716a5ae5ff0e907e97f331eeea7ac76afd6f136066796b3f86a87c312a1090", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/cpu_instructions.rs:865:22 [INFO] [stderr] | [INFO] [stderr] 865 | state.pc.0 = (nnn.0.wrapping_add(u12::new(state.v[0].0 as u16))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:741:31 [INFO] [stderr] | [INFO] [stderr] 741 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:787:31 [INFO] [stderr] | [INFO] [stderr] 787 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:891:31 [INFO] [stderr] | [INFO] [stderr] 891 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:926:31 [INFO] [stderr] | [INFO] [stderr] 926 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:969:31 [INFO] [stderr] | [INFO] [stderr] 969 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1012:31 [INFO] [stderr] | [INFO] [stderr] 1012 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1051:31 [INFO] [stderr] | [INFO] [stderr] 1051 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1089:31 [INFO] [stderr] | [INFO] [stderr] 1089 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 36 tests [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1134:31 [INFO] [stderr] | [INFO] [stderr] 1134 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/cpu_instructions.rs:1196:21 [INFO] [stderr] | [INFO] [stderr] 1196 | for (i, x) in (0..=args.x.0).enumerate() { // inclusive [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1193:31 [INFO] [stderr] | [INFO] [stderr] 1193 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/cpu_instructions.rs:1257:21 [INFO] [stderr] | [INFO] [stderr] 1257 | for (i, x) in (0..args.x.0).enumerate() { // inclusive [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1254:31 [INFO] [stderr] | [INFO] [stderr] 1254 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pressed` [INFO] [stderr] --> src/cpu_instructions.rs:1324:41 [INFO] [stderr] | [INFO] [stderr] 1324 | fn test_skp_vx_inner(x: u16, x_val: u8, pressed: bool, should_skip: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pressed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `should_skip` [INFO] [stderr] --> src/cpu_instructions.rs:1324:56 [INFO] [stderr] | [INFO] [stderr] 1324 | fn test_skp_vx_inner(x: u16, x_val: u8, pressed: bool, should_skip: bool) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_skip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/cpu_instructions.rs:98:31 [INFO] [stderr] | [INFO] [stderr] 98 | post_fn: Some(|state, s, args| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:851:31 [INFO] [stderr] | [INFO] [stderr] 851 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/cpu_instructions.rs:851:38 [INFO] [stderr] | [INFO] [stderr] 851 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/cpu_instructions.rs:1293:31 [INFO] [stderr] | [INFO] [stderr] 1293 | post_fn: Some(|state, scope, args| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `op` [INFO] [stderr] --> src/test_utils.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | pub(crate) op: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-learning` (bin "rust-learning" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_learning-16539300b8c43dde) [INFO] [stdout] test cpu_instructions::test_ld_dt_vx ... ok [INFO] [stdout] test cpu_instructions::test_ld_st_vx ... ok [INFO] [stdout] test cpu_instructions::test_jp_v0_nnn ... ok [INFO] [stdout] test cpu_instructions::test_ld_i_vx_quirks_enabled ... ok [INFO] [stdout] test cpu_instructions::test_call_nnn ... ok [INFO] [stdout] test cpu_instructions::test_add_vx_kk ... ok [INFO] [stdout] test cpu_instructions::test_ld_b_vx ... ok [INFO] [stdout] test cpu_instructions::test_add_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_ld_vx_i_quirks_disabled ... ok [INFO] [stdout] test cpu_instructions::test_ld_vx_i_quirks_enabled ... ok [INFO] [stdout] test cpu_instructions::test_ld_i_nnn ... ok [INFO] [stdout] test cpu_instructions::test_cls ... ok [INFO] [stdout] test cpu_instructions::test_ld_vx_dt ... ok [INFO] [stdout] test cpu_instructions::test_and_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_ld_vx_k ... ok [INFO] [stdout] test cpu_instructions::test_add_i_vx ... ok [INFO] [stdout] test cpu_instructions::test_ld_i_vx_quirks_disabled ... ok [INFO] [stdout] test cpu_instructions::test_jp_nnn ... ok [INFO] [stdout] test cpu_instructions::test_sne_vx_kk ... ok [INFO] [stdout] test cpu_instructions::test_subn_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_sys ... ok [INFO] [stdout] test cpu_instructions::test_xor_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_sub_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_shl_vx_vy_quirks_disabled ... ok [INFO] [stdout] test cpu_instructions::test_rnd_vx_kk ... ok [INFO] [stdout] test cpu_instructions::test_ret ... ok [INFO] [stdout] test cpu_instructions::test_ld_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_se_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_shl_vx_vy_quirks_enabled ... ok [INFO] [stdout] test cpu_instructions::test_shr_vx_vy_quirks_enabled ... ok [INFO] [stdout] test cpu_instructions::test_skp_vx ... ok [INFO] [stdout] test cpu_instructions::test_shr_vx_vy_quirks_disabled ... ok [INFO] [stdout] test cpu_instructions::test_ld_vx_kk ... ok [INFO] [stdout] test cpu_instructions::test_or_vx_vy ... ok [INFO] [stdout] test cpu_instructions::test_se_vx_kk ... ok [INFO] [stdout] test cpu_instructions::test_sne_vx_vy ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4716a5ae5ff0e907e97f331eeea7ac76afd6f136066796b3f86a87c312a1090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4716a5ae5ff0e907e97f331eeea7ac76afd6f136066796b3f86a87c312a1090", kill_on_drop: false }` [INFO] [stdout] e4716a5ae5ff0e907e97f331eeea7ac76afd6f136066796b3f86a87c312a1090