[INFO] cloning repository https://github.com/panicbit/rust-gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panicbit/rust-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Frust-gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Frust-gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ad463d48c1a28d6cd632db3da52cbc1a2b544bc [INFO] checking panicbit/rust-gb against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Frust-gb" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panicbit/rust-gb on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/panicbit/rust-gb [INFO] finished tweaking git repo https://github.com/panicbit/rust-gb [INFO] tweaked toml for git repo https://github.com/panicbit/rust-gb written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/panicbit/rust-gb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1549fb76b2fd6c2ebe87eaa862e8e1575321148384e4706b6b8a1afacf849ef7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1549fb76b2fd6c2ebe87eaa862e8e1575321148384e4706b6b8a1afacf849ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1549fb76b2fd6c2ebe87eaa862e8e1575321148384e4706b6b8a1afacf849ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1549fb76b2fd6c2ebe87eaa862e8e1575321148384e4706b6b8a1afacf849ef7", kill_on_drop: false }` [INFO] [stdout] 1549fb76b2fd6c2ebe87eaa862e8e1575321148384e4706b6b8a1afacf849ef7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcbe2ee305454305ae1681a0a38c75b3e9c3823e084e077614d2919dc5a0e765 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bcbe2ee305454305ae1681a0a38c75b3e9c3823e084e077614d2919dc5a0e765", kill_on_drop: false }` [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking unborrow v0.1.0 [INFO] [stderr] Checking monster v0.1.28 [INFO] [stderr] Checking bit_range v0.1.0 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rust-gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate conv; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monster::incubation::SliceTakeWhile` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use monster::incubation::SliceTakeWhile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate conv; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monster::incubation::SliceTakeWhile` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use monster::incubation::SliceTakeWhile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_range::BitRange` [INFO] [stdout] --> src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bit_range::BitRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bit_range::BitRange` [INFO] [stdout] --> src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bit_range::BitRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | 0xC3, 3, 12, JP_nn(pc: u16) => cpu.set_pc(pc); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JpNn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | 0x7F, 1, 4, LD_A_A => unborrow!(cpu.set_a(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | 0x78, 1, 4, LD_A_B => unborrow!(cpu.set_a(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | 0x79, 1, 4, LD_A_C => unborrow!(cpu.set_a(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | 0x7A, 1, 4, LD_A_D => unborrow!(cpu.set_a(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | 0xC3, 3, 12, JP_nn(pc: u16) => cpu.set_pc(pc); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JpNn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | 0x7B, 1, 4, LD_A_E => unborrow!(cpu.set_a(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | 0x7C, 1, 4, LD_A_H => unborrow!(cpu.set_a(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | 0x7D, 1, 4, LD_A_L => unborrow!(cpu.set_a(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | 0x7F, 1, 4, LD_A_A => unborrow!(cpu.set_a(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_MDE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | 0x1A, 1, 8, LD_A_MDE => unborrow!(cpu.set_a(mem.read_u8(Addr(cpu.de())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdAMde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | 0x78, 1, 4, LD_A_B => unborrow!(cpu.set_a(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | 0x79, 1, 4, LD_A_C => unborrow!(cpu.set_a(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | 0x7A, 1, 4, LD_A_D => unborrow!(cpu.set_a(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | 0x7E, 1, 8, LD_A_MHL => unborrow!(cpu.set_a(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdAMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | 0x3E, 2, 8, LD_A_n(value: u8) => cpu.set_a(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_Mnn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | 0xFA, 3, 16, LD_A_Mnn(p: u16) => cpu.set_a(mem.read_u8(Addr(p))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdAMnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | 0x47, 1, 4, LD_B_A => unborrow!(cpu.set_b(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | 0x40, 1, 4, LD_B_B => unborrow!(cpu.set_b(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | 0x41, 1, 4, LD_B_C => unborrow!(cpu.set_b(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | 0x42, 1, 4, LD_B_D => unborrow!(cpu.set_b(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | 0x43, 1, 4, LD_B_E => unborrow!(cpu.set_b(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | 0x44, 1, 4, LD_B_H => unborrow!(cpu.set_b(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | 0x45, 1, 4, LD_B_L => unborrow!(cpu.set_b(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | 0x46, 1, 8, LD_B_MHL => unborrow!(cpu.set_b(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdBMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | 0x06, 2, 8, LD_B_n(value: u8) => cpu.set_b(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | 0x4F, 1, 4, LD_C_A => unborrow!(cpu.set_c(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | 0x48, 1, 4, LD_C_B => unborrow!(cpu.set_c(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | 0x49, 1, 4, LD_C_C => unborrow!(cpu.set_c(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | 0x4A, 1, 4, LD_C_D => unborrow!(cpu.set_c(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | 0x4B, 1, 4, LD_C_E => unborrow!(cpu.set_c(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | 0x4C, 1, 4, LD_C_H => unborrow!(cpu.set_c(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | 0x4D, 1, 4, LD_C_L => unborrow!(cpu.set_c(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | 0x4E, 1, 8, LD_C_MHL => unborrow!(cpu.set_c(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdCMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | 0x57, 1, 4, LD_D_A => unborrow!(cpu.set_d(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | 0x50, 1, 4, LD_D_B => unborrow!(cpu.set_d(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | 0x51, 1, 4, LD_D_C => unborrow!(cpu.set_d(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | 0x52, 1, 4, LD_D_D => unborrow!(cpu.set_d(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | 0x53, 1, 4, LD_D_E => unborrow!(cpu.set_d(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | 0x7B, 1, 4, LD_A_E => unborrow!(cpu.set_a(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | 0x54, 1, 4, LD_D_H => unborrow!(cpu.set_d(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | 0x55, 1, 4, LD_D_L => unborrow!(cpu.set_d(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | 0x0E, 2, 8, LD_C_n(value: u8) => cpu.set_c(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | 0x7C, 1, 4, LD_A_H => unborrow!(cpu.set_a(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | 0x56, 1, 8, LD_D_MHL => unborrow!(cpu.set_d(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdDMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | 0x5F, 1, 4, LD_E_A => unborrow!(cpu.set_e(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | 0x58, 1, 4, LD_E_B => unborrow!(cpu.set_e(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | 0x7D, 1, 4, LD_A_L => unborrow!(cpu.set_a(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | 0x59, 1, 4, LD_E_C => unborrow!(cpu.set_e(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | 0x5A, 1, 4, LD_E_D => unborrow!(cpu.set_e(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | 0x5B, 1, 4, LD_E_E => unborrow!(cpu.set_e(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | 0x5C, 1, 4, LD_E_H => unborrow!(cpu.set_e(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_MDE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | 0x1A, 1, 8, LD_A_MDE => unborrow!(cpu.set_a(mem.read_u8(Addr(cpu.de())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdAMde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | 0x5D, 1, 4, LD_E_L => unborrow!(cpu.set_e(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | 0x5E, 1, 8, LD_E_MHL => unborrow!(cpu.set_e(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdEMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | 0x7E, 1, 8, LD_A_MHL => unborrow!(cpu.set_a(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdAMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | 0x67, 1, 4, LD_H_A => unborrow!(cpu.set_h(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | 0x60, 1, 4, LD_H_B => unborrow!(cpu.set_h(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | 0x61, 1, 4, LD_H_C => unborrow!(cpu.set_h(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | 0x3E, 2, 8, LD_A_n(value: u8) => cpu.set_a(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdAN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 171 | 0x62, 1, 4, LD_H_D => unborrow!(cpu.set_h(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | 0x63, 1, 4, LD_H_E => unborrow!(cpu.set_h(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | 0x64, 1, 4, LD_H_H => unborrow!(cpu.set_h(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_Mnn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | 0xFA, 3, 16, LD_A_Mnn(p: u16) => cpu.set_a(mem.read_u8(Addr(p))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdAMnn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | 0x65, 1, 4, LD_H_L => unborrow!(cpu.set_h(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | 0x66, 1, 8, LD_H_MHL => unborrow!(cpu.set_h(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdHMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | 0x26, 2, 8, LD_H_n(value: u8) => cpu.set_h(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | 0x47, 1, 4, LD_B_A => unborrow!(cpu.set_b(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | 0x6F, 1, 4, LD_L_A => unborrow!(cpu.set_l(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | 0x68, 1, 4, LD_L_B => unborrow!(cpu.set_l(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | 0x69, 1, 4, LD_L_C => unborrow!(cpu.set_l(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | 0x40, 1, 4, LD_B_B => unborrow!(cpu.set_b(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 0x6A, 1, 4, LD_L_D => unborrow!(cpu.set_l(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 0x6B, 1, 4, LD_L_E => unborrow!(cpu.set_l(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | 0x41, 1, 4, LD_B_C => unborrow!(cpu.set_b(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | 0x6C, 1, 4, LD_L_H => unborrow!(cpu.set_l(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | 0x6D, 1, 4, LD_L_L => unborrow!(cpu.set_l(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | 0x6E, 1, 8, LD_L_MHL => unborrow!(cpu.set_l(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdLMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | 0x42, 1, 4, LD_B_D => unborrow!(cpu.set_b(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | 0x2E, 2, 8, LD_L_n(value: u8) => cpu.set_l(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_BC_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | 0x01, 3, 12, LD_BC_nn(value: u16) => cpu.set_bc(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdBcNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | 0x43, 1, 4, LD_B_E => unborrow!(cpu.set_b(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_DE_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | 0x11, 3, 12, LD_DE_nn(value: u16) => cpu.set_de(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdDeNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_HL_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | 0x21, 3, 12, LD_HL_nn(value: u16) => cpu.set_hl(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdHlNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | 0x44, 1, 4, LD_B_H => unborrow!(cpu.set_b(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_SP_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | 0x31, 3, 12, LD_SP_nn(value: u16) => cpu.set_sp(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdSpNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MDE_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | 0x12, 1, 8, LD_MDE_A => mem.write_u8(Addr(cpu.de()), cpu.a()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMdeA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | 0x45, 1, 4, LD_B_L => unborrow!(cpu.set_b(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | 0x77, 1, 8, LD_MHL_A => mem.write_u8(Addr(cpu.hl()), cpu.a()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | 0x70, 1, 8, LD_MHL_B => mem.write_u8(Addr(cpu.hl()), cpu.b()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | 0x71, 1, 8, LD_MHL_C => mem.write_u8(Addr(cpu.hl()), cpu.c()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | 0x46, 1, 8, LD_B_MHL => unborrow!(cpu.set_b(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdBMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | 0x72, 1, 8, LD_MHL_D => mem.write_u8(Addr(cpu.hl()), cpu.d()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | 0x73, 1, 8, LD_MHL_E => mem.write_u8(Addr(cpu.hl()), cpu.e()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_B_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | 0x06, 2, 8, LD_B_n(value: u8) => cpu.set_b(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdBN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | 0x74, 1, 8, LD_MHL_H => mem.write_u8(Addr(cpu.hl()), cpu.h()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | 0x75, 1, 8, LD_MHL_L => mem.write_u8(Addr(cpu.hl()), cpu.l()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | 0x4F, 1, 4, LD_C_A => unborrow!(cpu.set_c(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_Mnn_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | 0xEA, 3, 16, LD_Mnn_A(p: u16) => mem.write_u8(Addr(p), cpu.a()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMnnA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_Mn_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | 0xE0, 2, 12, LD_Mn_A(p: u8) => mem.write_u8(Addr(0xFF00 + p as u16), cpu.a()); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LdMnA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LDI_A_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | 0x2A, 1, 8, LDI_A_MHL => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LdiAMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | 0x48, 1, 4, LD_C_B => unborrow!(cpu.set_c(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LDI_MHL_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | 0x22, 1, 8, LDI_MHL_A => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LdiMhlA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LDD_MHL_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | 0x32, 1, 8, LDD_MHL_A => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LddMhlA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | 0x49, 1, 4, LD_C_C => unborrow!(cpu.set_c(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_Mn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | 0xF0, 2, 12, LD_A_Mn(offset: u8) => unborrow!(cpu.set_a(mem.read_u8(Addr(0xFF00 + offset as u16)))); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LdAMn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_NZ_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | 0xC4, 3, 12, CALL_NZ_nn(addr: u16) => if !cpu.flag_z() { cpu.call(mem, addr) }; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CallNzNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | 0x4A, 1, 4, LD_C_D => unborrow!(cpu.set_c(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | 0xCD, 3, 12, CALL_nn(addr: u16) => cpu.call(mem, addr); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CallNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | 0xE9, 1, 4, JP_HL => unborrow!(cpu.set_pc(cpu.hl())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JpHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | 0x4B, 1, 4, LD_C_E => unborrow!(cpu.set_c(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_NZ_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | 0xC2, 3, 12, JP_NZ_nn(addr: u16) => if !cpu.flag_z() { cpu.set_pc(addr) }; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `JpNzNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 148 | 0x4C, 1, 4, LD_C_H => unborrow!(cpu.set_c(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | 0x4D, 1, 4, LD_C_L => unborrow!(cpu.set_c(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | 0x4E, 1, 8, LD_C_MHL => unborrow!(cpu.set_c(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdCMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | 0x57, 1, 4, LD_D_A => unborrow!(cpu.set_d(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | 0x50, 1, 4, LD_D_B => unborrow!(cpu.set_d(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | 0x51, 1, 4, LD_D_C => unborrow!(cpu.set_d(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | 0x52, 1, 4, LD_D_D => unborrow!(cpu.set_d(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | 0x53, 1, 4, LD_D_E => unborrow!(cpu.set_d(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | 0x54, 1, 4, LD_D_H => unborrow!(cpu.set_d(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | 0x55, 1, 4, LD_D_L => unborrow!(cpu.set_d(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdDL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_C_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | 0x0E, 2, 8, LD_C_n(value: u8) => cpu.set_c(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdCN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_D_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | 0x56, 1, 8, LD_D_MHL => unborrow!(cpu.set_d(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdDMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | 0x5F, 1, 4, LD_E_A => unborrow!(cpu.set_e(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | 0x58, 1, 4, LD_E_B => unborrow!(cpu.set_e(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | 0x59, 1, 4, LD_E_C => unborrow!(cpu.set_e(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | 0x5A, 1, 4, LD_E_D => unborrow!(cpu.set_e(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | 0x5B, 1, 4, LD_E_E => unborrow!(cpu.set_e(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | 0x5C, 1, 4, LD_E_H => unborrow!(cpu.set_e(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | 0x5D, 1, 4, LD_E_L => unborrow!(cpu.set_e(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_E_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | 0x5E, 1, 8, LD_E_MHL => unborrow!(cpu.set_e(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdEMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | 0x67, 1, 4, LD_H_A => unborrow!(cpu.set_h(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | 0x60, 1, 4, LD_H_B => unborrow!(cpu.set_h(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | 0x18, 2, 8, JR_n(offset: i8) => cpu.jump_routine(offset); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `JrN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_NZ_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | 0x20, 2, 8, JR_NZ_n(offset: i8) => if !cpu.flag_z() { cpu.jump_routine(offset) }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `JrNzN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_Z` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | 0x28, 2, 8, JR_Z(offset: i8) => if cpu.flag_z() { cpu.jump_routine(offset) }; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `JrZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_NC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | 0x30, 2, 8, JR_NC(offset: i8) => if !cpu.flag_c() { cpu.jump_routine(offset) }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JrNc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_Z` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | 0xC8, 1, 8, RET_Z => if cpu.flag_z() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RetZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_NZ` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | 0xC0, 1, 8, RET_NZ => if !cpu.flag_z() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RetNz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | 0xD8, 1, 8, RET_C => if cpu.flag_c() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RetC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_NC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | 0xD0, 1, 8, RET_NC => if !cpu.flag_c() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RetNc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_AF` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | 0xF5, 1, 16, PUSH_AF => unborrow!(cpu.push_u16(mem, cpu.af())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushAf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_BC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | 0xC5, 1, 16, PUSH_BC => unborrow!(cpu.push_u16(mem, cpu.bc())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_DE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | 0xD5, 1, 16, PUSH_DE => unborrow!(cpu.push_u16(mem, cpu.de())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | 0xE5, 1, 16, PUSH_HL => unborrow!(cpu.push_u16(mem, cpu.hl())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_AF` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | 0xF1, 1, 12, POP_AF => unborrow!(cpu.set_af(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopAf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_BC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | 0xC1, 1, 12, POP_BC => unborrow!(cpu.set_bc(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_DE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | 0xD1, 1, 12, POP_DE => unborrow!(cpu.set_de(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | 0xE1, 1, 12, POP_HL => unborrow!(cpu.set_hl(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_HL_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | 0x29, 1, 8, ADD_HL_HL => unborrow!(cpu.add_hl(cpu.hl())); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AddHlHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | 0xC6, 2, 8, ADD_n(amount: u8) => cpu.add(amount); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AddN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SUB_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | 0xD6, 2, 8, SUB_n(amount: u8) => cpu.sub(amount); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `SubN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADC_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | 0x8A, 1, 4, ADC_D => unborrow!(cpu.add_carry(cpu.d())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AdcD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:170:18 [INFO] [stdout] | [INFO] [stdout] 170 | 0x61, 1, 4, LD_H_C => unborrow!(cpu.set_h(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:171:18 [INFO] [stdout] | [INFO] [stdout] 171 | 0x62, 1, 4, LD_H_D => unborrow!(cpu.set_h(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | 0x63, 1, 4, LD_H_E => unborrow!(cpu.set_h(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | 0x64, 1, 4, LD_H_H => unborrow!(cpu.set_h(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | 0x65, 1, 4, LD_H_L => unborrow!(cpu.set_h(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | 0x66, 1, 8, LD_H_MHL => unborrow!(cpu.set_h(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdHMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_H_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | 0x26, 2, 8, LD_H_n(value: u8) => cpu.set_h(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdHN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | 0x6F, 1, 4, LD_L_A => unborrow!(cpu.set_l(cpu.a())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | 0x68, 1, 4, LD_L_B => unborrow!(cpu.set_l(cpu.b())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | 0x69, 1, 4, LD_L_C => unborrow!(cpu.set_l(cpu.c())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 0x6A, 1, 4, LD_L_D => unborrow!(cpu.set_l(cpu.d())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | 0x6B, 1, 4, LD_L_E => unborrow!(cpu.set_l(cpu.e())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | 0x6C, 1, 4, LD_L_H => unborrow!(cpu.set_l(cpu.h())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | 0x6D, 1, 4, LD_L_L => unborrow!(cpu.set_l(cpu.l())); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | 0x6E, 1, 8, LD_L_MHL => unborrow!(cpu.set_l(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdLMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_L_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | 0x2E, 2, 8, LD_L_n(value: u8) => cpu.set_l(value); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LdLN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_BC_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | 0x01, 3, 12, LD_BC_nn(value: u16) => cpu.set_bc(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdBcNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_DE_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | 0x11, 3, 12, LD_DE_nn(value: u16) => cpu.set_de(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdDeNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_HL_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | 0x21, 3, 12, LD_HL_nn(value: u16) => cpu.set_hl(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdHlNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_SP_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | 0x31, 3, 12, LD_SP_nn(value: u16) => cpu.set_sp(value); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdSpNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MDE_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | 0x12, 1, 8, LD_MDE_A => mem.write_u8(Addr(cpu.de()), cpu.a()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMdeA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | 0x77, 1, 8, LD_MHL_A => mem.write_u8(Addr(cpu.hl()), cpu.a()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | 0x70, 1, 8, LD_MHL_B => mem.write_u8(Addr(cpu.hl()), cpu.b()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | 0x71, 1, 8, LD_MHL_C => mem.write_u8(Addr(cpu.hl()), cpu.c()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:194:18 [INFO] [stdout] | [INFO] [stdout] 194 | 0x72, 1, 8, LD_MHL_D => mem.write_u8(Addr(cpu.hl()), cpu.d()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | 0x73, 1, 8, LD_MHL_E => mem.write_u8(Addr(cpu.hl()), cpu.e()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:196:18 [INFO] [stdout] | [INFO] [stdout] 196 | 0x74, 1, 8, LD_MHL_H => mem.write_u8(Addr(cpu.hl()), cpu.h()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_MHL_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | 0x75, 1, 8, LD_MHL_L => mem.write_u8(Addr(cpu.hl()), cpu.l()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMhlL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_Mnn_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | 0xEA, 3, 16, LD_Mnn_A(p: u16) => mem.write_u8(Addr(p), cpu.a()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LdMnnA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_Mn_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | 0xE0, 2, 12, LD_Mn_A(p: u8) => mem.write_u8(Addr(0xFF00 + p as u16), cpu.a()); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LdMnA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LDI_A_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | 0x2A, 1, 8, LDI_A_MHL => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LdiAMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LDI_MHL_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | 0x22, 1, 8, LDI_MHL_A => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LdiMhlA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LDD_MHL_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | 0x32, 1, 8, LDD_MHL_A => { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LddMhlA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LD_A_Mn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | 0xF0, 2, 12, LD_A_Mn(offset: u8) => unborrow!(cpu.set_a(mem.read_u8(Addr(0xFF00 + offset as u16)))); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LdAMn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_NZ_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | 0xC4, 3, 12, CALL_NZ_nn(addr: u16) => if !cpu.flag_z() { cpu.call(mem, addr) }; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CallNzNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | 0xCD, 3, 12, CALL_nn(addr: u16) => cpu.call(mem, addr); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CallNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | 0xE9, 1, 4, JP_HL => unborrow!(cpu.set_pc(cpu.hl())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JpHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JP_NZ_nn` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | 0xC2, 3, 12, JP_NZ_nn(addr: u16) => if !cpu.flag_z() { cpu.set_pc(addr) }; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `JpNzNn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | 0x18, 2, 8, JR_n(offset: i8) => cpu.jump_routine(offset); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `JrN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_NZ_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:219:18 [INFO] [stdout] | [INFO] [stdout] 219 | 0x20, 2, 8, JR_NZ_n(offset: i8) => if !cpu.flag_z() { cpu.jump_routine(offset) }; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `JrNzN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_Z` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | 0x28, 2, 8, JR_Z(offset: i8) => if cpu.flag_z() { cpu.jump_routine(offset) }; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `JrZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADC_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | 0xCE, 2, 8, ADC_n(amount: u8) => cpu.add_carry(amount); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AdcN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | 0x3C, 1, 4, INC_A => cpu.incr_a(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | 0x04, 1, 4, INC_B => cpu.incr_b(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | 0x0C, 1, 4, INC_C => cpu.incr_c(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | 0x14, 1, 4, INC_D => cpu.incr_d(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | 0x1C, 1, 4, INC_E => cpu.incr_e(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | 0x24, 1, 4, INC_H => cpu.incr_h(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | 0x2C, 1, 4, INC_L => cpu.incr_l(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_BC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | 0x03, 1, 8, INC_BC => cpu.incr_bc(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `IncBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_DE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | 0x13, 1, 8, INC_DE => cpu.incr_de(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `IncDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | 0x23, 1, 8, INC_HL => cpu.incr_hl(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `IncHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | 0x34, 1, 12, INC_MHL => cpu.incr_mhl(mem); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `IncMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | 0x3D, 1, 4, DEC_A => cpu.decr_a(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | 0x05, 1, 4, DEC_B => cpu.decr_b(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | 0x0D, 1, 4, DEC_C => cpu.decr_c(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | 0x15, 1, 4, DEC_D => cpu.decr_d(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | 0x1D, 1, 4, DEC_E => cpu.decr_e(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | 0x25, 1, 4, DEC_H => cpu.decr_h(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | 0x2D, 1, 4, DEC_L => cpu.decr_l(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | 0x35, 1, 12, DEC_MHL => cpu.decr_mhl(mem); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `DecMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | 0xB7, 1, 4, OR_A => unborrow!(cpu.or(cpu.a())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `OrA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:260:18 [INFO] [stdout] | [INFO] [stdout] 260 | 0xB0, 1, 4, OR_B => unborrow!(cpu.or(cpu.b())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `OrB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | 0xB1, 1, 4, OR_C => unborrow!(cpu.or(cpu.c())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `OrC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | 0xB6, 1, 8, OR_MHL => unborrow!(cpu.or(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OrMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AND_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | 0xE6, 2, 8, AND_n(value: u8) => cpu.and(value); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AndN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | 0xAE, 1, 8, XOR_MHL => unborrow!(cpu.xor(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `XorMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | 0xAF, 1, 4, XOR_A => unborrow!(cpu.xor(cpu.a())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | 0xA8, 1, 4, XOR_B => unborrow!(cpu.xor(cpu.b())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | 0xA9, 1, 4, XOR_C => unborrow!(cpu.xor(cpu.c())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 268 | 0xAA, 1, 4, XOR_D => unborrow!(cpu.xor(cpu.d())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | 0xAB, 1, 4, XOR_E => unborrow!(cpu.xor(cpu.e())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:270:18 [INFO] [stdout] | [INFO] [stdout] 270 | 0xAC, 1, 4, XOR_H => unborrow!(cpu.xor(cpu.h())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | 0xAD, 1, 4, XOR_L => unborrow!(cpu.xor(cpu.l())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | 0xEE, 2, 8, XOR_n(value: u8) => cpu.xor(value); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CP_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | 0xB9, 1, 4, CP_C => unborrow!(cpu.compare(cpu.c())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `CpC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CP_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:274:18 [INFO] [stdout] | [INFO] [stdout] 274 | 0xFE, 2, 8, CP_n(value: u8) => unborrow!(cpu.compare(value)); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `CpN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SRL_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | 0x38, 1, 8, SRL_B => cpu.shift_right_logical_b(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `SrlB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RR_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | 0x19, 1, 8, RR_C => cpu.rotate_right_c(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `RrC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RR_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | 0x1A, 1, 8, RR_D => cpu.rotate_right_d(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `RrD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RR_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `RrE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> src/memory.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, Add, Sub, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | mapper: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Mapper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | 0xFF80 ... 0xFFFE => InternalRam128(addr - 0xFF80), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 0xFF4C ... 0xFF7F => Empty, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | 0xFF00 ... 0xFF4B => IOStub, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | 0xFEA0 ... 0xFEFF => Empty, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | 0xFE00 ... 0xFE9F => OAM(addr - 0xFE00), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | 0xE000 ... 0xFDFF => InternalRam8k(addr - 0xE000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | 0xC000 ... 0xDFFF => InternalRam8k(addr - 0xC000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | 0xA000 ... 0xBFFF => SwitchableRam, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | 0x8000 ... 0x9FFF => VRAM(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | 0x4000 ... 0x7FFF => SwitchableRom, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JR_NC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | 0x30, 2, 8, JR_NC(offset: i8) => if !cpu.flag_c() { cpu.jump_routine(offset) }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `JrNc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_Z` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | 0xC8, 1, 8, RET_Z => if cpu.flag_z() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RetZ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_NZ` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | 0xC0, 1, 8, RET_NZ => if !cpu.flag_z() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RetNz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | 0xD8, 1, 8, RET_C => if cpu.flag_c() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `RetC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RET_NC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | 0xD0, 1, 8, RET_NC => if !cpu.flag_c() { RET.execute(cpu, mem) }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `RetNc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_AF` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | 0xF5, 1, 16, PUSH_AF => unborrow!(cpu.push_u16(mem, cpu.af())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushAf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_BC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | 0xC5, 1, 16, PUSH_BC => unborrow!(cpu.push_u16(mem, cpu.bc())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_DE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | 0xD5, 1, 16, PUSH_DE => unborrow!(cpu.push_u16(mem, cpu.de())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PUSH_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | 0xE5, 1, 16, PUSH_HL => unborrow!(cpu.push_u16(mem, cpu.hl())); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `PushHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_AF` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | 0xF1, 1, 12, POP_AF => unborrow!(cpu.set_af(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopAf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_BC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | 0xC1, 1, 12, POP_BC => unborrow!(cpu.set_bc(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_DE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | 0xD1, 1, 12, POP_DE => unborrow!(cpu.set_de(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `POP_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | 0xE1, 1, 12, POP_HL => unborrow!(cpu.set_hl(cpu.pop_u16(mem))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `PopHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_HL_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | 0x29, 1, 8, ADD_HL_HL => unborrow!(cpu.add_hl(cpu.hl())); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AddHlHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | 0xC6, 2, 8, ADD_n(amount: u8) => cpu.add(amount); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AddN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SUB_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | 0xD6, 2, 8, SUB_n(amount: u8) => cpu.sub(amount); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `SubN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADC_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | 0x8A, 1, 4, ADC_D => unborrow!(cpu.add_carry(cpu.d())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AdcD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADC_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | 0xCE, 2, 8, ADC_n(amount: u8) => cpu.add_carry(amount); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AdcN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | 0x3C, 1, 4, INC_A => cpu.incr_a(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 241 | 0x04, 1, 4, INC_B => cpu.incr_b(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | 0x0C, 1, 4, INC_C => cpu.incr_c(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | 0x14, 1, 4, INC_D => cpu.incr_d(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | 0x1C, 1, 4, INC_E => cpu.incr_e(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | 0x24, 1, 4, INC_H => cpu.incr_h(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | 0x2C, 1, 4, INC_L => cpu.incr_l(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IncL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_BC` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | 0x03, 1, 8, INC_BC => cpu.incr_bc(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `IncBc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_DE` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | 0x13, 1, 8, INC_DE => cpu.incr_de(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `IncDe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_HL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | 0x23, 1, 8, INC_HL => cpu.incr_hl(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `IncHl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INC_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | 0x34, 1, 12, INC_MHL => cpu.incr_mhl(mem); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `IncMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | 0x3D, 1, 4, DEC_A => cpu.decr_a(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | 0x05, 1, 4, DEC_B => cpu.decr_b(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | 0x0D, 1, 4, DEC_C => cpu.decr_c(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | 0x15, 1, 4, DEC_D => cpu.decr_d(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:255:18 [INFO] [stdout] | [INFO] [stdout] 255 | 0x1D, 1, 4, DEC_E => cpu.decr_e(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | 0x25, 1, 4, DEC_H => cpu.decr_h(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | 0x2D, 1, 4, DEC_L => cpu.decr_l(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `DecL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEC_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | 0x35, 1, 12, DEC_MHL => cpu.decr_mhl(mem); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `DecMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | 0xB7, 1, 4, OR_A => unborrow!(cpu.or(cpu.a())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `OrA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:260:18 [INFO] [stdout] | [INFO] [stdout] 260 | 0xB0, 1, 4, OR_B => unborrow!(cpu.or(cpu.b())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `OrB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | 0x0000 ... 0x3FFF => ROM0(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(file.read_to_end(&mut rom.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RomMbc1_Ram` should have an upper camel case name [INFO] [stdout] --> src/rom.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | RomMbc1_Ram = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RomMbc1Ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 0xA000 ... 0xBFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 0x4000 ... 0x7FFF => rom[*addr as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | 0x6000 ... 0x7FFF => self.select_memory_model(value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | 0x4000 ... 0x5FFF => self.select_rom_bank(value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapper/mod.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_rom(rom: &Rom) -> Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Mapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | 0xB1, 1, 4, OR_C => unborrow!(cpu.or(cpu.c())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `OrC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OR_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | 0xB6, 1, 8, OR_MHL => unborrow!(cpu.or(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `OrMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AND_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | 0xE6, 2, 8, AND_n(value: u8) => cpu.and(value); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `AndN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_MHL` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | 0xAE, 1, 8, XOR_MHL => unborrow!(cpu.xor(mem.read_u8(Addr(cpu.hl())))); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `XorMhl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_A` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | 0xAF, 1, 4, XOR_A => unborrow!(cpu.xor(cpu.a())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | 0xA8, 1, 4, XOR_B => unborrow!(cpu.xor(cpu.b())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | 0xA9, 1, 4, XOR_C => unborrow!(cpu.xor(cpu.c())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 268 | 0xAA, 1, 4, XOR_D => unborrow!(cpu.xor(cpu.d())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | 0xAB, 1, 4, XOR_E => unborrow!(cpu.xor(cpu.e())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_H` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:270:18 [INFO] [stdout] | [INFO] [stdout] 270 | 0xAC, 1, 4, XOR_H => unborrow!(cpu.xor(cpu.h())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_L` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | 0xAD, 1, 4, XOR_L => unborrow!(cpu.xor(cpu.l())); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XOR_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | 0xEE, 2, 8, XOR_n(value: u8) => cpu.xor(value); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `XorN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CP_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | 0xB9, 1, 4, CP_C => unborrow!(cpu.compare(cpu.c())); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `CpC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CP_n` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:274:18 [INFO] [stdout] | [INFO] [stdout] 274 | 0xFE, 2, 8, CP_n(value: u8) => unborrow!(cpu.compare(value)); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `CpN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SRL_B` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | 0x38, 1, 8, SRL_B => cpu.shift_right_logical_b(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `SrlB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RR_C` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | 0x19, 1, 8, RR_C => cpu.rotate_right_c(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `RrC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RR_D` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | 0x1A, 1, 8, RR_D => cpu.rotate_right_d(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `RrD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RR_E` should have an upper camel case name [INFO] [stdout] --> src/instructions.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `RrE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Index` [INFO] [stdout] --> src/memory.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, Add, Sub, Index}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | mapper: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Mapper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | 0xFF80 ... 0xFFFE => InternalRam128(addr - 0xFF80), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 0xFF4C ... 0xFF7F => Empty, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | 0xFF00 ... 0xFF4B => IOStub, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | 0xFEA0 ... 0xFEFF => Empty, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | 0xFE00 ... 0xFE9F => OAM(addr - 0xFE00), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | 0xE000 ... 0xFDFF => InternalRam8k(addr - 0xE000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | 0xC000 ... 0xDFFF => InternalRam8k(addr - 0xC000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | 0xA000 ... 0xBFFF => SwitchableRam, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | 0x8000 ... 0x9FFF => VRAM(addr - 0x8000), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | 0x4000 ... 0x7FFF => SwitchableRom, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | 0x0000 ... 0x3FFF => ROM0(addr), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rom.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(file.read_to_end(&mut rom.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RomMbc1_Ram` should have an upper camel case name [INFO] [stdout] --> src/rom.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | RomMbc1_Ram = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RomMbc1Ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 0xA000 ... 0xBFFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 0x4000 ... 0x7FFF => rom[*addr as usize], [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | 0x6000 ... 0x7FFF => self.select_memory_model(value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/mapper/mbc1.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | 0x4000 ... 0x5FFF => self.select_rom_bank(value), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapper/mod.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_rom(rom: &Rom) -> Box { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Mapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/instructions.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/memory.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | _ => Stub [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let cycles = inst.cycles(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/instructions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $addr = $addr + 1; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] ... [INFO] [stdout] 280 | / instructions! { [INFO] [stdout] 281 | | ExtendedInstruction [INFO] [stdout] 282 | | |cpu, mem, addr| [INFO] [stdout] 283 | | // op, len, cycles [INFO] [stdout] ... | [INFO] [stdout] 287 | | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/instructions.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn execute(&self, $cpu: &mut Cpu, $mem: &mut Memory) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] ... [INFO] [stdout] 280 | / instructions! { [INFO] [stdout] 281 | | ExtendedInstruction [INFO] [stdout] 282 | | |cpu, mem, addr| [INFO] [stdout] 283 | | // op, len, cycles [INFO] [stdout] ... | [INFO] [stdout] 287 | | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/memory.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | ROM0(offset) => write_stub("ROM bank #0", *addr, value), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mapper/mbc1.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn write_u8(&mut self, rom: &[u8], addr: Addr, value: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/instructions.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instructions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $addr = $addr + 1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 280 | / instructions! { [INFO] [stdout] 281 | | ExtendedInstruction [INFO] [stdout] 282 | | |cpu, mem, addr| [INFO] [stdout] 283 | | // op, len, cycles [INFO] [stdout] ... | [INFO] [stdout] 287 | | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/memory.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | _ => Stub [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/cpu.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let cycles = inst.cycles(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/instructions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $addr = $addr + 1; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] ... [INFO] [stdout] 280 | / instructions! { [INFO] [stdout] 281 | | ExtendedInstruction [INFO] [stdout] 282 | | |cpu, mem, addr| [INFO] [stdout] 283 | | // op, len, cycles [INFO] [stdout] ... | [INFO] [stdout] 287 | | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/instructions.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn execute(&self, $cpu: &mut Cpu, $mem: &mut Memory) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] ... [INFO] [stdout] 280 | / instructions! { [INFO] [stdout] 281 | | ExtendedInstruction [INFO] [stdout] 282 | | |cpu, mem, addr| [INFO] [stdout] 283 | | // op, len, cycles [INFO] [stdout] ... | [INFO] [stdout] 287 | | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/memory.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | ROM0(offset) => write_stub("ROM bank #0", *addr, value), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/mapper/mbc1.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn write_u8(&mut self, rom: &[u8], addr: Addr, value: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NINTENDO_LOGO` [INFO] [stdout] --> src/header.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const NINTENDO_LOGO: [u8; 0x30] = [ [INFO] [stdout] 2 | | 0xCE, 0xED, 0x66, 0x66, 0xCC, 0x0D, 0x00, 0x0B, [INFO] [stdout] 3 | | 0x03, 0x73, 0x00, 0x83, 0x00, 0x0C, 0x00, 0x0D, [INFO] [stdout] 4 | | 0x00, 0x08, 0x11, 0x1F, 0x88, 0x89, 0x00, 0x0E, [INFO] [stdout] ... | [INFO] [stdout] 7 | | 0xDD, 0xDC, 0x99, 0x9F, 0xBB, 0xB9, 0x33, 0x3E, [INFO] [stdout] 8 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `entry_point` [INFO] [stdout] --> src/header.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn entry_point(rom: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title` [INFO] [stdout] --> src/header.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn title(rom: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manufacturer` [INFO] [stdout] --> src/header.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn manufacturer(rom: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `version` [INFO] [stdout] --> src/header.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn version(rom: &[u8]) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_u8` [INFO] [stdout] --> src/cpu.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn push_u8(&mut self, mem: &mut Memory, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_u8` [INFO] [stdout] --> src/cpu.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn pop_u8(&mut self, mem: &mut Memory) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decr_hl` [INFO] [stdout] --> src/cpu.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn decr_hl(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interrupts_enabled` [INFO] [stdout] --> src/cpu.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn interrupts_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag_n` [INFO] [stdout] --> src/cpu.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn flag_n(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag_h` [INFO] [stdout] --> src/cpu.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn flag_h(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `LE` [INFO] [stdout] --> src/instructions.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type LE = LittleEndian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/memory.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn size(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_range` [INFO] [stdout] --> src/memory.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn in_range(self, start: u16, end: u16) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/instructions.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $addr = $addr + 1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 280 | / instructions! { [INFO] [stdout] 281 | | ExtendedInstruction [INFO] [stdout] 282 | | |cpu, mem, addr| [INFO] [stdout] 283 | | // op, len, cycles [INFO] [stdout] ... | [INFO] [stdout] 287 | | 0x1B, 1, 8, RR_E => cpu.rotate_right_e(); [INFO] [stdout] 288 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | ::std::io::stdin().read_line(&mut cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 196 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NINTENDO_LOGO` [INFO] [stdout] --> src/header.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub const NINTENDO_LOGO: [u8; 0x30] = [ [INFO] [stdout] 2 | | 0xCE, 0xED, 0x66, 0x66, 0xCC, 0x0D, 0x00, 0x0B, [INFO] [stdout] 3 | | 0x03, 0x73, 0x00, 0x83, 0x00, 0x0C, 0x00, 0x0D, [INFO] [stdout] 4 | | 0x00, 0x08, 0x11, 0x1F, 0x88, 0x89, 0x00, 0x0E, [INFO] [stdout] ... | [INFO] [stdout] 7 | | 0xDD, 0xDC, 0x99, 0x9F, 0xBB, 0xB9, 0x33, 0x3E, [INFO] [stdout] 8 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `entry_point` [INFO] [stdout] --> src/header.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn entry_point(rom: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title` [INFO] [stdout] --> src/header.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn title(rom: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manufacturer` [INFO] [stdout] --> src/header.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn manufacturer(rom: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `version` [INFO] [stdout] --> src/header.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn version(rom: &[u8]) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_u8` [INFO] [stdout] --> src/cpu.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn push_u8(&mut self, mem: &mut Memory, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_u8` [INFO] [stdout] --> src/cpu.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn pop_u8(&mut self, mem: &mut Memory) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decr_hl` [INFO] [stdout] --> src/cpu.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn decr_hl(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interrupts_enabled` [INFO] [stdout] --> src/cpu.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn interrupts_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag_n` [INFO] [stdout] --> src/cpu.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn flag_n(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag_h` [INFO] [stdout] --> src/cpu.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn flag_h(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `LE` [INFO] [stdout] --> src/instructions.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type LE = LittleEndian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/memory.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn size(&self) -> u16 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `in_range` [INFO] [stdout] --> src/memory.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn in_range(self, start: u16, end: u16) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/cpu.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | ::std::io::stdin().read_line(&mut cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 196 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "bcbe2ee305454305ae1681a0a38c75b3e9c3823e084e077614d2919dc5a0e765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcbe2ee305454305ae1681a0a38c75b3e9c3823e084e077614d2919dc5a0e765", kill_on_drop: false }` [INFO] [stdout] bcbe2ee305454305ae1681a0a38c75b3e9c3823e084e077614d2919dc5a0e765