[INFO] cloning repository https://github.com/fsommar/rustboi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fsommar/rustboi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffsommar%2Frustboi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffsommar%2Frustboi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af01ff0477843146622a23e85101e4f212f088e1
[INFO] checking fsommar/rustboi against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffsommar%2Frustboi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fsommar/rustboi on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fsommar/rustboi
[INFO] finished tweaking git repo https://github.com/fsommar/rustboi
[INFO] tweaked toml for git repo https://github.com/fsommar/rustboi written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/fsommar/rustboi 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bd1c3c9c63b542fd80121d08ab574bda1602fe7246b2bcfbc48bea5bbf319663
[INFO] running `Command { std: "docker" "start" "-a" "bd1c3c9c63b542fd80121d08ab574bda1602fe7246b2bcfbc48bea5bbf319663", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd1c3c9c63b542fd80121d08ab574bda1602fe7246b2bcfbc48bea5bbf319663", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd1c3c9c63b542fd80121d08ab574bda1602fe7246b2bcfbc48bea5bbf319663", kill_on_drop: false }`
[INFO] [stdout] bd1c3c9c63b542fd80121d08ab574bda1602fe7246b2bcfbc48bea5bbf319663
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09a84cbd866f04c250c4f0d82f6ba43a704374f8c89a88fa28a562e572f20985
[INFO] running `Command { std: "docker" "start" "-a" "09a84cbd866f04c250c4f0d82f6ba43a704374f8c89a88fa28a562e572f20985", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.29
[INFO] [stderr]    Compiling cc v1.0.40
[INFO] [stderr]    Compiling libc v0.2.61
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking backtrace v0.3.34
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking rustboi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `toggle` is never used
[INFO] [stdout]   --> src/gameboy/cpu/flag.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<T: Flag> Value<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn toggle(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `N`, `H`, `NN`, and `NH` are never constructed
[INFO] [stdout]    --> src/gameboy/instr.rs:462:5
[INFO] [stdout]     |
[INFO] [stdout] 459 | enum Flags {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 462 |     N,
[INFO] [stdout]     |     ^
[INFO] [stdout] 463 |     H,
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 466 |     NN,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 467 |     NH,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_u8_mut` is never used
[INFO] [stdout]   --> src/gameboy/mem.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl MMU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn read_u8_mut(&mut self, addr: u16) -> &mut u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/gameboy/mod.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!(e));
[INFO] [stdout]    |                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stdout]    |                                                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| std::panic::panic_any(e));
[INFO] [stdout]    |                                                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `N`, `H`, `NN`, and `NH` are never constructed
[INFO] [stdout]    --> src/gameboy/instr.rs:462:5
[INFO] [stdout]     |
[INFO] [stdout] 459 | enum Flags {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 462 |     N,
[INFO] [stdout]     |     ^
[INFO] [stdout] 463 |     H,
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 466 |     NN,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 467 |     NH,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_u8_mut` is never used
[INFO] [stdout]   --> src/gameboy/mem.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl MMU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn read_u8_mut(&mut self, addr: u16) -> &mut u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/gameboy/mod.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!(e));
[INFO] [stdout]    |                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stdout]    |                                                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| std::panic::panic_any(e));
[INFO] [stdout]    |                                                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.75s
[INFO] running `Command { std: "docker" "inspect" "09a84cbd866f04c250c4f0d82f6ba43a704374f8c89a88fa28a562e572f20985", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09a84cbd866f04c250c4f0d82f6ba43a704374f8c89a88fa28a562e572f20985", kill_on_drop: false }`
[INFO] [stdout] 09a84cbd866f04c250c4f0d82f6ba43a704374f8c89a88fa28a562e572f20985
[INFO] checking fsommar/rustboi against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffsommar%2Frustboi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fsommar/rustboi on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fsommar/rustboi
[INFO] finished tweaking git repo https://github.com/fsommar/rustboi
[INFO] tweaked toml for git repo https://github.com/fsommar/rustboi written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/fsommar/rustboi 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1679fcec8cd40056c51ec8bc5de4bdd25d2a7bf85fd2bd9f8f809e62933dbbe4
[INFO] running `Command { std: "docker" "start" "-a" "1679fcec8cd40056c51ec8bc5de4bdd25d2a7bf85fd2bd9f8f809e62933dbbe4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1679fcec8cd40056c51ec8bc5de4bdd25d2a7bf85fd2bd9f8f809e62933dbbe4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1679fcec8cd40056c51ec8bc5de4bdd25d2a7bf85fd2bd9f8f809e62933dbbe4", kill_on_drop: false }`
[INFO] [stdout] 1679fcec8cd40056c51ec8bc5de4bdd25d2a7bf85fd2bd9f8f809e62933dbbe4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 707c31987bac0e9eac2bb86bb5dc6cfeee7a1d6f44450e50008f835958e4d52d
[INFO] running `Command { std: "docker" "start" "-a" "707c31987bac0e9eac2bb86bb5dc6cfeee7a1d6f44450e50008f835958e4d52d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.29
[INFO] [stderr]    Compiling cc v1.0.40
[INFO] [stderr]    Compiling libc v0.2.61
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking backtrace v0.3.34
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking rustboi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `toggle` is never used
[INFO] [stdout]   --> src/gameboy/cpu/flag.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl<T: Flag> Value<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn toggle(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `N`, `H`, `NN`, and `NH` are never constructed
[INFO] [stdout]    --> src/gameboy/instr.rs:462:5
[INFO] [stdout]     |
[INFO] [stdout] 459 | enum Flags {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 462 |     N,
[INFO] [stdout]     |     ^
[INFO] [stdout] 463 |     H,
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 466 |     NN,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 467 |     NH,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_u8_mut` is never used
[INFO] [stdout]   --> src/gameboy/mem.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl MMU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn read_u8_mut(&mut self, addr: u16) -> &mut u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/gameboy/mod.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!(e));
[INFO] [stdout]    |                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stdout]    |                                                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| std::panic::panic_any(e));
[INFO] [stdout]    |                                                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/gameboy/instr.rs:553:10
[INFO] [stdout]     |
[INFO] [stdout] 553 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Carry`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/gameboy/instr.rs:553:25
[INFO] [stdout]     |
[INFO] [stdout] 553 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Carry`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustboi` (bin "rustboi") due to 3 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variants `N`, `H`, `NN`, and `NH` are never constructed
[INFO] [stdout]    --> src/gameboy/instr.rs:462:5
[INFO] [stdout]     |
[INFO] [stdout] 459 | enum Flags {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 462 |     N,
[INFO] [stdout]     |     ^
[INFO] [stdout] 463 |     H,
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 466 |     NN,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 467 |     NH,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_u8_mut` is never used
[INFO] [stdout]   --> src/gameboy/mem.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl MMU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn read_u8_mut(&mut self, addr: u16) -> &mut u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/gameboy/mod.rs:16:60
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!(e));
[INFO] [stdout]    |                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| panic!("{}", e));
[INFO] [stdout]    |                                                            +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 16 |             self.execute(opcode).unwrap_or_else(|e| std::panic::panic_any(e));
[INFO] [stdout]    |                                                     ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/gameboy/instr.rs:553:10
[INFO] [stdout]     |
[INFO] [stdout] 553 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Carry`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/gameboy/instr.rs:553:25
[INFO] [stdout]     |
[INFO] [stdout] 553 | #[derive(FromPrimitive, ToPrimitive)]
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Carry`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustboi` (bin "rustboi" test) due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "707c31987bac0e9eac2bb86bb5dc6cfeee7a1d6f44450e50008f835958e4d52d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "707c31987bac0e9eac2bb86bb5dc6cfeee7a1d6f44450e50008f835958e4d52d", kill_on_drop: false }`
[INFO] [stdout] 707c31987bac0e9eac2bb86bb5dc6cfeee7a1d6f44450e50008f835958e4d52d
