[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] testing hebriel/wakeboy-i against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhebriel%2Fwakeboy-i" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hebriel/wakeboy-i on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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 structopt-derive v0.4.4 [INFO] [stderr] Downloaded structopt v0.3.11 [INFO] [stderr] Downloaded proc-macro-error v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a224a06b0ff91e82cbf52f6b61bcc2c2cdd199d886995424f375a36ea169a1 [INFO] running `Command { std: "docker" "start" "-a" "d5a224a06b0ff91e82cbf52f6b61bcc2c2cdd199d886995424f375a36ea169a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a224a06b0ff91e82cbf52f6b61bcc2c2cdd199d886995424f375a36ea169a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a224a06b0ff91e82cbf52f6b61bcc2c2cdd199d886995424f375a36ea169a1", kill_on_drop: false }` [INFO] [stdout] d5a224a06b0ff91e82cbf52f6b61bcc2c2cdd199d886995424f375a36ea169a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e59a1bfd823d37749f9bc008b2358930dc1ba209fa0e8eb3960616e6f35c9de7 [INFO] running `Command { std: "docker" "start" "-a" "e59a1bfd823d37749f9bc008b2358930dc1ba209fa0e8eb3960616e6f35c9de7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.10 [INFO] [stderr] Compiling proc-macro-error v0.4.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling 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] Compiling structopt v0.3.11 [INFO] [stderr] Compiling 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 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: 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 17.16s [INFO] running `Command { std: "docker" "inspect" "e59a1bfd823d37749f9bc008b2358930dc1ba209fa0e8eb3960616e6f35c9de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59a1bfd823d37749f9bc008b2358930dc1ba209fa0e8eb3960616e6f35c9de7", kill_on_drop: false }` [INFO] [stdout] e59a1bfd823d37749f9bc008b2358930dc1ba209fa0e8eb3960616e6f35c9de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2ac47bcb73530c43bdbb868ea02db8845be649f81cce72dffa19149f8de9720e [INFO] running `Command { std: "docker" "start" "-a" "2ac47bcb73530c43bdbb868ea02db8845be649f81cce72dffa19149f8de9720e", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "2ac47bcb73530c43bdbb868ea02db8845be649f81cce72dffa19149f8de9720e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac47bcb73530c43bdbb868ea02db8845be649f81cce72dffa19149f8de9720e", kill_on_drop: false }` [INFO] [stdout] 2ac47bcb73530c43bdbb868ea02db8845be649f81cce72dffa19149f8de9720e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9bad172e44e7fbf2f6ac567abee165e797a86e12b06e13a653b1c51cc64370b2 [INFO] running `Command { std: "docker" "start" "-a" "9bad172e44e7fbf2f6ac567abee165e797a86e12b06e13a653b1c51cc64370b2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::core::*` [INFO] [stderr] --> src/wakeboy/aluops.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::core::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instruction` [INFO] [stderr] --> src/wakeboy/cpu.rs:32:28 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn execute(&mut self, instruction: &Instruction) -> (u16, bool) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rom` [INFO] [stderr] --> src/main.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | let rom: Vec = match opt.input.to_str() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rom` [INFO] [stderr] [INFO] [stderr] warning: field `debug` is never read [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 11 | struct Opt { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | debug: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | LDmnnSP (u16), [INFO] [stderr] | ------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - LDmnnSP (u16), [INFO] [stderr] 10 + LDmnnSP (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | LDrrNN (Reg16, u16), [INFO] [stderr] | ------ ^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 11 - LDrrNN (Reg16, u16), [INFO] [stderr] 11 + LDrrNN ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | ADDhlRR (Reg16), [INFO] [stderr] | ------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 12 - ADDhlRR (Reg16), [INFO] [stderr] 12 + ADDhlRR (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | LDmrrA (Reg16), [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - LDmrrA (Reg16), [INFO] [stderr] 13 + LDmrrA (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | LDaMRR (Reg16), [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 14 - LDaMRR (Reg16), [INFO] [stderr] 14 + LDaMRR (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | INCrr (Reg16), [INFO] [stderr] | ----- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - INCrr (Reg16), [INFO] [stderr] 15 + INCrr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | DECrr (Reg16), [INFO] [stderr] | ----- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - DECrr (Reg16), [INFO] [stderr] 16 + DECrr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | INCr (Reg8), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - INCr (Reg8), [INFO] [stderr] 17 + INCr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | DECr (Reg8), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - DECr (Reg8), [INFO] [stderr] 18 + DECr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | LDrN (Reg8, u8), [INFO] [stderr] | ---- ^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 19 - LDrN (Reg8, u8), [INFO] [stderr] 19 + LDrN ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | RdCA (Direction), [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 20 - RdCA (Direction), [INFO] [stderr] 20 + RdCA (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | RdA (Direction), [INFO] [stderr] | --- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 21 - RdA (Direction), [INFO] [stderr] 21 + RdA (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | JRe (u8), [INFO] [stderr] | --- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 23 - JRe (u8), [INFO] [stderr] 23 + JRe (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | JRcE (Conditional, u8), [INFO] [stderr] | ---- ^^^^^^^^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 24 - JRcE (Conditional, u8), [INFO] [stderr] 24 + JRcE ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | LDrR (Reg8, Reg8), [INFO] [stderr] | ---- ^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 33 - LDrR (Reg8, Reg8), [INFO] [stderr] 33 + LDrR ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | ALUaR (Operation, Reg8), [INFO] [stderr] | ----- ^^^^^^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 35 - ALUaR (Operation, Reg8), [INFO] [stderr] 35 + ALUaR ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | ALUaN (Operation, u8), [INFO] [stderr] | ----- ^^^^^^^^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 36 - ALUaN (Operation, u8), [INFO] [stderr] 36 + ALUaN ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | POPrr (Reg16), [INFO] [stderr] | ----- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - POPrr (Reg16), [INFO] [stderr] 37 + POPrr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | PUSHrr (Reg16), [INFO] [stderr] | ------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 38 - PUSHrr (Reg16), [INFO] [stderr] 38 + PUSHrr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | RSTn (u8), [INFO] [stderr] | ---- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 39 - RSTn (u8), [INFO] [stderr] 39 + RSTn (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | RETc (Conditional), [INFO] [stderr] | ---- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 40 - RETc (Conditional), [INFO] [stderr] 40 + RETc (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | JPcNN (Conditional, u16), [INFO] [stderr] | ----- ^^^^^^^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 43 - JPcNN (Conditional, u16), [INFO] [stderr] 43 + JPcNN ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | JPnn (u16), [INFO] [stderr] | ---- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 44 - JPnn (u16), [INFO] [stderr] 44 + JPnn (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | CALLcNN (Conditional, u16), [INFO] [stderr] | ------- ^^^^^^^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 45 - CALLcNN (Conditional, u16), [INFO] [stderr] 45 + CALLcNN ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | CALLnn (u16), [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 46 - CALLnn (u16), [INFO] [stderr] 46 + CALLnn (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | ADDspN (u8), [INFO] [stderr] | ------ ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 47 - ADDspN (u8), [INFO] [stderr] 47 + ADDspN (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | LDhlSPpN (u8), [INFO] [stderr] | -------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 48 - LDhlSPpN (u8), [INFO] [stderr] 48 + LDhlSPpN (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | LDmzpPnA (u8), [INFO] [stderr] | -------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 49 - LDmzpPnA (u8), [INFO] [stderr] 49 + LDmzpPnA (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | LDaMZPpN (u8), [INFO] [stderr] | -------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 50 - LDaMZPpN (u8), [INFO] [stderr] 50 + LDaMZPpN (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | LDmnnA (u16), [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 53 - LDmnnA (u16), [INFO] [stderr] 53 + LDmnnA (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | LDaMNN (u16), [INFO] [stderr] | ------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 54 - LDaMNN (u16), [INFO] [stderr] 54 + LDaMNN (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | RdCr (Direction, Reg8), [INFO] [stderr] | ---- ^^^^^^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 59 - RdCr (Direction, Reg8), [INFO] [stderr] 59 + RdCr ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | RdR (Direction, Reg8), [INFO] [stderr] | --- ^^^^^^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 60 - RdR (Direction, Reg8), [INFO] [stderr] 60 + RdR ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | SdAr (Direction, Reg8), [INFO] [stderr] | ---- ^^^^^^^^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 61 - SdAr (Direction, Reg8), [INFO] [stderr] 61 + SdAr ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | SWAPr (Reg8), [INFO] [stderr] | ----- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 62 - SWAPr (Reg8), [INFO] [stderr] 62 + SWAPr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/wakeboy/instructions.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | SRLr (Reg8), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 63 - SRLr (Reg8), [INFO] [stderr] 63 + SRLr (()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | BITnR (u8, Reg8), [INFO] [stderr] | ----- ^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 64 - BITnR (u8, Reg8), [INFO] [stderr] 64 + BITnR ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | RESnR (u8, Reg8), [INFO] [stderr] | ----- ^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 65 - RESnR (u8, Reg8), [INFO] [stderr] 65 + RESnR ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/wakeboy/instructions.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | SETnR (u8, Reg8), [INFO] [stderr] | ----- ^^ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 66 - SETnR (u8, Reg8), [INFO] [stderr] 66 + SETnR ((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/wakeboy/registers.rs:18:6 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Registers { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 18 | pub a: u8, [INFO] [stderr] | ^ [INFO] [stderr] 19 | pub b: u8, [INFO] [stderr] | ^ [INFO] [stderr] 20 | pub c: u8, [INFO] [stderr] | ^ [INFO] [stderr] 21 | pub d: u8, [INFO] [stderr] | ^ [INFO] [stderr] 22 | pub e: u8, [INFO] [stderr] | ^ [INFO] [stderr] 23 | pub f: u8, [INFO] [stderr] | ^ [INFO] [stderr] 24 | pub sp: u16, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: methods `write_byte` and `write_2bytes` are never used [INFO] [stderr] --> src/wakeboy/bus.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 28 | impl MemoryBus { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn write_byte(&mut self, address: usize, data: u8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub fn write_2bytes(&mut self, address: usize, data: u16) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/wakeboy/bus.rs:175:3 [INFO] [stderr] | [INFO] [stderr] 175 | &self.rom_mem[..256].clone_from_slice(boot_rom); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 175 | let _ = &self.rom_mem[..256].clone_from_slice(boot_rom); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `wakeboy-i` (bin "wakeboy-i" test) generated 46 warnings (run `cargo fix --bin "wakeboy-i" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/wakeboy_i-a97a6546767a70a0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9bad172e44e7fbf2f6ac567abee165e797a86e12b06e13a653b1c51cc64370b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bad172e44e7fbf2f6ac567abee165e797a86e12b06e13a653b1c51cc64370b2", kill_on_drop: false }` [INFO] [stdout] 9bad172e44e7fbf2f6ac567abee165e797a86e12b06e13a653b1c51cc64370b2