[INFO] cloning repository https://github.com/kjl56/gbemu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjl56/gbemu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjl56%2Fgbemu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjl56%2Fgbemu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a065cdb697df29ee92c9859641d2b0137957b4ee [INFO] checking kjl56/gbemu against try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjl56%2Fgbemu" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjl56/gbemu on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kjl56/gbemu [INFO] finished tweaking git repo https://github.com/kjl56/gbemu [INFO] tweaked toml for git repo https://github.com/kjl56/gbemu written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kjl56/gbemu already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7432f7585ef09b7eecb3c7411f2ec8d9c9ebbe959d97be8809c39f77e060ee5e [INFO] running `Command { std: "docker" "start" "-a" "7432f7585ef09b7eecb3c7411f2ec8d9c9ebbe959d97be8809c39f77e060ee5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7432f7585ef09b7eecb3c7411f2ec8d9c9ebbe959d97be8809c39f77e060ee5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7432f7585ef09b7eecb3c7411f2ec8d9c9ebbe959d97be8809c39f77e060ee5e", kill_on_drop: false }` [INFO] [stdout] 7432f7585ef09b7eecb3c7411f2ec8d9c9ebbe959d97be8809c39f77e060ee5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1bf983bd3d9cfdf6b2a9000b16b6b1fa4330cedf2a38c2e11d7249ba819fa58 [INFO] running `Command { std: "docker" "start" "-a" "a1bf983bd3d9cfdf6b2a9000b16b6b1fa4330cedf2a38c2e11d7249ba819fa58", kill_on_drop: false }` [INFO] [stderr] Checking gbemu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | Instruction::ADC(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | Instruction::SUB(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | Instruction::AND(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | Instruction::XOR(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | Instruction::OR(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | Instruction::CP(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | ArithmeticSource::A => {let val = self.subtract(self.registers.a); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | ArithmeticSource::B => {let val = self.subtract(self.registers.b); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | ArithmeticSource::C => {let val = self.subtract(self.registers.c); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | ArithmeticSource::D => {let val = self.subtract(self.registers.d); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:265:39 [INFO] [stdout] | [INFO] [stdout] 265 | ArithmeticSource::E => {let val = self.subtract(self.registers.e); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | ArithmeticSource::H => {let val = self.subtract(self.registers.h); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:267:39 [INFO] [stdout] | [INFO] [stdout] 267 | ArithmeticSource::L => {let val = self.subtract(self.registers.l); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:268:40 [INFO] [stdout] | [INFO] [stdout] 268 | ArithmeticSource::HL => {let val = self.subtract(self.bus.read_byte(self.registers.get_hl())); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:269:40 [INFO] [stdout] | [INFO] [stdout] 269 | ArithmeticSource::D8 => {let val = self.subtract(self.read_next_byte()); self.pc.wrapping_add(2)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | Instruction::JR(test, target) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/cpu/cpu.rs:423:34 [INFO] [stdout] | [INFO] [stdout] 423 | LoadType::Byte(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:538:31 [INFO] [stdout] | [INFO] [stdout] 538 | Instruction::CALL(test, target) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | Instruction::ADC(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | Instruction::SUB(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | Instruction::AND(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:197:24 [INFO] [stdout] | [INFO] [stdout] 197 | Instruction::XOR(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | Instruction::OR(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:259:23 [INFO] [stdout] | [INFO] [stdout] 259 | Instruction::CP(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | ArithmeticSource::A => {let val = self.subtract(self.registers.a); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | ArithmeticSource::B => {let val = self.subtract(self.registers.b); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | ArithmeticSource::C => {let val = self.subtract(self.registers.c); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | ArithmeticSource::D => {let val = self.subtract(self.registers.d); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:265:39 [INFO] [stdout] | [INFO] [stdout] 265 | ArithmeticSource::E => {let val = self.subtract(self.registers.e); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | ArithmeticSource::H => {let val = self.subtract(self.registers.h); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:267:39 [INFO] [stdout] | [INFO] [stdout] 267 | ArithmeticSource::L => {let val = self.subtract(self.registers.l); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:268:40 [INFO] [stdout] | [INFO] [stdout] 268 | ArithmeticSource::HL => {let val = self.subtract(self.bus.read_byte(self.registers.get_hl())); self.pc.wrapping_add(1)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu/cpu.rs:269:40 [INFO] [stdout] | [INFO] [stdout] 269 | ArithmeticSource::D8 => {let val = self.subtract(self.read_next_byte()); self.pc.wrapping_add(2)}, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | Instruction::JR(test, target) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/cpu/cpu.rs:423:34 [INFO] [stdout] | [INFO] [stdout] 423 | LoadType::Byte(target, source) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cpu/cpu.rs:538:31 [INFO] [stdout] | [INFO] [stdout] 538 | Instruction::CALL(test, target) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instructions.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 385 | _ => /*todo: add mapping for rest of instructions*/ None [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu/instructions.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 129 | 0x00 => Some(Instruction::RLC(RotateTarget::B)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 130 | 0x01 => Some(Instruction::RLC(RotateTarget::C)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 131 | 0x02 => Some(Instruction::RLC(RotateTarget::D)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 132 | 0x03 => Some(Instruction::RLC(RotateTarget::E)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 385 | _ => /*todo: add mapping for rest of instructions*/ None [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/instructions.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 385 | _ => /*todo: add mapping for rest of instructions*/ None [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu/instructions.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 129 | 0x00 => Some(Instruction::RLC(RotateTarget::B)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 130 | 0x01 => Some(Instruction::RLC(RotateTarget::C)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 131 | 0x02 => Some(Instruction::RLC(RotateTarget::D)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 132 | 0x03 => Some(Instruction::RLC(RotateTarget::E)), [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 385 | _ => /*todo: add mapping for rest of instructions*/ None [INFO] [stdout] | ^ ...and 252 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | SBC(ArithmeticTarget, ArithmeticSource), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 63 - SBC(ArithmeticTarget, ArithmeticSource), [INFO] [stdout] 63 + SBC((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | RL(RotateTarget), [INFO] [stdout] | -- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 81 - RL(RotateTarget), [INFO] [stdout] 81 + RL(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | RLC(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 83 - RLC(RotateTarget), [INFO] [stdout] 83 + RLC(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | RRC(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 87 - RRC(RotateTarget), [INFO] [stdout] 87 + RRC(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | SLA(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 - SLA(RotateTarget), [INFO] [stdout] 89 + SLA(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | SRA(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - SRA(RotateTarget), [INFO] [stdout] 90 + SRA(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | SWAP(RotateTarget), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - SWAP(RotateTarget), [INFO] [stdout] 92 + SWAP(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | BIT(TestBit, TestTarget), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 101 - BIT(TestBit, TestTarget), [INFO] [stdout] 101 + BIT((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | RES(TestBit, TestTarget), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 102 - RES(TestBit, TestTarget), [INFO] [stdout] 102 + RES((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | SET(TestBit, TestTarget), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 - SET(TestBit, TestTarget), [INFO] [stdout] 103 + SET((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | RST(JumpTarget), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 - RST(JumpTarget), [INFO] [stdout] 107 + RST(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VRAM_SIZE` is never used [INFO] [stdout] --> src/memory/membus.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const VRAM_SIZE: usize = VRAM_END - VRAM_BEGIN + 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_tile` is never used [INFO] [stdout] --> src/gpu/gpu.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn empty_tile() -> Tile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | SBC(ArithmeticTarget, ArithmeticSource), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 63 - SBC(ArithmeticTarget, ArithmeticSource), [INFO] [stdout] 63 + SBC((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | RL(RotateTarget), [INFO] [stdout] | -- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 81 - RL(RotateTarget), [INFO] [stdout] 81 + RL(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | RLC(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 83 - RLC(RotateTarget), [INFO] [stdout] 83 + RLC(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | RRC(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 87 - RRC(RotateTarget), [INFO] [stdout] 87 + RRC(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | SLA(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 - SLA(RotateTarget), [INFO] [stdout] 89 + SLA(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | SRA(RotateTarget), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 90 - SRA(RotateTarget), [INFO] [stdout] 90 + SRA(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | SWAP(RotateTarget), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 92 - SWAP(RotateTarget), [INFO] [stdout] 92 + SWAP(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | BIT(TestBit, TestTarget), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 101 - BIT(TestBit, TestTarget), [INFO] [stdout] 101 + BIT((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | RES(TestBit, TestTarget), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 102 - RES(TestBit, TestTarget), [INFO] [stdout] 102 + RES((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/cpu/instructions.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | SET(TestBit, TestTarget), [INFO] [stdout] | --- ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 103 - SET(TestBit, TestTarget), [INFO] [stdout] 103 + SET((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu/instructions.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | RST(JumpTarget), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 - RST(JumpTarget), [INFO] [stdout] 107 + RST(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VRAM_SIZE` is never used [INFO] [stdout] --> src/memory/membus.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const VRAM_SIZE: usize = VRAM_END - VRAM_BEGIN + 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_tile` is never used [INFO] [stdout] --> src/gpu/gpu.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn empty_tile() -> Tile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/cpu.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(self.logfile, "{}", cpustate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cpu/cpu.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(self.logfile, "{}", cpustate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "a1bf983bd3d9cfdf6b2a9000b16b6b1fa4330cedf2a38c2e11d7249ba819fa58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bf983bd3d9cfdf6b2a9000b16b6b1fa4330cedf2a38c2e11d7249ba819fa58", kill_on_drop: false }` [INFO] [stdout] a1bf983bd3d9cfdf6b2a9000b16b6b1fa4330cedf2a38c2e11d7249ba819fa58