[INFO] cloning repository https://github.com/cwmiller/rustboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cwmiller/rustboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmiller%2Frustboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmiller%2Frustboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93865a4769aee30c6383defb618a23ffb19767df [INFO] testing cwmiller/rustboy against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmiller%2Frustboy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cwmiller/rustboy on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cwmiller/rustboy [INFO] finished tweaking git repo https://github.com/cwmiller/rustboy [INFO] tweaked toml for git repo https://github.com/cwmiller/rustboy written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cwmiller/rustboy 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing cwmiller/rustboy against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcwmiller%2Frustboy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cwmiller/rustboy on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cwmiller/rustboy [INFO] finished tweaking git repo https://github.com/cwmiller/rustboy [INFO] tweaked toml for git repo https://github.com/cwmiller/rustboy written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cwmiller/rustboy 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.49 [INFO] [stderr] Downloaded minifb v0.13.0 [INFO] [stderr] Downloaded orbclient v0.3.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 795ff226c8bb45ed0040f9da44a21d03953d7e43640e240e82763f7b1f82d5bd [INFO] running `Command { std: "docker" "start" "-a" "795ff226c8bb45ed0040f9da44a21d03953d7e43640e240e82763f7b1f82d5bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "795ff226c8bb45ed0040f9da44a21d03953d7e43640e240e82763f7b1f82d5bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795ff226c8bb45ed0040f9da44a21d03953d7e43640e240e82763f7b1f82d5bd", kill_on_drop: false }` [INFO] [stdout] 795ff226c8bb45ed0040f9da44a21d03953d7e43640e240e82763f7b1f82d5bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3bf85574609ee4d81155c6e0cb947e7249dd93e1f9729c83fd923c98ccd3ad3 [INFO] running `Command { std: "docker" "start" "-a" "a3bf85574609ee4d81155c6e0cb947e7249dd93e1f9729c83fd923c98ccd3ad3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling minifb v0.13.0 [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/cpu/mod.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::instructions::{decode, Instruction}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lcd.rs:543:25 [INFO] [stdout] | [INFO] [stdout] 543 | let mut entry = &mut self.oam[entry_idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.25s [INFO] running `Command { std: "docker" "inspect" "a3bf85574609ee4d81155c6e0cb947e7249dd93e1f9729c83fd923c98ccd3ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3bf85574609ee4d81155c6e0cb947e7249dd93e1f9729c83fd923c98ccd3ad3", kill_on_drop: false }` [INFO] [stdout] a3bf85574609ee4d81155c6e0cb947e7249dd93e1f9729c83fd923c98ccd3ad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea94fb745a1cce324c34614b299c2cd5154febb20d4959a020aa24812b43fe3 [INFO] running `Command { std: "docker" "start" "-a" "eea94fb745a1cce324c34614b299c2cd5154febb20d4959a020aa24812b43fe3", kill_on_drop: false }` [INFO] [stderr] Compiling rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Cpu` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/bits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::Cpu; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use cpu::addressing::*; [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Cpu` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bus` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/bits.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Bus` is already imported here [INFO] [stdout] 4 | use bus::Bus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Condition` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/jumps.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::{Condition, Cpu}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 2 | use cpu::addressing::*; [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Condition` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cpu` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/jumps.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::{Condition, Cpu}; [INFO] [stdout] | ^^^ [INFO] [stdout] 2 | use cpu::addressing::*; [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Cpu` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bus` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/jumps.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Bus` is already imported here [INFO] [stdout] 4 | use bus::Bus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cpu` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/loads.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::Cpu; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use cpu::addressing::*; [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Cpu` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bus` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/loads.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Bus` is already imported here [INFO] [stdout] 4 | use bus::{Addressable, Bus}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cpu` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cpu::Cpu; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 2 | use cpu::addressing::*; [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Cpu` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bus` is imported redundantly [INFO] [stdout] --> src/cpu/instructions/tests/math.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cpu::instructions::*; [INFO] [stdout] | -------------------- the item `Bus` is already imported here [INFO] [stdout] 4 | use cpu::instructions as instr; [INFO] [stdout] 5 | use bus::Bus; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decode` [INFO] [stdout] --> src/cpu/mod.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::instructions::{decode, Instruction}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lcd.rs:543:25 [INFO] [stdout] | [INFO] [stdout] 543 | let mut entry = &mut self.oam[entry_idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "eea94fb745a1cce324c34614b299c2cd5154febb20d4959a020aa24812b43fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea94fb745a1cce324c34614b299c2cd5154febb20d4959a020aa24812b43fe3", kill_on_drop: false }` [INFO] [stdout] eea94fb745a1cce324c34614b299c2cd5154febb20d4959a020aa24812b43fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 50c261ea70e633f9019f20e48c0615b043287d06726d9c05be25b674406b4a74 [INFO] running `Command { std: "docker" "start" "-a" "50c261ea70e633f9019f20e48c0615b043287d06726d9c05be25b674406b4a74", kill_on_drop: false }` [INFO] [stderr] warning: the item `Cpu` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/bits.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use cpu::Cpu; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 2 | use cpu::addressing::*; [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Cpu` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Bus` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/bits.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Bus` is already imported here [INFO] [stderr] 4 | use bus::Bus; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Condition` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/jumps.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use cpu::{Condition, Cpu}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 2 | use cpu::addressing::*; [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Condition` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Cpu` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/jumps.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use cpu::{Condition, Cpu}; [INFO] [stderr] | ^^^ [INFO] [stderr] 2 | use cpu::addressing::*; [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Cpu` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Bus` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/jumps.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Bus` is already imported here [INFO] [stderr] 4 | use bus::Bus; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Cpu` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/loads.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use cpu::Cpu; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 2 | use cpu::addressing::*; [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Cpu` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Bus` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/loads.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Bus` is already imported here [INFO] [stderr] 4 | use bus::{Addressable, Bus}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Cpu` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/math.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use cpu::Cpu; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 2 | use cpu::addressing::*; [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Cpu` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Bus` is imported redundantly [INFO] [stderr] --> src/cpu/instructions/tests/math.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 3 | use cpu::instructions::*; [INFO] [stderr] | -------------------- the item `Bus` is already imported here [INFO] [stderr] 4 | use cpu::instructions as instr; [INFO] [stderr] 5 | use bus::Bus; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `decode` [INFO] [stderr] --> src/cpu/mod.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | pub use self::instructions::{decode, Instruction}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lcd.rs:543:25 [INFO] [stderr] | [INFO] [stderr] 543 | let mut entry = &mut self.oam[entry_idx]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rustboy` (bin "rustboy" test) generated 11 warnings (run `cargo fix --bin "rustboy" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustboy-32a5d8db54cb6f9e) [INFO] [stdout] [INFO] [stdout] running 97 tests [INFO] [stdout] test cpu::instructions::tests::bits::rl_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::res_bit ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rl_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::bit_not_zero ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rla_without_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rla_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rlc_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rlca_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rr_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rra_with_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rlc_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rlc_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rlca_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rl_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rr_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::bit_zero ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rr_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rlca_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rla_with_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rrc_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rra_without_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::sla_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::sra_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rra_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::sla_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::sla_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rrca_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rrc_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rrca_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rrca_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::set_bit ... ok [INFO] [stdout] test cpu::instructions::tests::bits::rrc_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::sra_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::srl_doesnt_carry ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::jr_wrapping ... ok [INFO] [stdout] test cpu::instructions::tests::bits::srl_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::jr_addr ... ok [INFO] [stdout] test cpu::instructions::tests::bits::srl_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::bits::swap_not_zero ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::rst_10h ... ok [INFO] [stdout] test cpu::instructions::tests::loads::ld_a_b ... ok [INFO] [stdout] test cpu::instructions::tests::loads::ldhl_carry ... ok [INFO] [stdout] test cpu::instructions::tests::bits::sra_zero_result ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::call_addr ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::jp_addr ... ok [INFO] [stdout] test cpu::instructions::tests::bits::swap_zero ... ok [INFO] [stdout] test cpu::instructions::tests::loads::ldhl_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::ret_after_call ... ok [INFO] [stdout] test cpu::instructions::tests::jumps::reti_after_call ... ok [INFO] [stdout] test cpu::instructions::tests::loads::ldd_a_hl ... ok [INFO] [stdout] test cpu::instructions::tests::math::add8_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::add16_no_flags ... ok [INFO] [stdout] test cpu::instructions::tests::math::and_not_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::and_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::ccf_with_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::ccf_without_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::cp_does_borrow ... ok [INFO] [stdout] test cpu::instructions::tests::math::cp_doesnt_borrow ... ok [INFO] [stdout] test cpu::instructions::tests::math::cp_half_borrow ... ok [INFO] [stdout] test cpu::instructions::tests::math::cpl ... ok [INFO] [stdout] test cpu::instructions::tests::math::daa ... ok [INFO] [stdout] test cpu::instructions::tests::math::dec16 ... ok [INFO] [stdout] test cpu::instructions::tests::math::dec8_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::dec8_no_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::dec8_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::inc16 ... ok [INFO] [stdout] test cpu::instructions::tests::math::inc8_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::inc8_no_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::inc8_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::or_not_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::or_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::sbc_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::sbc_no_carry_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::sbc_no_carry_no_flags ... ok [INFO] [stdout] test cpu::instructions::tests::math::sbc_with_carry_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::sbc_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::scf ... ok [INFO] [stdout] test cpu::instructions::tests::math::adc_with_carry_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::adc_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::sub_does_borrow ... ok [INFO] [stdout] test cpu::instructions::tests::math::sub_doesnt_borrow ... ok [INFO] [stdout] test cpu::instructions::tests::loads::ldi_a_hl ... ok [INFO] [stdout] test cpu::instructions::tests::math::add16_carry_flag ... ok [INFO] [stdout] test cpu::instructions::tests::math::sub_half_borrow ... ok [INFO] [stdout] test cpu::instructions::tests::math::add16_half_carry_flag ... ok [INFO] [stdout] test cpu::instructions::tests::math::add_sp_carry_flag ... ok [INFO] [stdout] test cpu::instructions::tests::math::xor_not_zero ... ok [INFO] [stdout] test cpu::instructions::tests::math::add8_zero ... ok [INFO] [stdout] test cpu::instructions::tests::loads::push_to_stack ... ok [INFO] [stdout] test cpu::instructions::tests::math::add_sp_half_carry_flag ... ok [INFO] [stdout] test cpu::instructions::tests::math::add8_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::adc_no_carry_does_carry ... ok [INFO] [stdout] test cpu::instructions::tests::math::adc_no_carry_no_flags ... ok [INFO] [stdout] test cpu::instructions::tests::math::add8_no_flags ... ok [INFO] [stdout] test cpu::instructions::tests::math::adc_half_carry ... ok [INFO] [stdout] test cpu::instructions::tests::loads::pop_from_stack ... ok [INFO] [stdout] test cpu::instructions::tests::math::xor_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 97 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "50c261ea70e633f9019f20e48c0615b043287d06726d9c05be25b674406b4a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c261ea70e633f9019f20e48c0615b043287d06726d9c05be25b674406b4a74", kill_on_drop: false }` [INFO] [stdout] 50c261ea70e633f9019f20e48c0615b043287d06726d9c05be25b674406b4a74