[INFO] cloning repository https://github.com/hebriel/wakeboy-i [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hebriel/wakeboy-i" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhebriel%2Fwakeboy-i", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhebriel%2Fwakeboy-i'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ac19bb1f95934579865cb99a66bf0dd3bc44045 [INFO] checking hebriel/wakeboy-i against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhebriel%2Fwakeboy-i" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hebriel/wakeboy-i on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hebriel/wakeboy-i [INFO] finished tweaking git repo https://github.com/hebriel/wakeboy-i [INFO] tweaked toml for git repo https://github.com/hebriel/wakeboy-i written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hebriel/wakeboy-i 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking hebriel/wakeboy-i against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhebriel%2Fwakeboy-i" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hebriel/wakeboy-i on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hebriel/wakeboy-i [INFO] finished tweaking git repo https://github.com/hebriel/wakeboy-i [INFO] tweaked toml for git repo https://github.com/hebriel/wakeboy-i written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hebriel/wakeboy-i 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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.10 [INFO] [stderr] Downloaded proc-macro-error v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a801cae318d60d5262bbd8018e72b4556f6a3b6891827e8ad18d456e1859c078 [INFO] running `Command { std: "docker" "start" "-a" "a801cae318d60d5262bbd8018e72b4556f6a3b6891827e8ad18d456e1859c078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a801cae318d60d5262bbd8018e72b4556f6a3b6891827e8ad18d456e1859c078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a801cae318d60d5262bbd8018e72b4556f6a3b6891827e8ad18d456e1859c078", kill_on_drop: false }` [INFO] [stdout] a801cae318d60d5262bbd8018e72b4556f6a3b6891827e8ad18d456e1859c078 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51fe057a2b9aa2bccb6c54bfa7f9de8af5ec97e85804329ecd89d31aa3b2fcba [INFO] running `Command { std: "docker" "start" "-a" "51fe057a2b9aa2bccb6c54bfa7f9de8af5ec97e85804329ecd89d31aa3b2fcba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.10 [INFO] [stderr] Compiling proc-macro-error v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Checking structopt v0.3.11 [INFO] [stderr] Checking wakeboy-i v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::core::*` [INFO] [stdout] --> src/wakeboy/aluops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::core::*` [INFO] [stdout] --> src/wakeboy/aluops.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/wakeboy/cpu.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn execute(&mut self, instruction: &Instruction) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let rom: Vec = match opt.input.to_str() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/wakeboy/cpu.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn execute(&mut self, instruction: &Instruction) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | LDmnnSP (u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 10 - LDmnnSP (u16), [INFO] [stdout] 10 + LDmnnSP (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | LDrrNN (Reg16, u16), [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 11 - LDrrNN (Reg16, u16), [INFO] [stdout] 11 + LDrrNN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | ADDhlRR (Reg16), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 12 - ADDhlRR (Reg16), [INFO] [stdout] 12 + ADDhlRR (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | LDmrrA (Reg16), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 13 - LDmrrA (Reg16), [INFO] [stdout] 13 + LDmrrA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | LDaMRR (Reg16), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 - LDaMRR (Reg16), [INFO] [stdout] 14 + LDaMRR (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | INCrr (Reg16), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 - INCrr (Reg16), [INFO] [stdout] 15 + INCrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | DECrr (Reg16), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 16 - DECrr (Reg16), [INFO] [stdout] 16 + DECrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | INCr (Reg8), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 17 - INCr (Reg8), [INFO] [stdout] 17 + INCr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | DECr (Reg8), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 18 - DECr (Reg8), [INFO] [stdout] 18 + DECr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | LDrN (Reg8, u8), [INFO] [stdout] | ---- ^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 19 - LDrN (Reg8, u8), [INFO] [stdout] 19 + LDrN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | RdCA (Direction), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 20 - RdCA (Direction), [INFO] [stdout] 20 + RdCA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RdA (Direction), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 21 - RdA (Direction), [INFO] [stdout] 21 + RdA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | JRe (u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 23 - JRe (u8), [INFO] [stdout] 23 + JRe (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | JRcE (Conditional, u8), [INFO] [stdout] | ---- ^^^^^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 24 - JRcE (Conditional, u8), [INFO] [stdout] 24 + JRcE ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | LDrR (Reg8, Reg8), [INFO] [stdout] | ---- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 33 - LDrR (Reg8, Reg8), [INFO] [stdout] 33 + LDrR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | ALUaR (Operation, Reg8), [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 35 - ALUaR (Operation, Reg8), [INFO] [stdout] 35 + ALUaR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | ALUaN (Operation, u8), [INFO] [stdout] | ----- ^^^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 36 - ALUaN (Operation, u8), [INFO] [stdout] 36 + ALUaN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | POPrr (Reg16), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 37 - POPrr (Reg16), [INFO] [stdout] 37 + POPrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | PUSHrr (Reg16), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 38 - PUSHrr (Reg16), [INFO] [stdout] 38 + PUSHrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | RSTn (u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 - RSTn (u8), [INFO] [stdout] 39 + RSTn (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | RETc (Conditional), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 - RETc (Conditional), [INFO] [stdout] 40 + RETc (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rom` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let rom: Vec = match opt.input.to_str() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | JPcNN (Conditional, u16), [INFO] [stdout] | ----- ^^^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 43 - JPcNN (Conditional, u16), [INFO] [stdout] 43 + JPcNN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | JPnn (u16), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 - JPnn (u16), [INFO] [stdout] 44 + JPnn (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | CALLcNN (Conditional, u16), [INFO] [stdout] | ------- ^^^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 45 - CALLcNN (Conditional, u16), [INFO] [stdout] 45 + CALLcNN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | CALLnn (u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 - CALLnn (u16), [INFO] [stdout] 46 + CALLnn (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | ADDspN (u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 47 - ADDspN (u8), [INFO] [stdout] 47 + ADDspN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | LDhlSPpN (u8), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 48 - LDhlSPpN (u8), [INFO] [stdout] 48 + LDhlSPpN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | LDmzpPnA (u8), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 49 - LDmzpPnA (u8), [INFO] [stdout] 49 + LDmzpPnA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | LDaMZPpN (u8), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 50 - LDaMZPpN (u8), [INFO] [stdout] 50 + LDaMZPpN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | LDmnnA (u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 53 - LDmnnA (u16), [INFO] [stdout] 53 + LDmnnA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | LDaMNN (u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 54 - LDaMNN (u16), [INFO] [stdout] 54 + LDaMNN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | RdCr (Direction, Reg8), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 59 - RdCr (Direction, Reg8), [INFO] [stdout] 59 + RdCr ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | RdR (Direction, Reg8), [INFO] [stdout] | --- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 60 - RdR (Direction, Reg8), [INFO] [stdout] 60 + RdR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | SdAr (Direction, Reg8), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 61 - SdAr (Direction, Reg8), [INFO] [stdout] 61 + SdAr ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | SWAPr (Reg8), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 62 - SWAPr (Reg8), [INFO] [stdout] 62 + SWAPr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | SRLr (Reg8), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 63 - SRLr (Reg8), [INFO] [stdout] 63 + SRLr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | BITnR (u8, Reg8), [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 64 - BITnR (u8, Reg8), [INFO] [stdout] 64 + BITnR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | RESnR (u8, Reg8), [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 65 - RESnR (u8, Reg8), [INFO] [stdout] 65 + RESnR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | SETnR (u8, Reg8), [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 66 - SETnR (u8, Reg8), [INFO] [stdout] 66 + SETnR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wakeboy/registers.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | pub a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 19 | pub b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 20 | pub c: u8, [INFO] [stdout] | ^ [INFO] [stdout] 21 | pub d: u8, [INFO] [stdout] | ^ [INFO] [stdout] 22 | pub e: u8, [INFO] [stdout] | ^ [INFO] [stdout] 23 | pub f: u8, [INFO] [stdout] | ^ [INFO] [stdout] 24 | pub sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_byte` and `write_2bytes` are never used [INFO] [stdout] --> src/wakeboy/bus.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl MemoryBus { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn write_byte(&mut self, address: usize, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_2bytes(&mut self, address: usize, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/wakeboy/bus.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | &self.rom_mem[..256].clone_from_slice(boot_rom); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = &self.rom_mem[..256].clone_from_slice(boot_rom); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | LDmnnSP (u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 10 - LDmnnSP (u16), [INFO] [stdout] 10 + LDmnnSP (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | LDrrNN (Reg16, u16), [INFO] [stdout] | ------ ^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 11 - LDrrNN (Reg16, u16), [INFO] [stdout] 11 + LDrrNN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | ADDhlRR (Reg16), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 12 - ADDhlRR (Reg16), [INFO] [stdout] 12 + ADDhlRR (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | LDmrrA (Reg16), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 13 - LDmrrA (Reg16), [INFO] [stdout] 13 + LDmrrA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | LDaMRR (Reg16), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 - LDaMRR (Reg16), [INFO] [stdout] 14 + LDaMRR (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | INCrr (Reg16), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 15 - INCrr (Reg16), [INFO] [stdout] 15 + INCrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | DECrr (Reg16), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 16 - DECrr (Reg16), [INFO] [stdout] 16 + DECrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | INCr (Reg8), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 17 - INCr (Reg8), [INFO] [stdout] 17 + INCr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | DECr (Reg8), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 18 - DECr (Reg8), [INFO] [stdout] 18 + DECr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | LDrN (Reg8, u8), [INFO] [stdout] | ---- ^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 19 - LDrN (Reg8, u8), [INFO] [stdout] 19 + LDrN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | RdCA (Direction), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 20 - RdCA (Direction), [INFO] [stdout] 20 + RdCA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RdA (Direction), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 21 - RdA (Direction), [INFO] [stdout] 21 + RdA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | JRe (u8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 23 - JRe (u8), [INFO] [stdout] 23 + JRe (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | JRcE (Conditional, u8), [INFO] [stdout] | ---- ^^^^^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 24 - JRcE (Conditional, u8), [INFO] [stdout] 24 + JRcE ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | LDrR (Reg8, Reg8), [INFO] [stdout] | ---- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 33 - LDrR (Reg8, Reg8), [INFO] [stdout] 33 + LDrR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | ALUaR (Operation, Reg8), [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 35 - ALUaR (Operation, Reg8), [INFO] [stdout] 35 + ALUaR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | ALUaN (Operation, u8), [INFO] [stdout] | ----- ^^^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 36 - ALUaN (Operation, u8), [INFO] [stdout] 36 + ALUaN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | POPrr (Reg16), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 37 - POPrr (Reg16), [INFO] [stdout] 37 + POPrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | PUSHrr (Reg16), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 38 - PUSHrr (Reg16), [INFO] [stdout] 38 + PUSHrr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | RSTn (u8), [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 39 - RSTn (u8), [INFO] [stdout] 39 + RSTn (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | RETc (Conditional), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 40 - RETc (Conditional), [INFO] [stdout] 40 + RETc (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | JPcNN (Conditional, u16), [INFO] [stdout] | ----- ^^^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 43 - JPcNN (Conditional, u16), [INFO] [stdout] 43 + JPcNN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | JPnn (u16), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 - JPnn (u16), [INFO] [stdout] 44 + JPnn (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | CALLcNN (Conditional, u16), [INFO] [stdout] | ------- ^^^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 45 - CALLcNN (Conditional, u16), [INFO] [stdout] 45 + CALLcNN ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | CALLnn (u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 - CALLnn (u16), [INFO] [stdout] 46 + CALLnn (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | ADDspN (u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 47 - ADDspN (u8), [INFO] [stdout] 47 + ADDspN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | LDhlSPpN (u8), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 48 - LDhlSPpN (u8), [INFO] [stdout] 48 + LDhlSPpN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | LDmzpPnA (u8), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 49 - LDmzpPnA (u8), [INFO] [stdout] 49 + LDmzpPnA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | LDaMZPpN (u8), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 50 - LDaMZPpN (u8), [INFO] [stdout] 50 + LDaMZPpN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | LDmnnA (u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 53 - LDmnnA (u16), [INFO] [stdout] 53 + LDmnnA (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | LDaMNN (u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 54 - LDaMNN (u16), [INFO] [stdout] 54 + LDaMNN (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | RdCr (Direction, Reg8), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 59 - RdCr (Direction, Reg8), [INFO] [stdout] 59 + RdCr ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | RdR (Direction, Reg8), [INFO] [stdout] | --- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 60 - RdR (Direction, Reg8), [INFO] [stdout] 60 + RdR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | SdAr (Direction, Reg8), [INFO] [stdout] | ---- ^^^^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 61 - SdAr (Direction, Reg8), [INFO] [stdout] 61 + SdAr ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | SWAPr (Reg8), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 62 - SWAPr (Reg8), [INFO] [stdout] 62 + SWAPr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wakeboy/instructions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | SRLr (Reg8), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 63 - SRLr (Reg8), [INFO] [stdout] 63 + SRLr (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | BITnR (u8, Reg8), [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 64 - BITnR (u8, Reg8), [INFO] [stdout] 64 + BITnR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | RESnR (u8, Reg8), [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 65 - RESnR (u8, Reg8), [INFO] [stdout] 65 + RESnR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/wakeboy/instructions.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | SETnR (u8, Reg8), [INFO] [stdout] | ----- ^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 66 - SETnR (u8, Reg8), [INFO] [stdout] 66 + SETnR ((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/wakeboy/registers.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Registers { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | pub a: u8, [INFO] [stdout] | ^ [INFO] [stdout] 19 | pub b: u8, [INFO] [stdout] | ^ [INFO] [stdout] 20 | pub c: u8, [INFO] [stdout] | ^ [INFO] [stdout] 21 | pub d: u8, [INFO] [stdout] | ^ [INFO] [stdout] 22 | pub e: u8, [INFO] [stdout] | ^ [INFO] [stdout] 23 | pub f: u8, [INFO] [stdout] | ^ [INFO] [stdout] 24 | pub sp: u16, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_byte` and `write_2bytes` are never used [INFO] [stdout] --> src/wakeboy/bus.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 28 | impl MemoryBus { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn write_byte(&mut self, address: usize, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_2bytes(&mut self, address: usize, data: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/wakeboy/bus.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | &self.rom_mem[..256].clone_from_slice(boot_rom); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = &self.rom_mem[..256].clone_from_slice(boot_rom); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.71s [INFO] running `Command { std: "docker" "inspect" "51fe057a2b9aa2bccb6c54bfa7f9de8af5ec97e85804329ecd89d31aa3b2fcba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fe057a2b9aa2bccb6c54bfa7f9de8af5ec97e85804329ecd89d31aa3b2fcba", kill_on_drop: false }` [INFO] [stdout] 51fe057a2b9aa2bccb6c54bfa7f9de8af5ec97e85804329ecd89d31aa3b2fcba