[INFO] cloning repository https://github.com/deepconcern/gameboy_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deepconcern/gameboy_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepconcern%2Fgameboy_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepconcern%2Fgameboy_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f50f57912b60d1b6a9c550f8ff067dd87aee639
[INFO] checking deepconcern/gameboy_rust against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeepconcern%2Fgameboy_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deepconcern/gameboy_rust
[INFO] finished tweaking git repo https://github.com/deepconcern/gameboy_rust
[INFO] tweaked toml for git repo https://github.com/deepconcern/gameboy_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deepconcern/gameboy_rust on toolchain 63132bd615c9bf75e93af8405d00064212331708
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deepconcern/gameboy_rust 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" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-4-tc2/source/emulation/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] [stderr] warning: /workspace/builds/worker-4-tc2/source/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[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 symphonia-metadata v0.5.3
[INFO] [stderr]   Downloaded num-complex v0.4.4
[INFO] [stderr]   Downloaded proc-macro2 v1.0.71
[INFO] [stderr]   Downloaded num v0.4.1
[INFO] [stderr]   Downloaded symphonia v0.5.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.51
[INFO] [stderr]   Downloaded pkg-config v0.3.28
[INFO] [stderr]   Downloaded thiserror v1.0.51
[INFO] [stderr]   Downloaded symphonia-bundle-mp3 v0.5.3
[INFO] [stderr]   Downloaded symphonia-core v0.5.3
[INFO] [stderr]   Downloaded winnow v0.5.30
[INFO] [stderr]   Downloaded sdl2 v0.36.0
[INFO] [stderr]   Downloaded syn v2.0.42
[INFO] [stderr]   Downloaded sdl2-sys v0.36.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c7e6b70f84c6ab934a769490dae35592d028d967bae25352fee4de2da416b30
[INFO] running `Command { std: "docker" "start" "-a" "9c7e6b70f84c6ab934a769490dae35592d028d967bae25352fee4de2da416b30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c7e6b70f84c6ab934a769490dae35592d028d967bae25352fee4de2da416b30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c7e6b70f84c6ab934a769490dae35592d028d967bae25352fee4de2da416b30", kill_on_drop: false }`
[INFO] [stdout] 9c7e6b70f84c6ab934a769490dae35592d028d967bae25352fee4de2da416b30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acf03c55d19732ff1d01f101131751e417592eb78cf43ea1ed92d5329a37ad8f
[INFO] running `Command { std: "docker" "start" "-a" "acf03c55d19732ff1d01f101131751e417592eb78cf43ea1ed92d5329a37ad8f", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/emulation/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling proc-macro2 v1.0.71
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling cpal v0.15.2
[INFO] [stderr]     Checking ogg v0.8.0
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]    Compiling sdl2 v0.36.0
[INFO] [stderr]     Checking claxon v0.4.3
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking gameboy_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking symphonia-core v0.5.3
[INFO] [stderr]    Compiling sdl2-sys v0.36.0
[INFO] [stderr]     Checking lewton v0.10.2
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking symphonia-metadata v0.5.3
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking symphonia-bundle-mp3 v0.5.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking alsa v0.7.1
[INFO] [stderr]     Checking symphonia v0.5.3
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking rodio v0.17.3
[INFO] [stderr]     Checking emulation v0.1.0 (/opt/rustwide/workdir/emulation)
[INFO] [stdout] warning: constant `AUDIO_MASTER_CONTROL_REGISTER` is never used
[INFO] [stdout]  --> emulation/src/memory_component/audio_component.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const AUDIO_MASTER_CONTROL_REGISTER: u16 = 0xff26u16;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SOUND_PANNING_REGISTER` is never used
[INFO] [stdout]  --> emulation/src/memory_component/audio_component.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const SOUND_PANNING_REGISTER: u16 = 0xff25u16;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AudioMasterControlFlag` is never used
[INFO] [stdout]  --> emulation/src/memory_component/audio_component.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum AudioMasterControlFlag {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> emulation/src/condition.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `FromPrimitive` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Condition`
[INFO] [stdout] 4 | #[repr(u8)]
[INFO] [stdout] 5 | pub enum Condition {
[INFO] [stdout]   |          --------- `Condition` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> emulation/src/flag.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `FromPrimitive` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Flag`
[INFO] [stdout] ...
[INFO] [stdout] 4 | pub enum Flag {
[INFO] [stdout]   |          ---- `Flag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> emulation/src/register.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]   |                     ^------------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `FromPrimitive` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Register`
[INFO] [stdout] 3 | #[repr(u8)]
[INFO] [stdout] 4 | pub enum Register {
[INFO] [stdout]   |          -------- `Register` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> emulation/src/register.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Debug, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]    |                     ^------------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `FromPrimitive` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RegisterPair`
[INFO] [stdout] 39 | #[repr(u8)]
[INFO] [stdout] 40 | pub enum RegisterPair {
[INFO] [stdout]    |          ------------ `RegisterPair` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking desktop v0.1.0 (/opt/rustwide/workdir/desktop)
[INFO] [stdout] warning: constant `AUDIO_MASTER_CONTROL_REGISTER` is never used
[INFO] [stdout]  --> emulation/src/memory_component/audio_component.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const AUDIO_MASTER_CONTROL_REGISTER: u16 = 0xff26u16;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SOUND_PANNING_REGISTER` is never used
[INFO] [stdout]  --> emulation/src/memory_component/audio_component.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub const SOUND_PANNING_REGISTER: u16 = 0xff25u16;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AudioMasterControlFlag` is never used
[INFO] [stdout]  --> emulation/src/memory_component/audio_component.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum AudioMasterControlFlag {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> emulation/src/condition.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `FromPrimitive` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Condition`
[INFO] [stdout] 4 | #[repr(u8)]
[INFO] [stdout] 5 | pub enum Condition {
[INFO] [stdout]   |          --------- `Condition` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> emulation/src/flag.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(FromPrimitive)]
[INFO] [stdout]   |          ^------------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `FromPrimitive` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Flag`
[INFO] [stdout] ...
[INFO] [stdout] 4 | pub enum Flag {
[INFO] [stdout]   |          ---- `Flag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `opcode` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:203:52
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let mut emulator = common::simple_emulator(opcode);
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `register` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:206:31
[INFO] [stdout]     |
[INFO] [stdout] 206 |         emulator.set_register(register, b);
[INFO] [stdout]     |                               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ADD_REGISTER_PAIR_TO_HL`, `ADD_WITH_CARRY_REGISTER_TO_A`, `COMPARE_HL_LOCATION_WITH_A`, `COMPARE_IMMEDIATE_N_WITH_A`, `COMPARE_REGISTER_WITH_A`, `DEC_HL_LOCATION`, `DEC_REGISTER_PAIR`, `DEC_REGISTER`, `INC_HL_LOCATION`, `INC_REGISTER_PAIR`, `INC_REGISTER`, `SUB_HL_LOCATION_FROM_A`, `SUB_IMMEDIATE_N_FROM_A`, `SUB_REGISTER_FROM_A`, `SUB_WITH_CARRY_HL_LOCATION_FROM_A`, `SUB_WITH_CARRY_IMMEDIATE_N_FROM_A`, and `SUB_WITH_CARRY_REGISTER_FROM_A`
[INFO] [stdout]   --> emulation/tests/arithmetic_instruction_tests.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |         ADD_REGISTER_PAIR_TO_HL,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |         ADD_WITH_CARRY_REGISTER_TO_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |         COMPARE_HL_LOCATION_WITH_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |         COMPARE_IMMEDIATE_N_WITH_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |         COMPARE_REGISTER_WITH_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |         DEC_HL_LOCATION,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |         DEC_REGISTER,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 19 |         DEC_REGISTER_PAIR,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         INC_HL_LOCATION,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |         INC_REGISTER,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 22 |         INC_REGISTER_PAIR,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |         SUB_HL_LOCATION_FROM_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |         SUB_IMMEDIATE_N_FROM_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |         SUB_REGISTER_FROM_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |         SUB_WITH_CARRY_HL_LOCATION_FROM_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 27 |         SUB_WITH_CARRY_IMMEDIATE_N_FROM_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |         SUB_WITH_CARRY_REGISTER_FROM_A,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> emulation/src/register.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]   |                     ^------------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `FromPrimitive` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Register`
[INFO] [stdout] 3 | #[repr(u8)]
[INFO] [stdout] 4 | pub enum Register {
[INFO] [stdout]   |          -------- `Register` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> emulation/src/register.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Debug, Eq, FromPrimitive, Hash, PartialEq)]
[INFO] [stdout]    |                     ^------------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `FromPrimitive` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RegisterPair`
[INFO] [stdout] 39 | #[repr(u8)]
[INFO] [stdout] 40 | pub enum RegisterPair {
[INFO] [stdout]    |          ------------ `RegisterPair` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_simple` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         test_add_simple(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_with_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout]  42 | fn test_add_with_carry_flags(emulator: Emulator) {
[INFO] [stdout]     | ------------------------------------------------ similarly named function `test_add_with_carry_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 171 |         test_add_with_carry(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 171 |         test_add_with_carry_flags(run);
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_with_half_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout]  49 | fn test_add_with_half_carry_flags(emulator: Emulator) {
[INFO] [stdout]     | ----------------------------------------------------- similarly named function `test_add_with_half_carry_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 176 |         test_add_with_half_carry(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 176 |         test_add_with_half_carry_flags(run);
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_zeroed` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:181:9
[INFO] [stdout]     |
[INFO] [stdout] 181 |         test_add_zeroed(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_simple_results` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:233:21
[INFO] [stdout]     |
[INFO] [stdout]  35 | fn test_add_simple_flags(emulator: Emulator) {
[INFO] [stdout]     | -------------------------------------------- similarly named function `test_add_simple_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 233 |                     test_add_simple_results(emulator, with_carry)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 233 -                     test_add_simple_results(emulator, with_carry)
[INFO] [stdout] 233 +                     test_add_simple_flags(emulator, with_carry)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_simple` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:235:22
[INFO] [stdout]     |
[INFO] [stdout] 235 |                 _ => test_add_simple(opcode, run),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_with_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:244:13
[INFO] [stdout]     |
[INFO] [stdout]  42 | fn test_add_with_carry_flags(emulator: Emulator) {
[INFO] [stdout]     | ------------------------------------------------ similarly named function `test_add_with_carry_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 244 |             test_add_with_carry(opcode, run);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 244 |             test_add_with_carry_flags(opcode, run);
[INFO] [stdout]     |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_with_half_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout]  49 | fn test_add_with_half_carry_flags(emulator: Emulator) {
[INFO] [stdout]     | ----------------------------------------------------- similarly named function `test_add_with_half_carry_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 251 |             test_add_with_half_carry(opcode, run);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 251 |             test_add_with_half_carry_flags(opcode, run);
[INFO] [stdout]     |                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_add_zeroed` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 258 |             test_add_zeroed(opcode, run);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_simple` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |         test_adc_simple(run, );
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_with_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |         test_adc_with_carry(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_with_half_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout]  49 | fn test_add_with_half_carry_flags(emulator: Emulator) {
[INFO] [stdout]     | ----------------------------------------------------- similarly named function `test_add_with_half_carry_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 298 |         test_adc_with_half_carry(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 298 -         test_adc_with_half_carry(run);
[INFO] [stdout] 298 +         test_add_with_half_carry_flags(run);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_zeroed` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |         test_adc_zeroed(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_simple` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         test_adc_simple(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_with_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 |         test_adc_with_carry(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_with_half_carry` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout]  49 | fn test_add_with_half_carry_flags(emulator: Emulator) {
[INFO] [stdout]     | ----------------------------------------------------- similarly named function `test_add_with_half_carry_flags` defined here
[INFO] [stdout] ...
[INFO] [stdout] 342 |         test_adc_with_half_carry(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 342 -         test_adc_with_half_carry(run);
[INFO] [stdout] 342 +         test_add_with_half_carry_flags(run);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_adc_zeroed` in this scope
[INFO] [stdout]    --> emulation/tests/arithmetic_instruction_tests.rs:347:9
[INFO] [stdout]     |
[INFO] [stdout] 347 |         test_adc_zeroed(run);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `emulation` (test "arithmetic_instruction_tests") due to 19 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "acf03c55d19732ff1d01f101131751e417592eb78cf43ea1ed92d5329a37ad8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acf03c55d19732ff1d01f101131751e417592eb78cf43ea1ed92d5329a37ad8f", kill_on_drop: false }`
[INFO] [stdout] acf03c55d19732ff1d01f101131751e417592eb78cf43ea1ed92d5329a37ad8f
