[INFO] cloning repository https://github.com/patrickrohr/gameboy-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickrohr/gameboy-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99630d972b47f58b68e84ab5a131d5176e71fc79 [INFO] checking patrickrohr/gameboy-emulator against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickrohr%2Fgameboy-emulator" "/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/patrickrohr/gameboy-emulator on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/patrickrohr/gameboy-emulator [INFO] finished tweaking git repo https://github.com/patrickrohr/gameboy-emulator [INFO] tweaked toml for git repo https://github.com/patrickrohr/gameboy-emulator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/patrickrohr/gameboy-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a6dfe7928cb9f8f2d34030cca95d098beb7d06567e1eb670a7049ef28f178bd [INFO] running `Command { std: "docker" "start" "-a" "5a6dfe7928cb9f8f2d34030cca95d098beb7d06567e1eb670a7049ef28f178bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a6dfe7928cb9f8f2d34030cca95d098beb7d06567e1eb670a7049ef28f178bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6dfe7928cb9f8f2d34030cca95d098beb7d06567e1eb670a7049ef28f178bd", kill_on_drop: false }` [INFO] [stdout] 5a6dfe7928cb9f8f2d34030cca95d098beb7d06567e1eb670a7049ef28f178bd [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e4355178068eb23e9b415256da16ea60a24cfb4fee6bfa32b4a8dbe67971a9 [INFO] running `Command { std: "docker" "start" "-a" "98e4355178068eb23e9b415256da16ea60a24cfb4fee6bfa32b4a8dbe67971a9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking gameboy-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::num::FromPrimitive` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | atHL, // (HL) [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atBC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | atBC, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atDE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | atDE, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | atHL, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLInc` should have an upper camel case name [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | atHLInc, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHlinc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLDec` should have an upper camel case name [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | atHLDec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHldec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | atC, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AtC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | if (set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 681 - if (set) { [INFO] [stdout] 681 + if set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::num::FromPrimitive` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:780:12 [INFO] [stdout] | [INFO] [stdout] 780 | if (self.ime_request) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 780 - if (self.ime_request) { [INFO] [stdout] 780 + if self.ime_request { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | if (conditionMet) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 796 - if (conditionMet) { [INFO] [stdout] 796 + if conditionMet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | match (operand) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 - match (operand) { [INFO] [stdout] 866 + match operand { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | if (opcode == 0xCB) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 919 - if (opcode == 0xCB) { [INFO] [stdout] 919 + if opcode == 0xCB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | atHL, // (HL) [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atBC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | atBC, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atDE` should have an upper camel case name [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | atDE, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHL` should have an upper camel case name [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | atHL, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AtHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLInc` should have an upper camel case name [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | atHLInc, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHlinc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atHLDec` should have an upper camel case name [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | atHLDec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `AtHldec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `atC` should have an upper camel case name [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | atC, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AtC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | if (set) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 681 - if (set) { [INFO] [stdout] 681 + if set { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:780:12 [INFO] [stdout] | [INFO] [stdout] 780 | if (self.ime_request) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 780 - if (self.ime_request) { [INFO] [stdout] 780 + if self.ime_request { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | if (conditionMet) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 796 - if (conditionMet) { [INFO] [stdout] 796 + if conditionMet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:866:15 [INFO] [stdout] | [INFO] [stdout] 866 | match (operand) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 - match (operand) { [INFO] [stdout] 866 + match operand { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | if (opcode == 0xCB) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 919 - if (opcode == 0xCB) { [INFO] [stdout] 919 + if opcode == 0xCB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let mut cpu = Cpu { [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let mut cpu = Cpu { [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: unreachable pattern [INFO] [stdout] --> src/main.rs:1022:13 [INFO] [stdout] | [INFO] [stdout] 1017 | Instruction::SCF => { [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1022 | Instruction::SCF => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1048 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | -------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1051 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:978:21 [INFO] [stdout] | [INFO] [stdout] 978 | let result = match operator { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1022:13 [INFO] [stdout] | [INFO] [stdout] 1017 | Instruction::SCF => { [INFO] [stdout] | ---------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1022 | Instruction::SCF => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1048 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | -------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1051 | Ld16Target::HL => self.set_hl(val), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:978:21 [INFO] [stdout] | [INFO] [stdout] 978 | let result = match operator { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD` is never constructed [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 155 | enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 156 | NOP, [INFO] [stdout] 157 | LD(LoadType), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_af`, `is_z_flag`, and `set_af` are never used [INFO] [stdout] --> src/main.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 610 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 639 | fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | fn is_z_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn set_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:795:35 [INFO] [stdout] | [INFO] [stdout] 795 | fn jump(&mut self, addr: u16, conditionMet: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | let conditionMet: bool = match condition { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD` is never constructed [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 155 | enum Instruction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 156 | NOP, [INFO] [stdout] 157 | LD(LoadType), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_af`, `is_z_flag`, and `set_af` are never used [INFO] [stdout] --> src/main.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 610 | impl Cpu { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 639 | fn get_af(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | fn is_z_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | fn set_af(&mut self, val: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:795:35 [INFO] [stdout] | [INFO] [stdout] 795 | fn jump(&mut self, addr: u16, conditionMet: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `conditionMet` should have a snake case name [INFO] [stdout] --> src/main.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | let conditionMet: bool = match condition { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `condition_met` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "98e4355178068eb23e9b415256da16ea60a24cfb4fee6bfa32b4a8dbe67971a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e4355178068eb23e9b415256da16ea60a24cfb4fee6bfa32b4a8dbe67971a9", kill_on_drop: false }` [INFO] [stdout] 98e4355178068eb23e9b415256da16ea60a24cfb4fee6bfa32b4a8dbe67971a9