[INFO] cloning repository https://github.com/lars-t-hansen/z80emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lars-t-hansen/z80emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flars-t-hansen%2Fz80emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flars-t-hansen%2Fz80emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22d4069945bed32b3e0a35fc2905854bc0697d19 [INFO] testing lars-t-hansen/z80emu against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flars-t-hansen%2Fz80emu" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lars-t-hansen/z80emu 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/lars-t-hansen/z80emu [INFO] finished tweaking git repo https://github.com/lars-t-hansen/z80emu [INFO] tweaked toml for git repo https://github.com/lars-t-hansen/z80emu written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/lars-t-hansen/z80emu 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] fede9d19f6c86751d70a17b9a0c5c6c9b05e26a834243541811beda0f98ceae4 [INFO] running `Command { std: "docker" "start" "-a" "fede9d19f6c86751d70a17b9a0c5c6c9b05e26a834243541811beda0f98ceae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fede9d19f6c86751d70a17b9a0c5c6c9b05e26a834243541811beda0f98ceae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fede9d19f6c86751d70a17b9a0c5c6c9b05e26a834243541811beda0f98ceae4", kill_on_drop: false }` [INFO] [stdout] fede9d19f6c86751d70a17b9a0c5c6c9b05e26a834243541811beda0f98ceae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] f5ce7dbb23dd1f992a8a5d15b0aba0bc1747975e7769a3a9b33e1dee38050c75 [INFO] running `Command { std: "docker" "start" "-a" "f5ce7dbb23dd1f992a8a5d15b0aba0bc1747975e7769a3a9b33e1dee38050c75", kill_on_drop: false }` [INFO] [stderr] Compiling z80emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `set_bc` [INFO] [stdout] --> src/z80.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | macro_rules! set_bc { ($v:ident) => { set16!(b, c, $v); } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_de` [INFO] [stdout] --> src/z80.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | macro_rules! set_de { ($v:ident) => { set16!(d, e, $v); } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_sp` [INFO] [stdout] --> src/z80.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! set_sp { ($v:ident) => { sp_ = $v; } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/file_backed_spinning_disk.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | tty: &'a mut TTY, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - tty: &'a mut TTY, [INFO] [stdout] 25 + tty: &'a mut dyn TTY, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | dsk_a: &'a mut SpinningDisk, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - dsk_a: &'a mut SpinningDisk, [INFO] [stdout] 26 + dsk_a: &'a mut dyn SpinningDisk, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 342 | 0x80 => { add_a_r!(b); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 343 | 0x81 => { add_a_r!(c); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 344 | 0x82 => { add_a_r!(d); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 345 | 0x83 => { add_a_r!(e); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 346 | 0x84 => { add_a_r!(h); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 347 | 0x85 => { add_a_r!(l); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 348 | 0x86 => { let n = at_hl!(); add_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 349 | 0x87 => { add_a_r!(a); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 350 | 0x88 => { adc_a_r!(b); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 351 | 0x89 => { adc_a_r!(c); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 352 | 0x8A => { adc_a_r!(d); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 353 | 0x8B => { adc_a_r!(e); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 354 | 0x8C => { adc_a_r!(h); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 355 | 0x8D => { adc_a_r!(l); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 356 | 0x8E => { let n = at_hl!(); adc_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 357 | 0x8F => { adc_a_r!(a); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 358 | 0xA0 => { and_a_r!(b); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 359 | 0xA1 => { and_a_r!(c); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 360 | 0xA2 => { and_a_r!(d); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 361 | 0xA3 => { and_a_r!(e); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | 0xA4 => { and_a_r!(h); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 363 | 0xA5 => { and_a_r!(l); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | 0xA6 => { let n = at_hl!(); and_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 365 | 0xA7 => { and_a_r!(a); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 367 | 0xC6 => { let n = byte!(); add_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 381 | 0xCE => { let n = byte!(); adc_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 414 | 0x86 => { op_a_ixd!(add_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 415 | 0x8E => { op_a_ixd!(adc_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 416 | 0xA6 => { op_a_ixd!(and_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 420 | 0xE6 => { let n = byte!(); and_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 427 | 0x4A => { adc_hl_ss!(bc); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 428 | 0x5A => { adc_hl_ss!(de); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 429 | 0x6A => { adc_hl_ss!(hl); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 430 | 0x7A => { adc_hl_ss!(sp); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 448 | 0x86 => { op_a_iyd!(add_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 449 | 0x8E => { op_a_iyd!(adc_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 450 | 0xA6 => { op_a_iyd!(and_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/file_backed_spinning_disk.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | fn write_sector(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/z80.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut sp_ = z80.sp; [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: constant is never used: `NEG_FLAG` [INFO] [stdout] --> src/z80.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | const NEG_FLAG: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEG_SHIFT` [INFO] [stdout] --> src/z80.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | const NEG_SHIFT: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OVERFLOW_FLAG` [INFO] [stdout] --> src/z80.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | const OVERFLOW_FLAG: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OVERFLOW_SHIFT` [INFO] [stdout] --> src/z80.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | const OVERFLOW_SHIFT: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PARITY_SHIFT` [INFO] [stdout] --> src/z80.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | const PARITY_SHIFT: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HALF_SHIFT` [INFO] [stdout] --> src/z80.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | const HALF_SHIFT: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ZERO_SHIFT` [INFO] [stdout] --> src/z80.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | const ZERO_SHIFT: u8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIGN_SHIFT` [INFO] [stdout] --> src/z80.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | const SIGN_SHIFT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "f5ce7dbb23dd1f992a8a5d15b0aba0bc1747975e7769a3a9b33e1dee38050c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ce7dbb23dd1f992a8a5d15b0aba0bc1747975e7769a3a9b33e1dee38050c75", kill_on_drop: false }` [INFO] [stdout] f5ce7dbb23dd1f992a8a5d15b0aba0bc1747975e7769a3a9b33e1dee38050c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 96d7e23a5a6955532e2a495734c5223d7db7ccbfb838c30344009af7d0ee57f6 [INFO] running `Command { std: "docker" "start" "-a" "96d7e23a5a6955532e2a495734c5223d7db7ccbfb838c30344009af7d0ee57f6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling z80emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `set_bc` [INFO] [stdout] --> src/z80.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | macro_rules! set_bc { ($v:ident) => { set16!(b, c, $v); } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_de` [INFO] [stdout] --> src/z80.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | macro_rules! set_de { ($v:ident) => { set16!(d, e, $v); } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_sp` [INFO] [stdout] --> src/z80.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! set_sp { ($v:ident) => { sp_ = $v; } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/file_backed_spinning_disk.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{self, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | tty: &'a mut TTY, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - tty: &'a mut TTY, [INFO] [stdout] 25 + tty: &'a mut dyn TTY, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | dsk_a: &'a mut SpinningDisk, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - dsk_a: &'a mut SpinningDisk, [INFO] [stdout] 26 + dsk_a: &'a mut dyn SpinningDisk, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 342 | 0x80 => { add_a_r!(b); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 343 | 0x81 => { add_a_r!(c); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 344 | 0x82 => { add_a_r!(d); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 345 | 0x83 => { add_a_r!(e); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 346 | 0x84 => { add_a_r!(h); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 347 | 0x85 => { add_a_r!(l); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 348 | 0x86 => { let n = at_hl!(); add_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 349 | 0x87 => { add_a_r!(a); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 350 | 0x88 => { adc_a_r!(b); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 351 | 0x89 => { adc_a_r!(c); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 352 | 0x8A => { adc_a_r!(d); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 353 | 0x8B => { adc_a_r!(e); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 354 | 0x8C => { adc_a_r!(h); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 355 | 0x8D => { adc_a_r!(l); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 356 | 0x8E => { let n = at_hl!(); adc_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 357 | 0x8F => { adc_a_r!(a); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 358 | 0xA0 => { and_a_r!(b); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 359 | 0xA1 => { and_a_r!(c); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 360 | 0xA2 => { and_a_r!(d); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 361 | 0xA3 => { and_a_r!(e); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 362 | 0xA4 => { and_a_r!(h); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 363 | 0xA5 => { and_a_r!(l); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 364 | 0xA6 => { let n = at_hl!(); and_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 365 | 0xA7 => { and_a_r!(a); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 367 | 0xC6 => { let n = byte!(); add_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 381 | 0xCE => { let n = byte!(); adc_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 414 | 0x86 => { op_a_ixd!(add_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 415 | 0x8E => { op_a_ixd!(adc_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 416 | 0xA6 => { op_a_ixd!(and_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 420 | 0xE6 => { let n = byte!(); and_a_r!(n); } [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 427 | 0x4A => { adc_hl_ss!(bc); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 428 | 0x5A => { adc_hl_ss!(de); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 429 | 0x6A => { adc_hl_ss!(hl); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 430 | 0x7A => { adc_hl_ss!(sp); } [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 448 | 0x86 => { op_a_iyd!(add_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 449 | 0x8E => { op_a_iyd!(adc_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/z80.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | f &= UNUSED_FLAGS; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 450 | 0xA6 => { op_a_iyd!(and_a_r); } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> src/file_backed_spinning_disk.rs:143:32 [INFO] [stdout] | [INFO] [stdout] 143 | fn write_sector(&mut self, mem: &mut [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/z80.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut sp_ = z80.sp; [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: constant is never used: `NEG_FLAG` [INFO] [stdout] --> src/z80.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | const NEG_FLAG: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEG_SHIFT` [INFO] [stdout] --> src/z80.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | const NEG_SHIFT: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OVERFLOW_FLAG` [INFO] [stdout] --> src/z80.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | const OVERFLOW_FLAG: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OVERFLOW_SHIFT` [INFO] [stdout] --> src/z80.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | const OVERFLOW_SHIFT: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PARITY_SHIFT` [INFO] [stdout] --> src/z80.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | const PARITY_SHIFT: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HALF_SHIFT` [INFO] [stdout] --> src/z80.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | const HALF_SHIFT: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ZERO_SHIFT` [INFO] [stdout] --> src/z80.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | const ZERO_SHIFT: u8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIGN_SHIFT` [INFO] [stdout] --> src/z80.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | const SIGN_SHIFT: u8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "96d7e23a5a6955532e2a495734c5223d7db7ccbfb838c30344009af7d0ee57f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d7e23a5a6955532e2a495734c5223d7db7ccbfb838c30344009af7d0ee57f6", kill_on_drop: false }` [INFO] [stdout] 96d7e23a5a6955532e2a495734c5223d7db7ccbfb838c30344009af7d0ee57f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 3200d55ffadcf86e69ab228fe94a6d582a5641c105d56430fc07776be9d548fb [INFO] running `Command { std: "docker" "start" "-a" "3200d55ffadcf86e69ab228fe94a6d582a5641c105d56430fc07776be9d548fb", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `set_bc` [INFO] [stdout] [INFO] [stderr] --> src/z80.rs:110:18 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 110 | macro_rules! set_bc { ($v:ident) => { set16!(b, c, $v); } } [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `set_de` [INFO] [stderr] --> src/z80.rs:111:18 [INFO] [stderr] | [INFO] [stderr] 111 | macro_rules! set_de { ($v:ident) => { set16!(d, e, $v); } } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `set_sp` [INFO] [stderr] --> src/z80.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | macro_rules! set_sp { ($v:ident) => { sp_ = $v; } } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/file_backed_spinning_disk.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | use std::io::{self, Read, Seek, SeekFrom}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | tty: &'a mut TTY, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - tty: &'a mut TTY, [INFO] [stderr] 25 + tty: &'a mut dyn TTY, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | dsk_a: &'a mut SpinningDisk, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - dsk_a: &'a mut SpinningDisk, [INFO] [stderr] 26 + dsk_a: &'a mut dyn SpinningDisk, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 342 | 0x80 => { add_a_r!(b); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 343 | 0x81 => { add_a_r!(c); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 344 | 0x82 => { add_a_r!(d); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 345 | 0x83 => { add_a_r!(e); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 346 | 0x84 => { add_a_r!(h); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 347 | 0x85 => { add_a_r!(l); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 348 | 0x86 => { let n = at_hl!(); add_a_r!(n); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 349 | 0x87 => { add_a_r!(a); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 350 | 0x88 => { adc_a_r!(b); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 351 | 0x89 => { adc_a_r!(c); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 352 | 0x8A => { adc_a_r!(d); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 353 | 0x8B => { adc_a_r!(e); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 354 | 0x8C => { adc_a_r!(h); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 355 | 0x8D => { adc_a_r!(l); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 356 | 0x8E => { let n = at_hl!(); adc_a_r!(n); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 357 | 0x8F => { adc_a_r!(a); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 358 | 0xA0 => { and_a_r!(b); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 359 | 0xA1 => { and_a_r!(c); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 360 | 0xA2 => { and_a_r!(d); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 361 | 0xA3 => { and_a_r!(e); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 362 | 0xA4 => { and_a_r!(h); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 363 | 0xA5 => { and_a_r!(l); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 364 | 0xA6 => { let n = at_hl!(); and_a_r!(n); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 365 | 0xA7 => { and_a_r!(a); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 367 | 0xC6 => { let n = byte!(); add_a_r!(n); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 381 | 0xCE => { let n = byte!(); adc_a_r!(n); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 414 | 0x86 => { op_a_ixd!(add_a_r); } [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 415 | 0x8E => { op_a_ixd!(adc_a_r); } [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 416 | 0xA6 => { op_a_ixd!(and_a_r); } [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 420 | 0xE6 => { let n = byte!(); and_a_r!(n); } [INFO] [stderr] | ----------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 427 | 0x4A => { adc_hl_ss!(bc); } [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 428 | 0x5A => { adc_hl_ss!(de); } [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 429 | 0x6A => { adc_hl_ss!(hl); } [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 430 | 0x7A => { adc_hl_ss!(sp); } [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set16_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 448 | 0x86 => { op_a_iyd!(add_a_r); } [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 449 | 0x8E => { op_a_iyd!(adc_a_r); } [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_szhv0c` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `f` is never read [INFO] [stderr] --> src/z80.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | f &= UNUSED_FLAGS; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 450 | 0xA6 => { op_a_iyd!(and_a_r); } [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `set8_sz1p00` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/file_backed_spinning_disk.rs:143:32 [INFO] [stderr] | [INFO] [stderr] 143 | fn write_sector(&mut self, mem: &mut [u8]) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/z80.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | let mut sp_ = z80.sp; [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: constant is never used: `NEG_FLAG` [INFO] [stderr] --> src/z80.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | const NEG_FLAG: u8 = 0x02; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `NEG_SHIFT` [INFO] [stderr] --> src/z80.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | const NEG_SHIFT: u8 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OVERFLOW_FLAG` [INFO] [stderr] --> src/z80.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | const OVERFLOW_FLAG: u8 = 0x04; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OVERFLOW_SHIFT` [INFO] [stderr] --> src/z80.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | const OVERFLOW_SHIFT: u8 = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PARITY_SHIFT` [INFO] [stderr] --> src/z80.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | const PARITY_SHIFT: u8 = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `HALF_SHIFT` [INFO] [stderr] --> src/z80.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | const HALF_SHIFT: u8 = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ZERO_SHIFT` [INFO] [stderr] --> src/z80.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | const ZERO_SHIFT: u8 = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SIGN_SHIFT` [INFO] [stderr] --> src/z80.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | const SIGN_SHIFT: u8 = 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `z80emu` (bin "z80emu" test) generated 53 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/z80emu-c8a83978dbafb880) [INFO] running `Command { std: "docker" "inspect" "3200d55ffadcf86e69ab228fe94a6d582a5641c105d56430fc07776be9d548fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3200d55ffadcf86e69ab228fe94a6d582a5641c105d56430fc07776be9d548fb", kill_on_drop: false }` [INFO] [stdout] 3200d55ffadcf86e69ab228fe94a6d582a5641c105d56430fc07776be9d548fb