[INFO] cloning repository https://github.com/srleyva/GameboyGen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/srleyva/GameboyGen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrleyva%2FGameboyGen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrleyva%2FGameboyGen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1aa6e83a32521ea2061252b376c5cbbb06edf13 [INFO] checking srleyva/GameboyGen against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrleyva%2FGameboyGen" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/srleyva/GameboyGen on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/srleyva/GameboyGen [INFO] finished tweaking git repo https://github.com/srleyva/GameboyGen [INFO] tweaked toml for git repo https://github.com/srleyva/GameboyGen written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/srleyva/GameboyGen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e9f618256c3fa700b54c270f9b0bd0899b206c363682c846b4183f83ffd5bd6 [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" "0e9f618256c3fa700b54c270f9b0bd0899b206c363682c846b4183f83ffd5bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e9f618256c3fa700b54c270f9b0bd0899b206c363682c846b4183f83ffd5bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e9f618256c3fa700b54c270f9b0bd0899b206c363682c846b4183f83ffd5bd6", kill_on_drop: false }` [INFO] [stdout] 0e9f618256c3fa700b54c270f9b0bd0899b206c363682c846b4183f83ffd5bd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9be0b402be1725c7bab9750d95504b8c75fc6d447bc1b0a96b88a809c46ecc24 [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" "9be0b402be1725c7bab9750d95504b8c75fc6d447bc1b0a96b88a809c46ecc24", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking Gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OpValue` [INFO] [stdout] --> src/cpu/mod.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | use instructions::{instructions::instruction_from_byte, OpValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpValue` [INFO] [stdout] --> src/cpu/mod.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | use instructions::{instructions::instruction_from_byte, OpValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instructions/functions.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!("Not implemented: {}", instruction), [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/mod.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let (next_pc, cycles) = execute(self, op_value, next_instruction).unwrap(); [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: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn nop(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn inc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn dec(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rlca(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn add(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn rrca(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn stop(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn rla(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn jr(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn rra(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn daa(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn cpl(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn scf(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn ccf(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:232:28 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn halt(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn adc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn sub(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn sbc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn and(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn xor(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn or(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn cp(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn ret(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn pop(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn jp(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn call(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn push(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn rst(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn prefix(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn reti(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn ldh(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn di(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn ei(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn rlc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:392:27 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn rrc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn rl(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn rr(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:416:27 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn sla(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn sra(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:432:28 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn swap(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn srl(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn bit(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:456:27 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn res(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:464:27 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn set(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instructions/functions.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!("Not implemented: {}", instruction), [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/mod.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let (next_pc, cycles) = execute(self, op_value, next_instruction).unwrap(); [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: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn nop(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn inc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn dec(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rlca(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn add(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn rrca(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn stop(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn rla(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn jr(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn rra(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn daa(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn cpl(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn scf(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:224:27 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn ccf(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:232:28 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn halt(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:240:27 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn adc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn sub(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:256:27 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn sbc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn and(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn xor(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn or(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn cp(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn ret(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn pop(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn jp(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn call(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:328:28 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn push(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn rst(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn prefix(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn reti(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn ldh(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn di(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn ei(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn rlc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:392:27 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn rrc(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:400:26 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn rl(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn rr(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:416:27 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn sla(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn sra(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:432:28 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn swap(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn srl(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:448:27 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn bit(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:456:27 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn res(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_value` [INFO] [stdout] --> src/cpu/instructions/functions.rs:464:27 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn set(cpu: &mut CPU, op_value: &OpValue, instruction: &Instruction) -> Option<(u16, u16)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `halted` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | halted: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Gameboy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `gameboy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sp` [INFO] [stdout] --> src/cpu/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sp: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `halted` [INFO] [stdout] --> src/cpu/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | halted: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Gameboy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `gameboy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Gameboy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `gameboy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Gameboy` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `gameboy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "9be0b402be1725c7bab9750d95504b8c75fc6d447bc1b0a96b88a809c46ecc24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be0b402be1725c7bab9750d95504b8c75fc6d447bc1b0a96b88a809c46ecc24", kill_on_drop: false }` [INFO] [stdout] 9be0b402be1725c7bab9750d95504b8c75fc6d447bc1b0a96b88a809c46ecc24