[INFO] cloning repository https://github.com/reilleya/rustBoy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reilleya/rustBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freilleya%2FrustBoy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freilleya%2FrustBoy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e59436bf938c96e2dd54f66843e949c62b788e2
[INFO] checking reilleya/rustBoy/1e59436bf938c96e2dd54f66843e949c62b788e2 against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freilleya%2FrustBoy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reilleya/rustBoy
[INFO] finished tweaking git repo https://github.com/reilleya/rustBoy
[INFO] tweaked toml for git repo https://github.com/reilleya/rustBoy written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reilleya/rustBoy on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reilleya/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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustBoy` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time v0.1.40
[INFO] [stderr]   Downloaded libc v0.2.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339
[INFO] running `Command { std: "docker" "start" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustBoy` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]     Checking rustBoy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `a` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:2:2
[INFO] [stdout]   |
[INFO] [stdout] 2 |     a,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `A`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     f,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case (notice the capitalization): `F`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `b` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     b,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `B`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `c` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case (notice the capitalization): `C`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `d` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 6 |     d,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `D`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `e` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 7 |     e,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `E`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `h` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:8:2
[INFO] [stdout]   |
[INFO] [stdout] 8 |     h,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `H`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `l` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:9:2
[INFO] [stdout]   |
[INFO] [stdout] 9 |     l
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `L`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Core`
[INFO] [stdout]  --> src/core/memory.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::Core;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `a` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:2:2
[INFO] [stdout]   |
[INFO] [stdout] 2 |     a,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `A`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 3 |     f,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case (notice the capitalization): `F`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `b` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 |     b,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `B`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `c` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case (notice the capitalization): `C`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `d` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 6 |     d,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `D`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `e` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 7 |     e,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `E`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `h` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:8:2
[INFO] [stdout]   |
[INFO] [stdout] 8 |     h,
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `H`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `l` should have an upper camel case name
[INFO] [stdout]  --> src/core/registers.rs:9:2
[INFO] [stdout]   |
[INFO] [stdout] 9 |     l
[INFO] [stdout]   |     ^ help: convert the identifier to upper camel case: `L`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Core`
[INFO] [stdout]  --> src/core/memory.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::Core;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/core/memory.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 panic!("Read out of bounds at {:2X}", loc);
[INFO] [stdout]    |                 ------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 48 |                 0
[INFO] [stdout]    |                 ^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/core/memory.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 panic!("Read out of bounds at {:2X}", loc);
[INFO] [stdout]    |                 ------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 48 |                 0
[INFO] [stdout]    |                 ^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/core/memory.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/core/memory.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 32 |             0x0000 ..= 0x7FFF => self.rom.get_mem(loc),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 33 |             0x8000 ..= 0x9FFF => 0, // VRAM
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 34 |             0xA000 ..= 0xBFFF => 0, // SWITCH_RAM
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 35 |             0xC000 ..= 0xDFFF => self.ram[(loc - 0xC000) as usize], // RAM
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             _ => {
[INFO] [stdout]    |             ^ ...and 9 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/core/memory.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/core/memory.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 57 |             0x0000 ..= 0x7FFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 60 |             0x8000 ..= 0x9FFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 63 |             0xA000 ..= 0xBFFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 66 |             0xC000 ..= 0xDFFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ ...and 7 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loc`
[INFO] [stdout]   --> src/core/display.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn set_mem(&mut self, loc:u16, val:u8) {
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_loc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/core/display.rs:36:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn set_mem(&mut self, loc:u16, val:u8) {
[INFO] [stdout]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op_Carry`
[INFO] [stdout]    --> src/core/mod.rs:802:19
[INFO] [stdout]     |
[INFO] [stdout] 802 |                 let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8);
[INFO] [stdout]     |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_Carry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]     --> src/core/mod.rs:1086:4
[INFO] [stdout]      |
[INFO] [stdout] 1085 |             0x00 ..= 0x07 => operand, // Rotate left through carry
[INFO] [stdout]      |             ------------- this range overlaps on `7_u8`...
[INFO] [stdout] 1086 |             0x07 ..= 0x0F => operand, // Rotate right through carry
[INFO] [stdout]      |             ^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]      |
[INFO] [stdout]      = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]      = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_sub_half_carry_16` is never used
[INFO] [stdout]   --> src/core/mod.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn check_sub_half_carry_16(a:u16, b:u16) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dec_a` is never used
[INFO] [stdout]     --> src/core/mod.rs:1196:5
[INFO] [stdout]      |
[INFO] [stdout]   34 | impl Core {
[INFO] [stdout]      | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1196 |     fn dec_a(&mut self) -> (u16, u64) {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f` is never constructed
[INFO] [stdout]  --> src/core/registers.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum RegisterName {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 2 |     a,
[INFO] [stdout] 3 |     f,
[INFO] [stdout]   |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `r_type` is never read
[INFO] [stdout]  --> src/core/rom.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ROM {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     pub data: [u8; 0x8000],
[INFO] [stdout] 6 |     pub r_type: u8
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `op_Carry` should have a snake case name
[INFO] [stdout]    --> src/core/mod.rs:802:19
[INFO] [stdout]     |
[INFO] [stdout] 802 |                 let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8);
[INFO] [stdout]     |                               ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_carry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/core/memory.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/core/memory.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 32 |             0x0000 ..= 0x7FFF => self.rom.get_mem(loc),
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 33 |             0x8000 ..= 0x9FFF => 0, // VRAM
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 34 |             0xA000 ..= 0xBFFF => 0, // SWITCH_RAM
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 35 |             0xC000 ..= 0xDFFF => self.ram[(loc - 0xC000) as usize], // RAM
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 45 |             _ => {
[INFO] [stdout]    |             ^ ...and 9 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/core/memory.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/core/memory.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 57 |             0x0000 ..= 0x7FFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 60 |             0x8000 ..= 0x9FFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 63 |             0xA000 ..= 0xBFFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 66 |             0xC000 ..= 0xDFFF => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 90 |             _ => {
[INFO] [stdout]    |             ^ ...and 7 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loc`
[INFO] [stdout]   --> src/core/display.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn set_mem(&mut self, loc:u16, val:u8) {
[INFO] [stdout]    |                               ^^^ help: if this is intentional, prefix it with an underscore: `_loc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/core/display.rs:36:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn set_mem(&mut self, loc:u16, val:u8) {
[INFO] [stdout]    |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/rom.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 |         fo.read(&mut self.data);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = fo.read(&mut self.data);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op_Carry`
[INFO] [stdout]    --> src/core/mod.rs:802:19
[INFO] [stdout]     |
[INFO] [stdout] 802 |                 let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8);
[INFO] [stdout]     |                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_Carry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]     --> src/core/mod.rs:1086:4
[INFO] [stdout]      |
[INFO] [stdout] 1085 |             0x00 ..= 0x07 => operand, // Rotate left through carry
[INFO] [stdout]      |             ------------- this range overlaps on `7_u8`...
[INFO] [stdout] 1086 |             0x07 ..= 0x0F => operand, // Rotate right through carry
[INFO] [stdout]      |             ^^^^^^^^^^^^^ ... with this range
[INFO] [stdout]      |
[INFO] [stdout]      = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]      = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_sub_half_carry_16` is never used
[INFO] [stdout]   --> src/core/mod.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn check_sub_half_carry_16(a:u16, b:u16) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dec_a` is never used
[INFO] [stdout]     --> src/core/mod.rs:1196:5
[INFO] [stdout]      |
[INFO] [stdout]   34 | impl Core {
[INFO] [stdout]      | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1196 |     fn dec_a(&mut self) -> (u16, u64) {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f` is never constructed
[INFO] [stdout]  --> src/core/registers.rs:3:2
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum RegisterName {
[INFO] [stdout]   |          ------------ variant in this enum
[INFO] [stdout] 2 |     a,
[INFO] [stdout] 3 |     f,
[INFO] [stdout]   |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `r_type` is never read
[INFO] [stdout]  --> src/core/rom.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ROM {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     pub data: [u8; 0x8000],
[INFO] [stdout] 6 |     pub r_type: u8
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `op_Carry` should have a snake case name
[INFO] [stdout]    --> src/core/mod.rs:802:19
[INFO] [stdout]     |
[INFO] [stdout] 802 |                 let (operand, op_Carry) = self.get_8_pc(1).overflowing_add(self.reg.get_c() as u8);
[INFO] [stdout]     |                               ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `op_carry`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/core/rom.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 |         fo.read(&mut self.data);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let _ = fo.read(&mut self.data);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339", kill_on_drop: false }`
[INFO] [stdout] f2ec73b1c8756c16d8eb7e06965fc401722302c54a342527a0aba737d7e03339
