[INFO] cloning repository https://github.com/sheric98/RustGB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sheric98/RustGB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsheric98%2FRustGB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsheric98%2FRustGB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c51b65a8027df9814e1bcb7fbcc7d1da6b480928 [INFO] testing sheric98/RustGB against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsheric98%2FRustGB" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sheric98/RustGB on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sheric98/RustGB [INFO] finished tweaking git repo https://github.com/sheric98/RustGB [INFO] tweaked toml for git repo https://github.com/sheric98/RustGB written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/sheric98/RustGB already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7841e7908237786ebac0fb2fa6e48bb70bbe5ef8f6d1fc60cbd0e72244d412cd [INFO] running `Command { std: "docker" "start" "-a" "7841e7908237786ebac0fb2fa6e48bb70bbe5ef8f6d1fc60cbd0e72244d412cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7841e7908237786ebac0fb2fa6e48bb70bbe5ef8f6d1fc60cbd0e72244d412cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7841e7908237786ebac0fb2fa6e48bb70bbe5ef8f6d1fc60cbd0e72244d412cd", kill_on_drop: false }` [INFO] [stdout] 7841e7908237786ebac0fb2fa6e48bb70bbe5ef8f6d1fc60cbd0e72244d412cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfd4c921a7bee9b140394c5d986871f12f4e081ce0d95b978007d1c02764d892 [INFO] running `Command { std: "docker" "start" "-a" "bfd4c921a7bee9b140394c5d986871f12f4e081ce0d95b978007d1c02764d892", kill_on_drop: false }` [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling RustGB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | mother: &mut Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cmd.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let out = a_val - v; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/cmd.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | let test = (val & (1 << pos)) == 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/motherboard.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_mem_at(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/motherboard.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/motherboard.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let mut val; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut val2; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reg` [INFO] [stdout] --> src/cmd.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Reg(Reg), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `N` [INFO] [stdout] --> src/cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | N, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NN` [INFO] [stdout] --> src/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NN, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NFlag` [INFO] [stdout] --> src/cmd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NFlag(Flag), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flag` [INFO] [stdout] --> src/cmd.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Flag(Flag), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cmd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | B(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cmd.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | H(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/cmd.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn size(&self) -> ByteSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `re` [INFO] [stdout] --> src/cmd.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | re: RegExt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mem` [INFO] [stdout] --> src/cmd.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | mem: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `change` [INFO] [stdout] --> src/cmd.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | change: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cmd.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(re: RegExt, mem: bool, change: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/cmd.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn size(&self) -> ByteSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CMD_INP_A` [INFO] [stdout] --> src/cmd.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / const CMD_INP_A: CmdInp = CmdInp { [INFO] [stdout] 62 | | re: RegExt::Reg(Reg::A), [INFO] [stdout] 63 | | mem: false, [INFO] [stdout] 64 | | change: 0, [INFO] [stdout] 65 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CMD_INP_PC` [INFO] [stdout] --> src/cmd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / const CMD_INP_PC: CmdInp = CmdInp { [INFO] [stdout] 68 | | re: RegExt::Reg(Reg::PC), [INFO] [stdout] 69 | | mem: false, [INFO] [stdout] 70 | | change: 0, [INFO] [stdout] 71 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_reg_ext_val` [INFO] [stdout] --> src/cmd.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_reg_ext_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `put_reg_ext_val` [INFO] [stdout] --> src/cmd.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn put_reg_ext_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_reg_ext_flag_val` [INFO] [stdout] --> src/cmd.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_reg_ext_flag_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_reg_ext_byte_val` [INFO] [stdout] --> src/cmd.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_reg_ext_byte_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_flag_val` [INFO] [stdout] --> src/cmd.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_flag_val( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ld` [INFO] [stdout] --> src/cmd.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn ld( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change_hl` [INFO] [stdout] --> src/cmd.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn change_hl(mother: &mut Motherboard, reg_ext: RegExt, inc: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ld_change` [INFO] [stdout] --> src/cmd.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn ld_change( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ldd` [INFO] [stdout] --> src/cmd.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ldd( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ldi` [INFO] [stdout] --> src/cmd.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn ldi( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ldhl` [INFO] [stdout] --> src/cmd.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn ldhl( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push` [INFO] [stdout] --> src/cmd.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn push( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pop` [INFO] [stdout] --> src/cmd.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn pop( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/cmd.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adc` [INFO] [stdout] --> src/cmd.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn adc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sub` [INFO] [stdout] --> src/cmd.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn sub( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sbc` [INFO] [stdout] --> src/cmd.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn sbc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and` [INFO] [stdout] --> src/cmd.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn and( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or` [INFO] [stdout] --> src/cmd.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn or( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/cmd.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn xor( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cp` [INFO] [stdout] --> src/cmd.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn cp( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inc` [INFO] [stdout] --> src/cmd.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn inc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec` [INFO] [stdout] --> src/cmd.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn dec( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `swap` [INFO] [stdout] --> src/cmd.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn swap( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `daa` [INFO] [stdout] --> src/cmd.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn daa( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpl` [INFO] [stdout] --> src/cmd.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn cpl( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ccf` [INFO] [stdout] --> src/cmd.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn ccf( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scf` [INFO] [stdout] --> src/cmd.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn scf( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nop` [INFO] [stdout] --> src/cmd.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn nop( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `halt` [INFO] [stdout] --> src/cmd.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn halt( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stop` [INFO] [stdout] --> src/cmd.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn stop( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `di` [INFO] [stdout] --> src/cmd.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn di( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ei` [INFO] [stdout] --> src/cmd.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn ei( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rlca` [INFO] [stdout] --> src/cmd.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn rlca( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rla` [INFO] [stdout] --> src/cmd.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn rla( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rrca` [INFO] [stdout] --> src/cmd.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn rrca( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rra` [INFO] [stdout] --> src/cmd.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn rra( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rlc` [INFO] [stdout] --> src/cmd.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn rlc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rl` [INFO] [stdout] --> src/cmd.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn rl( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rrc` [INFO] [stdout] --> src/cmd.rs:516:8 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn rrc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rr` [INFO] [stdout] --> src/cmd.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn rr( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sla` [INFO] [stdout] --> src/cmd.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn sla( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sra` [INFO] [stdout] --> src/cmd.rs:547:8 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn sra( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `srl` [INFO] [stdout] --> src/cmd.rs:557:8 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn srl( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit` [INFO] [stdout] --> src/cmd.rs:567:8 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn bit( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set` [INFO] [stdout] --> src/cmd.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn set( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `res` [INFO] [stdout] --> src/cmd.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn res( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jp` [INFO] [stdout] --> src/cmd.rs:601:8 [INFO] [stdout] | [INFO] [stdout] 601 | pub fn jp( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jp_flag` [INFO] [stdout] --> src/cmd.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn jp_flag( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jr` [INFO] [stdout] --> src/cmd.rs:620:8 [INFO] [stdout] | [INFO] [stdout] 620 | pub fn jr( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jr_flag` [INFO] [stdout] --> src/cmd.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn jr_flag( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call` [INFO] [stdout] --> src/cmd.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_flag` [INFO] [stdout] --> src/cmd.rs:652:8 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn call_flag( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rst` [INFO] [stdout] --> src/cmd.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn rst( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret` [INFO] [stdout] --> src/cmd.rs:674:8 [INFO] [stdout] | [INFO] [stdout] 674 | pub fn ret( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret_flag` [INFO] [stdout] --> src/cmd.rs:682:8 [INFO] [stdout] | [INFO] [stdout] 682 | pub fn ret_flag( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reti` [INFO] [stdout] --> src/cmd.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn reti( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `RegBytes` [INFO] [stdout] --> src/common.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub union RegBytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_single` [INFO] [stdout] --> src/common.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new_single(single: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_double` [INFO] [stdout] --> src/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_double(double: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_single` [INFO] [stdout] --> src/common.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_single(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_double` [INFO] [stdout] --> src/common.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_double(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ByteSize` [INFO] [stdout] --> src/common.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum ByteSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/cpu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cpu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | B, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/cpu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/cpu.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | D, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/cpu.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | E, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `F` [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | H, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/cpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BC` [INFO] [stdout] --> src/cpu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HL` [INFO] [stdout] --> src/cpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | HL, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SP` [INFO] [stdout] --> src/cpu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | SP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PC` [INFO] [stdout] --> src/cpu.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RegOrder` [INFO] [stdout] --> src/cpu.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | enum RegOrder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RegPair` [INFO] [stdout] --> src/cpu.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RegPair { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_8` [INFO] [stdout] --> src/cpu.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn write_8(&mut self, first: bool, byte: RegBytes) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_8` [INFO] [stdout] --> src/cpu.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn read_8(&self, first: bool) -> RegBytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_16` [INFO] [stdout] --> src/cpu.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn write_16(&mut self, bytes: RegBytes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_16` [INFO] [stdout] --> src/cpu.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_16(&self) -> RegBytes { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Z` [INFO] [stdout] --> src/cpu.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Z = 1 << 7, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `N` [INFO] [stdout] --> src/cpu.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | N = 1 << 6, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | H = 1 << 5, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/cpu.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | C = 1 << 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_flag` [INFO] [stdout] --> src/cpu.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn set_flag(flag: Flag, byte: &mut RegBytes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unset_flag` [INFO] [stdout] --> src/cpu.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn unset_flag(flag: Flag, byte: &mut RegBytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_flag` [INFO] [stdout] --> src/cpu.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn check_flag(flag: Flag, byte: &RegBytes) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_reg` [INFO] [stdout] --> src/cpu.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_reg(&self, reg: Reg) -> RegBytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_reg` [INFO] [stdout] --> src/cpu.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn write_reg(&mut self, reg: Reg, bytes: RegBytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag` [INFO] [stdout] --> src/cpu.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | fn set_flag(&mut self, flag: Flag) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset_flag` [INFO] [stdout] --> src/cpu.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn unset_flag(&mut self, flag: Flag) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_flag` [INFO] [stdout] --> src/cpu.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn check_flag(&mut self, flag: Flag) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Motherboard` [INFO] [stdout] --> src/motherboard.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Motherboard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/motherboard.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mem_at` [INFO] [stdout] --> src/motherboard.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_mem_at(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_mem_at` [INFO] [stdout] --> src/motherboard.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_immediate_val` [INFO] [stdout] --> src/motherboard.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_immediate_val(&self, single: bool) -> RegBytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/motherboard.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn push(&mut self, val: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/motherboard.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn pop(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustGB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 137 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "bfd4c921a7bee9b140394c5d986871f12f4e081ce0d95b978007d1c02764d892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd4c921a7bee9b140394c5d986871f12f4e081ce0d95b978007d1c02764d892", kill_on_drop: false }` [INFO] [stdout] bfd4c921a7bee9b140394c5d986871f12f4e081ce0d95b978007d1c02764d892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f603fb6ca887fe9220bb12743bf58463cec4e221ae921ebbbd1aa84c57f2d4a [INFO] running `Command { std: "docker" "start" "-a" "9f603fb6ca887fe9220bb12743bf58463cec4e221ae921ebbbd1aa84c57f2d4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling RustGB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | mother: &mut Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/cmd.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let out = a_val - v; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/cmd.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | let test = (val & (1 << pos)) == 0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mother` [INFO] [stdout] --> src/cmd.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | mother: &Motherboard, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/motherboard.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_mem_at(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/motherboard.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/motherboard.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let mut val; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmd.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut val2; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reg` [INFO] [stdout] --> src/cmd.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Reg(Reg), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `N` [INFO] [stdout] --> src/cmd.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | N, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NN` [INFO] [stdout] --> src/cmd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | NN, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NFlag` [INFO] [stdout] --> src/cmd.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | NFlag(Flag), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flag` [INFO] [stdout] --> src/cmd.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Flag(Flag), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cmd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | B(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cmd.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | H(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/cmd.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn size(&self) -> ByteSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `re` [INFO] [stdout] --> src/cmd.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | re: RegExt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mem` [INFO] [stdout] --> src/cmd.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | mem: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `change` [INFO] [stdout] --> src/cmd.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | change: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cmd.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cmd.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(re: RegExt, mem: bool, change: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/cmd.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn size(&self) -> ByteSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CMD_INP_A` [INFO] [stdout] --> src/cmd.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / const CMD_INP_A: CmdInp = CmdInp { [INFO] [stdout] 62 | | re: RegExt::Reg(Reg::A), [INFO] [stdout] 63 | | mem: false, [INFO] [stdout] 64 | | change: 0, [INFO] [stdout] 65 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CMD_INP_PC` [INFO] [stdout] --> src/cmd.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / const CMD_INP_PC: CmdInp = CmdInp { [INFO] [stdout] 68 | | re: RegExt::Reg(Reg::PC), [INFO] [stdout] 69 | | mem: false, [INFO] [stdout] 70 | | change: 0, [INFO] [stdout] 71 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_reg_ext_val` [INFO] [stdout] --> src/cmd.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_reg_ext_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `put_reg_ext_val` [INFO] [stdout] --> src/cmd.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn put_reg_ext_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_reg_ext_flag_val` [INFO] [stdout] --> src/cmd.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_reg_ext_flag_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_reg_ext_byte_val` [INFO] [stdout] --> src/cmd.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_reg_ext_byte_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_flag_val` [INFO] [stdout] --> src/cmd.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn get_flag_val( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ld` [INFO] [stdout] --> src/cmd.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn ld( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `change_hl` [INFO] [stdout] --> src/cmd.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn change_hl(mother: &mut Motherboard, reg_ext: RegExt, inc: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ld_change` [INFO] [stdout] --> src/cmd.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn ld_change( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ldd` [INFO] [stdout] --> src/cmd.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn ldd( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ldi` [INFO] [stdout] --> src/cmd.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn ldi( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ldhl` [INFO] [stdout] --> src/cmd.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn ldhl( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push` [INFO] [stdout] --> src/cmd.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn push( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pop` [INFO] [stdout] --> src/cmd.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn pop( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/cmd.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adc` [INFO] [stdout] --> src/cmd.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn adc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sub` [INFO] [stdout] --> src/cmd.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn sub( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sbc` [INFO] [stdout] --> src/cmd.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn sbc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and` [INFO] [stdout] --> src/cmd.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn and( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or` [INFO] [stdout] --> src/cmd.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn or( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/cmd.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn xor( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cp` [INFO] [stdout] --> src/cmd.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn cp( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `inc` [INFO] [stdout] --> src/cmd.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn inc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dec` [INFO] [stdout] --> src/cmd.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn dec( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `swap` [INFO] [stdout] --> src/cmd.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn swap( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `daa` [INFO] [stdout] --> src/cmd.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn daa( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpl` [INFO] [stdout] --> src/cmd.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn cpl( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ccf` [INFO] [stdout] --> src/cmd.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn ccf( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scf` [INFO] [stdout] --> src/cmd.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn scf( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nop` [INFO] [stdout] --> src/cmd.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn nop( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `halt` [INFO] [stdout] --> src/cmd.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | pub fn halt( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stop` [INFO] [stdout] --> src/cmd.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn stop( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `di` [INFO] [stdout] --> src/cmd.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn di( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ei` [INFO] [stdout] --> src/cmd.rs:451:8 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn ei( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rlca` [INFO] [stdout] --> src/cmd.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn rlca( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rla` [INFO] [stdout] --> src/cmd.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn rla( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rrca` [INFO] [stdout] --> src/cmd.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | pub fn rrca( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rra` [INFO] [stdout] --> src/cmd.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn rra( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rlc` [INFO] [stdout] --> src/cmd.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn rlc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rl` [INFO] [stdout] --> src/cmd.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn rl( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rrc` [INFO] [stdout] --> src/cmd.rs:516:8 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn rrc( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rr` [INFO] [stdout] --> src/cmd.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn rr( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sla` [INFO] [stdout] --> src/cmd.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn sla( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sra` [INFO] [stdout] --> src/cmd.rs:547:8 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn sra( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `srl` [INFO] [stdout] --> src/cmd.rs:557:8 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn srl( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit` [INFO] [stdout] --> src/cmd.rs:567:8 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn bit( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set` [INFO] [stdout] --> src/cmd.rs:577:8 [INFO] [stdout] | [INFO] [stdout] 577 | pub fn set( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `res` [INFO] [stdout] --> src/cmd.rs:589:8 [INFO] [stdout] | [INFO] [stdout] 589 | pub fn res( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jp` [INFO] [stdout] --> src/cmd.rs:601:8 [INFO] [stdout] | [INFO] [stdout] 601 | pub fn jp( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jp_flag` [INFO] [stdout] --> src/cmd.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn jp_flag( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jr` [INFO] [stdout] --> src/cmd.rs:620:8 [INFO] [stdout] | [INFO] [stdout] 620 | pub fn jr( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jr_flag` [INFO] [stdout] --> src/cmd.rs:631:8 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn jr_flag( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call` [INFO] [stdout] --> src/cmd.rs:642:8 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_flag` [INFO] [stdout] --> src/cmd.rs:652:8 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn call_flag( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rst` [INFO] [stdout] --> src/cmd.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | pub fn rst( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret` [INFO] [stdout] --> src/cmd.rs:674:8 [INFO] [stdout] | [INFO] [stdout] 674 | pub fn ret( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret_flag` [INFO] [stdout] --> src/cmd.rs:682:8 [INFO] [stdout] | [INFO] [stdout] 682 | pub fn ret_flag( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reti` [INFO] [stdout] --> src/cmd.rs:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | pub fn reti( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union is never used: `RegBytes` [INFO] [stdout] --> src/common.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub union RegBytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_single` [INFO] [stdout] --> src/common.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new_single(single: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_double` [INFO] [stdout] --> src/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new_double(double: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_single` [INFO] [stdout] --> src/common.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_single(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_double` [INFO] [stdout] --> src/common.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_double(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ByteSize` [INFO] [stdout] --> src/common.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum ByteSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `A` [INFO] [stdout] --> src/cpu.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/cpu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | B, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/cpu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `D` [INFO] [stdout] --> src/cpu.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | D, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/cpu.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | E, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `F` [INFO] [stdout] --> src/cpu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | F, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | H, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/cpu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AF` [INFO] [stdout] --> src/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | AF, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BC` [INFO] [stdout] --> src/cpu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/cpu.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | DE, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HL` [INFO] [stdout] --> src/cpu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | HL, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SP` [INFO] [stdout] --> src/cpu.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | SP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PC` [INFO] [stdout] --> src/cpu.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RegOrder` [INFO] [stdout] --> src/cpu.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | enum RegOrder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RegPair` [INFO] [stdout] --> src/cpu.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct RegPair { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_8` [INFO] [stdout] --> src/cpu.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn write_8(&mut self, first: bool, byte: RegBytes) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_8` [INFO] [stdout] --> src/cpu.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn read_8(&self, first: bool) -> RegBytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_16` [INFO] [stdout] --> src/cpu.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn write_16(&mut self, bytes: RegBytes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_16` [INFO] [stdout] --> src/cpu.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn read_16(&self) -> RegBytes { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Z` [INFO] [stdout] --> src/cpu.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Z = 1 << 7, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `N` [INFO] [stdout] --> src/cpu.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | N = 1 << 6, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `H` [INFO] [stdout] --> src/cpu.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | H = 1 << 5, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `C` [INFO] [stdout] --> src/cpu.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | C = 1 << 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_flag` [INFO] [stdout] --> src/cpu.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn set_flag(flag: Flag, byte: &mut RegBytes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unset_flag` [INFO] [stdout] --> src/cpu.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn unset_flag(flag: Flag, byte: &mut RegBytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_flag` [INFO] [stdout] --> src/cpu.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn check_flag(flag: Flag, byte: &RegBytes) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CPU` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_reg` [INFO] [stdout] --> src/cpu.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn read_reg(&self, reg: Reg) -> RegBytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_reg` [INFO] [stdout] --> src/cpu.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn write_reg(&mut self, reg: Reg, bytes: RegBytes) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flag` [INFO] [stdout] --> src/cpu.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | fn set_flag(&mut self, flag: Flag) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unset_flag` [INFO] [stdout] --> src/cpu.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn unset_flag(&mut self, flag: Flag) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_flag` [INFO] [stdout] --> src/cpu.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn check_flag(&mut self, flag: Flag) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Motherboard` [INFO] [stdout] --> src/motherboard.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Motherboard { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/motherboard.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mem_at` [INFO] [stdout] --> src/motherboard.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_mem_at(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_mem_at` [INFO] [stdout] --> src/motherboard.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_immediate_val` [INFO] [stdout] --> src/motherboard.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_immediate_val(&self, single: bool) -> RegBytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/motherboard.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn push(&mut self, val: u16) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/motherboard.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn pop(&mut self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustGB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_gb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 137 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "9f603fb6ca887fe9220bb12743bf58463cec4e221ae921ebbbd1aa84c57f2d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f603fb6ca887fe9220bb12743bf58463cec4e221ae921ebbbd1aa84c57f2d4a", kill_on_drop: false }` [INFO] [stdout] 9f603fb6ca887fe9220bb12743bf58463cec4e221ae921ebbbd1aa84c57f2d4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c870dd772b69174b80d13fc2d9a848ad5814ba5d11a61b517683bb841c10830 [INFO] running `Command { std: "docker" "start" "-a" "5c870dd772b69174b80d13fc2d9a848ad5814ba5d11a61b517683bb841c10830", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | mother: &mut Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/cmd.rs:330:9 [INFO] [stderr] | [INFO] [stderr] 330 | let out = a_val - v; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:416:5 [INFO] [stderr] | [INFO] [stderr] 416 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:422:5 [INFO] [stderr] | [INFO] [stderr] 422 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:428:5 [INFO] [stderr] | [INFO] [stderr] 428 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:434:5 [INFO] [stderr] | [INFO] [stderr] 434 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:440:5 [INFO] [stderr] | [INFO] [stderr] 440 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:446:5 [INFO] [stderr] | [INFO] [stderr] 446 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:452:5 [INFO] [stderr] | [INFO] [stderr] 452 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test` [INFO] [stderr] --> src/cmd.rs:574:9 [INFO] [stderr] | [INFO] [stderr] 574 | let test = (val & (1 << pos)) == 0; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mother` [INFO] [stderr] --> src/cmd.rs:693:5 [INFO] [stderr] | [INFO] [stderr] 693 | mother: &Motherboard, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mother` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/motherboard.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn get_mem_at(&self, addr: u16) -> u8 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/motherboard.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/motherboard.rs:19:41 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cmd.rs:237:9 [INFO] [stderr] | [INFO] [stderr] 237 | let mut val; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cmd.rs:245:17 [INFO] [stderr] | [INFO] [stderr] 245 | let mut val2; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Reg` [INFO] [stderr] --> src/cmd.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Reg(Reg), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `N` [INFO] [stderr] --> src/cmd.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | N, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NN` [INFO] [stderr] --> src/cmd.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | NN, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NFlag` [INFO] [stderr] --> src/cmd.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | NFlag(Flag), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Flag` [INFO] [stderr] --> src/cmd.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Flag(Flag), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `B` [INFO] [stderr] --> src/cmd.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | B(u8), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `H` [INFO] [stderr] --> src/cmd.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | H(u8), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RegExt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/cmd.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn size(&self) -> ByteSize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `re` [INFO] [stderr] --> src/cmd.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | re: RegExt, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mem` [INFO] [stderr] --> src/cmd.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | mem: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `change` [INFO] [stderr] --> src/cmd.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | change: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CmdInp` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cmd.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/cmd.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn new(re: RegExt, mem: bool, change: u16) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `size` [INFO] [stderr] --> src/cmd.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn size(&self) -> ByteSize { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CMD_INP_A` [INFO] [stderr] --> src/cmd.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / const CMD_INP_A: CmdInp = CmdInp { [INFO] [stderr] 62 | | re: RegExt::Reg(Reg::A), [INFO] [stderr] 63 | | mem: false, [INFO] [stderr] 64 | | change: 0, [INFO] [stderr] 65 | | }; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CMD_INP_PC` [INFO] [stderr] --> src/cmd.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | / const CMD_INP_PC: CmdInp = CmdInp { [INFO] [stderr] 68 | | re: RegExt::Reg(Reg::PC), [INFO] [stderr] 69 | | mem: false, [INFO] [stderr] 70 | | change: 0, [INFO] [stderr] 71 | | }; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_reg_ext_val` [INFO] [stderr] --> src/cmd.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn get_reg_ext_val( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `put_reg_ext_val` [INFO] [stderr] --> src/cmd.rs:94:4 [INFO] [stderr] | [INFO] [stderr] 94 | fn put_reg_ext_val( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_reg_ext_flag_val` [INFO] [stderr] --> src/cmd.rs:112:4 [INFO] [stderr] | [INFO] [stderr] 112 | fn get_reg_ext_flag_val( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_reg_ext_byte_val` [INFO] [stderr] --> src/cmd.rs:123:4 [INFO] [stderr] | [INFO] [stderr] 123 | fn get_reg_ext_byte_val( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_flag_val` [INFO] [stderr] --> src/cmd.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | fn get_flag_val( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ld` [INFO] [stderr] --> src/cmd.rs:142:8 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn ld( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `change_hl` [INFO] [stderr] --> src/cmd.rs:152:4 [INFO] [stderr] | [INFO] [stderr] 152 | fn change_hl(mother: &mut Motherboard, reg_ext: RegExt, inc: bool) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ld_change` [INFO] [stderr] --> src/cmd.rs:168:4 [INFO] [stderr] | [INFO] [stderr] 168 | fn ld_change( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ldd` [INFO] [stderr] --> src/cmd.rs:186:8 [INFO] [stderr] | [INFO] [stderr] 186 | pub fn ldd( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ldi` [INFO] [stderr] --> src/cmd.rs:194:8 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn ldi( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ldhl` [INFO] [stderr] --> src/cmd.rs:202:8 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn ldhl( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `push` [INFO] [stderr] --> src/cmd.rs:213:8 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn push( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `pop` [INFO] [stderr] --> src/cmd.rs:221:8 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn pop( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add` [INFO] [stderr] --> src/cmd.rs:229:8 [INFO] [stderr] | [INFO] [stderr] 229 | pub fn add( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `adc` [INFO] [stderr] --> src/cmd.rs:260:8 [INFO] [stderr] | [INFO] [stderr] 260 | pub fn adc( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sub` [INFO] [stderr] --> src/cmd.rs:272:8 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn sub( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sbc` [INFO] [stderr] --> src/cmd.rs:282:8 [INFO] [stderr] | [INFO] [stderr] 282 | pub fn sbc( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `and` [INFO] [stderr] --> src/cmd.rs:294:8 [INFO] [stderr] | [INFO] [stderr] 294 | pub fn and( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `or` [INFO] [stderr] --> src/cmd.rs:304:8 [INFO] [stderr] | [INFO] [stderr] 304 | pub fn or( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `xor` [INFO] [stderr] --> src/cmd.rs:314:8 [INFO] [stderr] | [INFO] [stderr] 314 | pub fn xor( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cp` [INFO] [stderr] --> src/cmd.rs:324:8 [INFO] [stderr] | [INFO] [stderr] 324 | pub fn cp( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `inc` [INFO] [stderr] --> src/cmd.rs:333:8 [INFO] [stderr] | [INFO] [stderr] 333 | pub fn inc( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dec` [INFO] [stderr] --> src/cmd.rs:351:8 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn dec( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `swap` [INFO] [stderr] --> src/cmd.rs:369:8 [INFO] [stderr] | [INFO] [stderr] 369 | pub fn swap( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `daa` [INFO] [stderr] --> src/cmd.rs:379:8 [INFO] [stderr] | [INFO] [stderr] 379 | pub fn daa( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cpl` [INFO] [stderr] --> src/cmd.rs:406:8 [INFO] [stderr] | [INFO] [stderr] 406 | pub fn cpl( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ccf` [INFO] [stderr] --> src/cmd.rs:415:8 [INFO] [stderr] | [INFO] [stderr] 415 | pub fn ccf( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `scf` [INFO] [stderr] --> src/cmd.rs:421:8 [INFO] [stderr] | [INFO] [stderr] 421 | pub fn scf( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `nop` [INFO] [stderr] --> src/cmd.rs:427:8 [INFO] [stderr] | [INFO] [stderr] 427 | pub fn nop( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `halt` [INFO] [stderr] --> src/cmd.rs:433:8 [INFO] [stderr] | [INFO] [stderr] 433 | pub fn halt( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `stop` [INFO] [stderr] --> src/cmd.rs:439:8 [INFO] [stderr] | [INFO] [stderr] 439 | pub fn stop( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `di` [INFO] [stderr] --> src/cmd.rs:445:8 [INFO] [stderr] | [INFO] [stderr] 445 | pub fn di( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ei` [INFO] [stderr] --> src/cmd.rs:451:8 [INFO] [stderr] | [INFO] [stderr] 451 | pub fn ei( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rlca` [INFO] [stderr] --> src/cmd.rs:457:8 [INFO] [stderr] | [INFO] [stderr] 457 | pub fn rlca( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rla` [INFO] [stderr] --> src/cmd.rs:466:8 [INFO] [stderr] | [INFO] [stderr] 466 | pub fn rla( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rrca` [INFO] [stderr] --> src/cmd.rs:476:8 [INFO] [stderr] | [INFO] [stderr] 476 | pub fn rrca( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rra` [INFO] [stderr] --> src/cmd.rs:485:8 [INFO] [stderr] | [INFO] [stderr] 485 | pub fn rra( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rlc` [INFO] [stderr] --> src/cmd.rs:495:8 [INFO] [stderr] | [INFO] [stderr] 495 | pub fn rlc( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rl` [INFO] [stderr] --> src/cmd.rs:505:8 [INFO] [stderr] | [INFO] [stderr] 505 | pub fn rl( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rrc` [INFO] [stderr] --> src/cmd.rs:516:8 [INFO] [stderr] | [INFO] [stderr] 516 | pub fn rrc( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rr` [INFO] [stderr] --> src/cmd.rs:526:8 [INFO] [stderr] | [INFO] [stderr] 526 | pub fn rr( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sla` [INFO] [stderr] --> src/cmd.rs:537:8 [INFO] [stderr] | [INFO] [stderr] 537 | pub fn sla( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sra` [INFO] [stderr] --> src/cmd.rs:547:8 [INFO] [stderr] | [INFO] [stderr] 547 | pub fn sra( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `srl` [INFO] [stderr] --> src/cmd.rs:557:8 [INFO] [stderr] | [INFO] [stderr] 557 | pub fn srl( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bit` [INFO] [stderr] --> src/cmd.rs:567:8 [INFO] [stderr] | [INFO] [stderr] 567 | pub fn bit( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set` [INFO] [stderr] --> src/cmd.rs:577:8 [INFO] [stderr] | [INFO] [stderr] 577 | pub fn set( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `res` [INFO] [stderr] --> src/cmd.rs:589:8 [INFO] [stderr] | [INFO] [stderr] 589 | pub fn res( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `jp` [INFO] [stderr] --> src/cmd.rs:601:8 [INFO] [stderr] | [INFO] [stderr] 601 | pub fn jp( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `jp_flag` [INFO] [stderr] --> src/cmd.rs:609:8 [INFO] [stderr] | [INFO] [stderr] 609 | pub fn jp_flag( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `jr` [INFO] [stderr] --> src/cmd.rs:620:8 [INFO] [stderr] | [INFO] [stderr] 620 | pub fn jr( [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `jr_flag` [INFO] [stderr] --> src/cmd.rs:631:8 [INFO] [stderr] | [INFO] [stderr] 631 | pub fn jr_flag( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `call` [INFO] [stderr] --> src/cmd.rs:642:8 [INFO] [stderr] | [INFO] [stderr] 642 | pub fn call( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `call_flag` [INFO] [stderr] --> src/cmd.rs:652:8 [INFO] [stderr] | [INFO] [stderr] 652 | pub fn call_flag( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rst` [INFO] [stderr] --> src/cmd.rs:663:8 [INFO] [stderr] | [INFO] [stderr] 663 | pub fn rst( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ret` [INFO] [stderr] --> src/cmd.rs:674:8 [INFO] [stderr] | [INFO] [stderr] 674 | pub fn ret( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ret_flag` [INFO] [stderr] --> src/cmd.rs:682:8 [INFO] [stderr] | [INFO] [stderr] 682 | pub fn ret_flag( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `reti` [INFO] [stderr] --> src/cmd.rs:692:8 [INFO] [stderr] | [INFO] [stderr] 692 | pub fn reti( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: union is never used: `RegBytes` [INFO] [stderr] --> src/common.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub union RegBytes { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_single` [INFO] [stderr] --> src/common.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn new_single(single: u8) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_double` [INFO] [stderr] --> src/common.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new_double(double: u16) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_single` [INFO] [stderr] --> src/common.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_single(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_double` [INFO] [stderr] --> src/common.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get_double(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ByteSize` [INFO] [stderr] --> src/common.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum ByteSize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/cpu.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | A, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `B` [INFO] [stderr] --> src/cpu.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | B, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `C` [INFO] [stderr] --> src/cpu.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | C, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `D` [INFO] [stderr] --> src/cpu.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | D, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `E` [INFO] [stderr] --> src/cpu.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | E, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `F` [INFO] [stderr] --> src/cpu.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | F, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `H` [INFO] [stderr] --> src/cpu.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | H, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `L` [INFO] [stderr] --> src/cpu.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | L, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AF` [INFO] [stderr] --> src/cpu.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | AF, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BC` [INFO] [stderr] --> src/cpu.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | BC, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DE` [INFO] [stderr] --> src/cpu.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | DE, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HL` [INFO] [stderr] --> src/cpu.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | HL, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SP` [INFO] [stderr] --> src/cpu.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | SP, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PC` [INFO] [stderr] --> src/cpu.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | PC, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Reg` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, PartialEq, Eq, Hash)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `RegOrder` [INFO] [stderr] --> src/cpu.rs:27:6 [INFO] [stderr] | [INFO] [stderr] 27 | enum RegOrder { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RegPair` [INFO] [stderr] --> src/cpu.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | struct RegPair { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/cpu.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_8` [INFO] [stderr] --> src/cpu.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | fn write_8(&mut self, first: bool, byte: RegBytes) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_8` [INFO] [stderr] --> src/cpu.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | fn read_8(&self, first: bool) -> RegBytes { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_16` [INFO] [stderr] --> src/cpu.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | fn write_16(&mut self, bytes: RegBytes) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_16` [INFO] [stderr] --> src/cpu.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | fn read_16(&self) -> RegBytes { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Z` [INFO] [stderr] --> src/cpu.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | Z = 1 << 7, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `N` [INFO] [stderr] --> src/cpu.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | N = 1 << 6, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `H` [INFO] [stderr] --> src/cpu.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | H = 1 << 5, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `C` [INFO] [stderr] --> src/cpu.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | C = 1 << 4, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Flag` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_flag` [INFO] [stderr] --> src/cpu.rs:79:4 [INFO] [stderr] | [INFO] [stderr] 79 | fn set_flag(flag: Flag, byte: &mut RegBytes) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `unset_flag` [INFO] [stderr] --> src/cpu.rs:85:4 [INFO] [stderr] | [INFO] [stderr] 85 | fn unset_flag(flag: Flag, byte: &mut RegBytes) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `check_flag` [INFO] [stderr] --> src/cpu.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn check_flag(flag: Flag, byte: &RegBytes) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `CPU` [INFO] [stderr] --> src/cpu.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub struct CPU { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/cpu.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_reg` [INFO] [stderr] --> src/cpu.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn read_reg(&self, reg: Reg) -> RegBytes { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_reg` [INFO] [stderr] --> src/cpu.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn write_reg(&mut self, reg: Reg, bytes: RegBytes) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_flag` [INFO] [stderr] --> src/cpu.rs:166:8 [INFO] [stderr] | [INFO] [stderr] 166 | fn set_flag(&mut self, flag: Flag) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unset_flag` [INFO] [stderr] --> src/cpu.rs:172:8 [INFO] [stderr] | [INFO] [stderr] 172 | fn unset_flag(&mut self, flag: Flag) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_flag` [INFO] [stderr] --> src/cpu.rs:178:12 [INFO] [stderr] | [INFO] [stderr] 178 | pub fn check_flag(&mut self, flag: Flag) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Motherboard` [INFO] [stderr] --> src/motherboard.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Motherboard { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/motherboard.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_mem_at` [INFO] [stderr] --> src/motherboard.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn get_mem_at(&self, addr: u16) -> u8 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `put_mem_at` [INFO] [stderr] --> src/motherboard.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn put_mem_at(&self, addr: u16, val: u8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_immediate_val` [INFO] [stderr] --> src/motherboard.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn get_immediate_val(&self, single: bool) -> RegBytes { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push` [INFO] [stderr] --> src/motherboard.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn push(&mut self, val: u16) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pop` [INFO] [stderr] --> src/motherboard.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn pop(&mut self) -> u16 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `RustGB` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `rust_gb` [INFO] [stderr] [INFO] [stderr] warning: `RustGB` (bin "RustGB" test) generated 137 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/RustGB-b20f59850ebe7b2f) [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" "5c870dd772b69174b80d13fc2d9a848ad5814ba5d11a61b517683bb841c10830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c870dd772b69174b80d13fc2d9a848ad5814ba5d11a61b517683bb841c10830", kill_on_drop: false }` [INFO] [stdout] 5c870dd772b69174b80d13fc2d9a848ad5814ba5d11a61b517683bb841c10830