[INFO] cloning repository https://github.com/Callum-Irving/rust-chip-8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Callum-Irving/rust-chip-8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallum-Irving%2Frust-chip-8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallum-Irving%2Frust-chip-8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06205f1c37e8cb9eea6ec2ddba30ae997f8c6cd6 [INFO] testing Callum-Irving/rust-chip-8-emulator against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCallum-Irving%2Frust-chip-8-emulator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Callum-Irving/rust-chip-8-emulator on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Callum-Irving/rust-chip-8-emulator [INFO] finished tweaking git repo https://github.com/Callum-Irving/rust-chip-8-emulator [INFO] tweaked toml for git repo https://github.com/Callum-Irving/rust-chip-8-emulator written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Callum-Irving/rust-chip-8-emulator 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.20.0 [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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b53b301c9e1597363284db3741e0b28ccc15bcb9d464608acd9f7f2bd7808060 [INFO] running `Command { std: "docker" "start" "-a" "b53b301c9e1597363284db3741e0b28ccc15bcb9d464608acd9f7f2bd7808060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b53b301c9e1597363284db3741e0b28ccc15bcb9d464608acd9f7f2bd7808060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53b301c9e1597363284db3741e0b28ccc15bcb9d464608acd9f7f2bd7808060", kill_on_drop: false }` [INFO] [stdout] b53b301c9e1597363284db3741e0b28ccc15bcb9d464608acd9f7f2bd7808060 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 240c56faa9428bc42854e2d5b7d37443d79ea7c8a1816008dee39296a705a561 [INFO] running `Command { std: "docker" "start" "-a" "240c56faa9428bc42854e2d5b7d37443d79ea7c8a1816008dee39296a705a561", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling xcursor v0.3.4 [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 minifb v0.20.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 chip_8_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dump_info` is never used [INFO] [stdout] --> src/chip8/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn dump_info(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dump_mem` is never used [INFO] [stdout] --> src/chip8/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn dump_mem(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble_opcode` is never used [INFO] [stdout] --> src/disassembler.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn disassemble_opcode(pc: usize, opcode: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 03s [INFO] running `Command { std: "docker" "inspect" "240c56faa9428bc42854e2d5b7d37443d79ea7c8a1816008dee39296a705a561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "240c56faa9428bc42854e2d5b7d37443d79ea7c8a1816008dee39296a705a561", kill_on_drop: false }` [INFO] [stdout] 240c56faa9428bc42854e2d5b7d37443d79ea7c8a1816008dee39296a705a561 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f19a841c4d4993dec395da4e05e8ae69ef24f1a02c091430961c99e33d73c1e [INFO] running `Command { std: "docker" "start" "-a" "2f19a841c4d4993dec395da4e05e8ae69ef24f1a02c091430961c99e33d73c1e", kill_on_drop: false }` [INFO] [stderr] Compiling chip_8_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dump_info` is never used [INFO] [stdout] --> src/chip8/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn dump_info(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dump_mem` is never used [INFO] [stdout] --> src/chip8/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn dump_mem(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disassemble_opcode` is never used [INFO] [stdout] --> src/disassembler.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn disassemble_opcode(pc: usize, opcode: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "2f19a841c4d4993dec395da4e05e8ae69ef24f1a02c091430961c99e33d73c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f19a841c4d4993dec395da4e05e8ae69ef24f1a02c091430961c99e33d73c1e", kill_on_drop: false }` [INFO] [stdout] 2f19a841c4d4993dec395da4e05e8ae69ef24f1a02c091430961c99e33d73c1e [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e980f07d14c5a28731f6680f1cbacfafefc7d3e28659823a666385e63c582d0c [INFO] running `Command { std: "docker" "start" "-a" "e980f07d14c5a28731f6680f1cbacfafefc7d3e28659823a666385e63c582d0c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Duration`, `Instant` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `dump_info` is never used [INFO] [stderr] --> src/chip8/mod.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn dump_info(&self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `dump_mem` is never used [INFO] [stderr] --> src/chip8/mod.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn dump_mem(&self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `disassemble_opcode` is never used [INFO] [stderr] --> src/disassembler.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn disassemble_opcode(pc: usize, opcode: u16) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chip_8_emulator` (bin "chip_8_emulator" test) generated 4 warnings (run `cargo fix --bin "chip_8_emulator" --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chip_8_emulator-e520248e1bb280ec) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test chip8::opcodes::tests::op_00e0 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_00ee ... ok [INFO] [stdout] test chip8::opcodes::tests::op_1nnn ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy2 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_3xkk ... ok [INFO] [stdout] test chip8::opcodes::tests::op_2nnn ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy4 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy3 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_4xkk ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy1 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_7xkk ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy0 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy5 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_5xy0 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy7 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_9xy0 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_annn ... ok [INFO] [stdout] test chip8::opcodes::tests::op_bnnn ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx07 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx33 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_6xkk ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xy6 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_8xye ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx15 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx55 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx65 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx1e ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx18 ... ok [INFO] [stdout] test chip8::opcodes::tests::op_fx29 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e980f07d14c5a28731f6680f1cbacfafefc7d3e28659823a666385e63c582d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e980f07d14c5a28731f6680f1cbacfafefc7d3e28659823a666385e63c582d0c", kill_on_drop: false }` [INFO] [stdout] e980f07d14c5a28731f6680f1cbacfafefc7d3e28659823a666385e63c582d0c