[INFO] cloning repository https://github.com/VictorFordham/rust_gb_emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VictorFordham/rust_gb_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a6c5a56571e9a40bb2640f85db51fd5f2005555
[INFO] checking VictorFordham/rust_gb_emulator against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorFordham%2Frust_gb_emulator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/VictorFordham/rust_gb_emulator
[INFO] finished tweaking git repo https://github.com/VictorFordham/rust_gb_emulator
[INFO] tweaked toml for git repo https://github.com/VictorFordham/rust_gb_emulator written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VictorFordham/rust_gb_emulator on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/VictorFordham/rust_gb_emulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wgpu-types v0.6.1
[INFO] [stderr]   Downloaded bitflags v1.2.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.71
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.71
[INFO] [stderr]   Downloaded futures-task v0.3.13
[INFO] [stderr]   Downloaded proc-macro-nested v0.1.7
[INFO] [stderr]   Downloaded wio v0.2.2
[INFO] [stderr]   Downloaded copyless v0.1.5
[INFO] [stderr]   Downloaded inplace_it v0.3.3
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.19
[INFO] [stderr]   Downloaded thunderdome v0.3.0
[INFO] [stderr]   Downloaded pollster v0.2.1
[INFO] [stderr]   Downloaded futures-core v0.3.13
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.21
[INFO] [stderr]   Downloaded d3d12 v0.3.2
[INFO] [stderr]   Downloaded futures-io v0.3.13
[INFO] [stderr]   Downloaded futures-sink v0.3.13
[INFO] [stderr]   Downloaded gfx-auxil v0.7.0
[INFO] [stderr]   Downloaded range-alloc v0.1.2
[INFO] [stderr]   Downloaded pkg-config v0.3.19
[INFO] [stderr]   Downloaded typed-arena v2.0.1
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.71
[INFO] [stderr]   Downloaded futures-executor v0.3.13
[INFO] [stderr]   Downloaded futures-channel v0.3.13
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.71
[INFO] [stderr]   Downloaded bytemuck v1.5.1
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] [stderr]   Downloaded wide v0.4.6
[INFO] [stderr]   Downloaded ultraviolet v0.4.6
[INFO] [stderr]   Downloaded gfx-backend-dx11 v0.6.17
[INFO] [stderr]   Downloaded gfx-backend-dx12 v0.6.13
[INFO] [stderr]   Downloaded naga v0.2.0
[INFO] [stderr]   Downloaded wgpu-core v0.6.5
[INFO] [stderr]   Downloaded bumpalo v3.6.1
[INFO] [stderr]   Downloaded futures-util v0.3.13
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.71
[INFO] [stderr]   Downloaded gfx-backend-metal v0.6.5
[INFO] [stderr]   Downloaded wgpu v0.6.2
[INFO] [stderr]   Downloaded syn v1.0.62
[INFO] [stderr]   Downloaded js-sys v0.3.48
[INFO] [stderr]   Downloaded ash v0.31.0
[INFO] [stderr]   Downloaded cc v1.0.67
[INFO] [stderr]   Downloaded gfx-backend-vulkan v0.6.5
[INFO] [stderr]   Downloaded gfx-hal v0.6.0
[INFO] [stderr]   Downloaded tracing v0.1.25
[INFO] [stderr]   Downloaded memchr v2.3.4
[INFO] [stderr]   Downloaded core-foundation v0.9.1
[INFO] [stderr]   Downloaded x11 v2.18.2
[INFO] [stderr]   Downloaded spirv_cross v0.22.2
[INFO] [stderr]   Downloaded parking_lot v0.11.1
[INFO] [stderr]   Downloaded libc v0.2.88
[INFO] [stderr]   Downloaded log v0.4.14
[INFO] [stderr]   Downloaded proc-macro2 v1.0.24
[INFO] [stderr]   Downloaded futures v0.3.13
[INFO] [stderr]   Downloaded web-sys v0.3.48
[INFO] [stderr]   Downloaded metal v0.20.0
[INFO] [stderr]   Downloaded instant v0.1.9
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.2
[INFO] [stderr]   Downloaded redox_syscall v0.2.5
[INFO] [stderr]   Downloaded parking_lot_core v0.8.3
[INFO] [stderr]   Downloaded smallvec v1.6.1
[INFO] [stderr]   Downloaded lock_api v0.4.2
[INFO] [stderr]   Downloaded arrayvec v0.5.2
[INFO] [stderr]   Downloaded slab v0.4.2
[INFO] [stderr]   Downloaded gfx-memory v0.2.2
[INFO] [stderr]   Downloaded byteorder v1.4.2
[INFO] [stderr]   Downloaded tracing-core v0.1.17
[INFO] [stderr]   Downloaded storage-map v0.3.0
[INFO] [stderr]   Downloaded libloading v0.6.7
[INFO] [stderr]   Downloaded jobserver v0.1.21
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded spirv_headers v1.5.0
[INFO] [stderr]   Downloaded quote v1.0.9
[INFO] [stderr]   Downloaded objc_exception v0.1.2
[INFO] [stderr]   Downloaded gfx-descriptor v0.2.0
[INFO] [stderr]   Downloaded unicode-xid v0.2.1
[INFO] [stderr]   Downloaded gfx-backend-empty v0.6.0
[INFO] [stderr]   Downloaded futures-macro v0.3.13
[INFO] [stderr]   Downloaded cocoa-foundation v0.1.0
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded pin-project-lite v0.2.6
[INFO] [stderr]   Downloaded pixels v0.2.0
[INFO] [stderr]   Downloaded core-graphics-types v0.1.1
[INFO] [stderr]   Downloaded raw-window-handle v0.3.3
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded bit-set v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d1a69da7e730f20612e8433f9de26cf3f4761a58d89e12b39503e2e3cdb8557
[INFO] running `Command { std: "docker" "start" "-a" "5d1a69da7e730f20612e8433f9de26cf3f4761a58d89e12b39503e2e3cdb8557", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d1a69da7e730f20612e8433f9de26cf3f4761a58d89e12b39503e2e3cdb8557", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d1a69da7e730f20612e8433f9de26cf3f4761a58d89e12b39503e2e3cdb8557", kill_on_drop: false }`
[INFO] [stdout] 5d1a69da7e730f20612e8433f9de26cf3f4761a58d89e12b39503e2e3cdb8557
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d1a5d21f4038bcfa18312c9a194ad32e4967203ad0ced8b30664b5922afebeb
[INFO] running `Command { std: "docker" "start" "-a" "7d1a5d21f4038bcfa18312c9a194ad32e4967203ad0ced8b30664b5922afebeb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.88
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling syn v1.0.62
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking futures-sink v0.3.13
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking futures-core v0.3.13
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking futures-channel v0.3.13
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.13
[INFO] [stderr]     Checking futures-task v0.3.13
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking ash v0.31.0
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]     Checking lock_api v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking inplace_it v0.3.3
[INFO] [stderr]    Compiling wide v0.4.6
[INFO] [stderr]     Checking wgpu-types v0.6.1
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]     Checking bytemuck v1.5.1
[INFO] [stderr]     Checking typed-arena v2.0.1
[INFO] [stderr]     Checking pollster v0.2.1
[INFO] [stderr]     Checking bit-set v0.5.2
[INFO] [stderr]     Checking tracing v0.1.25
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking gfx-hal v0.6.0
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking ultraviolet v0.4.6
[INFO] [stderr]     Checking spirv_headers v1.5.0
[INFO] [stderr]     Checking gfx-backend-empty v0.6.0
[INFO] [stderr]     Checking gfx-memory v0.2.2
[INFO] [stderr]     Checking gfx-descriptor v0.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking futures-util v0.3.13
[INFO] [stderr]     Checking naga v0.2.0
[INFO] [stderr]     Checking gfx-backend-vulkan v0.6.5
[INFO] [stderr]     Checking wgpu-core v0.6.5
[INFO] [stderr]     Checking futures-executor v0.3.13
[INFO] [stderr]     Checking futures v0.3.13
[INFO] [stderr]     Checking wgpu v0.6.2
[INFO] [stderr]     Checking pixels v0.2.0
[INFO] [stderr]     Checking gb_emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/cpu.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 | static undefined: fn(u16) = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); };
[INFO] [stdout]    |                              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/cpu.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 80 | static undefined: fn(u16) = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); };
[INFO] [stdout]    |                              ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:966:5
[INFO] [stdout]     |
[INFO] [stdout] 966 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:966:5
[INFO] [stdout]     |
[INFO] [stdout] 966 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:965:5
[INFO] [stdout]     |
[INFO] [stdout] 965 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:965:5
[INFO] [stdout]     |
[INFO] [stdout] 965 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:957:5
[INFO] [stdout]     |
[INFO] [stdout] 957 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:957:5
[INFO] [stdout]     |
[INFO] [stdout] 957 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:934:5
[INFO] [stdout]     |
[INFO] [stdout] 934 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:934:5
[INFO] [stdout]     |
[INFO] [stdout] 934 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:904:5
[INFO] [stdout]     |
[INFO] [stdout] 904 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:904:5
[INFO] [stdout]     |
[INFO] [stdout] 904 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:903:5
[INFO] [stdout]     |
[INFO] [stdout] 903 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:903:5
[INFO] [stdout]     |
[INFO] [stdout] 903 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:902:5
[INFO] [stdout]     |
[INFO] [stdout] 902 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:902:5
[INFO] [stdout]     |
[INFO] [stdout] 902 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:871:5
[INFO] [stdout]     |
[INFO] [stdout] 871 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:871:5
[INFO] [stdout]     |
[INFO] [stdout] 871 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:870:5
[INFO] [stdout]     |
[INFO] [stdout] 870 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:870:5
[INFO] [stdout]     |
[INFO] [stdout] 870 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:836:5
[INFO] [stdout]     |
[INFO] [stdout] 836 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:836:5
[INFO] [stdout]     |
[INFO] [stdout] 836 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:780:5
[INFO] [stdout]     |
[INFO] [stdout] 780 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:780:5
[INFO] [stdout]     |
[INFO] [stdout] 780 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/cpu.rs:290:14
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let (i, b) = hl.overflowing_add(hl);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/cpu.rs:124:14
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let (i, b) = hl.overflowing_add(bc);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:966:5
[INFO] [stdout]     |
[INFO] [stdout] 966 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:966:5
[INFO] [stdout]     |
[INFO] [stdout] 966 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:965:5
[INFO] [stdout]     |
[INFO] [stdout] 965 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:965:5
[INFO] [stdout]     |
[INFO] [stdout] 965 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:957:5
[INFO] [stdout]     |
[INFO] [stdout] 957 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:957:5
[INFO] [stdout]     |
[INFO] [stdout] 957 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:934:5
[INFO] [stdout]     |
[INFO] [stdout] 934 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:934:5
[INFO] [stdout]     |
[INFO] [stdout] 934 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:904:5
[INFO] [stdout]     |
[INFO] [stdout] 904 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:904:5
[INFO] [stdout]     |
[INFO] [stdout] 904 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:903:5
[INFO] [stdout]     |
[INFO] [stdout] 903 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:903:5
[INFO] [stdout]     |
[INFO] [stdout] 903 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:902:5
[INFO] [stdout]     |
[INFO] [stdout] 902 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:902:5
[INFO] [stdout]     |
[INFO] [stdout] 902 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:871:5
[INFO] [stdout]     |
[INFO] [stdout] 871 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:871:5
[INFO] [stdout]     |
[INFO] [stdout] 871 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:870:5
[INFO] [stdout]     |
[INFO] [stdout] 870 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:870:5
[INFO] [stdout]     |
[INFO] [stdout] 870 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1094:5
[INFO] [stdout]      |
[INFO] [stdout] 1094 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1094:5
[INFO] [stdout]      |
[INFO] [stdout] 1094 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1086:5
[INFO] [stdout]      |
[INFO] [stdout] 1086 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1086:5
[INFO] [stdout]      |
[INFO] [stdout] 1086 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1076:5
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1076:5
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1068:5
[INFO] [stdout]      |
[INFO] [stdout] 1068 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1068:5
[INFO] [stdout]      |
[INFO] [stdout] 1068 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:836:5
[INFO] [stdout]     |
[INFO] [stdout] 836 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:836:5
[INFO] [stdout]     |
[INFO] [stdout] 836 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:780:5
[INFO] [stdout]     |
[INFO] [stdout] 780 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:780:5
[INFO] [stdout]     |
[INFO] [stdout] 780 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/cpu.rs:290:14
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let (i, b) = hl.overflowing_add(hl);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]    --> src/cpu_macros.rs:283:10
[INFO] [stdout]     |
[INFO] [stdout] 283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]     |          ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/cpu.rs:278:5
[INFO] [stdout]     |
[INFO] [stdout] 278 |     undefined!(),
[INFO] [stdout]     |     ------------ in this macro invocation
[INFO] [stdout]     = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/cpu.rs:124:14
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let (i, b) = hl.overflowing_add(bc);
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cpu.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(mut memory_unit: MMU) -> Z80 {
[INFO] [stdout]    |                ----^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut processor = cpu::Z80::new(memory_unit);
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_w` is never used
[INFO] [stdout]   --> src/mmu.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl MMU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn set_w(&mut self, address: u16, value: u16) -> Option<u16> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZERO_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ZERO_FLAG: u8 = 0x80;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUB_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const SUB_FLAG: u8 = 0x40;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HCARRY_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const HCARRY_FLAG: u8 = 0x20;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CARRY_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CARRY_FLAG: u8 = 0x10;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/cpu.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Z80 {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 20 |     memory_unit: MMU,
[INFO] [stdout] 21 |     global_m: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     global_t: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     last_m: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     last_t: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     a: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     b: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     c: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 28 |     d: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 29 |     e: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 30 |     f: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 31 |     h: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 32 |     l: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 33 |     pc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 34 |     sp: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 35 |     halt: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 36 |     ime: bool
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset` and `run` are never used
[INFO] [stdout]   --> src/cpu.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Z80 {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn run(&mut self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `undefined` is never used
[INFO] [stdout]   --> src/cpu.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | static undefined: fn(u16) = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); };
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `isa_map` is never used
[INFO] [stdout]   --> src/cpu.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | static isa_map: [fn(&mut Z80); 256] = [
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `map_table` is never used
[INFO] [stdout]    --> src/cpu.rs:979:8
[INFO] [stdout]     |
[INFO] [stdout] 979 | static map_table: [fn(&mut Z80); 64] = [
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `undefined` should have an upper case name
[INFO] [stdout]   --> src/cpu.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | static undefined: fn(u16) = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); };
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to upper case: `UNDEFINED`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `isa_map` should have an upper case name
[INFO] [stdout]   --> src/cpu.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | static isa_map: [fn(&mut Z80); 256] = [
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 82 - static isa_map: [fn(&mut Z80); 256] = [
[INFO] [stdout] 82 + static ISA_MAP: [fn(&mut Z80); 256] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `handlers` should have an upper case name
[INFO] [stdout]    --> src/cpu.rs:703:19
[INFO] [stdout]     |
[INFO] [stdout] 703 |             const handlers: [fn(&mut Z80, u8); 8] = [
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 703 -             const handlers: [fn(&mut Z80, u8); 8] = [
[INFO] [stdout] 703 +             const HANDLERS: [fn(&mut Z80, u8); 8] = [
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `map_table` should have an upper case name
[INFO] [stdout]    --> src/cpu.rs:979:8
[INFO] [stdout]     |
[INFO] [stdout] 979 | static map_table: [fn(&mut Z80); 64] = [
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 979 - static map_table: [fn(&mut Z80); 64] = [
[INFO] [stdout] 979 + static MAP_TABLE: [fn(&mut Z80); 64] = [
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1094:5
[INFO] [stdout]      |
[INFO] [stdout] 1094 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1094:5
[INFO] [stdout]      |
[INFO] [stdout] 1094 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1086:5
[INFO] [stdout]      |
[INFO] [stdout] 1086 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1086:5
[INFO] [stdout]      |
[INFO] [stdout] 1086 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1076:5
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1076:5
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1068:5
[INFO] [stdout]      |
[INFO] [stdout] 1068 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] help: `cpu` is captured in macro and introduced a unused variable
[INFO] [stdout]     --> src/cpu_macros.rs:283:10
[INFO] [stdout]      |
[INFO] [stdout]  283 |         |cpu: &mut Z80| { panic!("Hit undefined instruction at {:?}", stringify!(cpu.pc - 1)); }
[INFO] [stdout]      |          ^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/cpu.rs:1068:5
[INFO] [stdout]      |
[INFO] [stdout] 1068 |     undefined!(),
[INFO] [stdout]      |     ------------ in this macro invocation
[INFO] [stdout]      = note: this warning originates in the macro `undefined` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cpu.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(mut memory_unit: MMU) -> Z80 {
[INFO] [stdout]    |                ----^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut processor = cpu::Z80::new(memory_unit);
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_w` is never used
[INFO] [stdout]   --> src/mmu.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl MMU {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn set_w(&mut self, address: u16, value: u16) -> Option<u16> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ZERO_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ZERO_FLAG: u8 = 0x80;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUB_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const SUB_FLAG: u8 = 0x40;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HCARRY_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const HCARRY_FLAG: u8 = 0x20;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CARRY_FLAG` is never used
[INFO] [stdout]   --> src/cpu.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const CARRY_FLAG: u8 = 0x10;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/cpu.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Z80 {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 20 |     memory_unit: MMU,
[INFO] [stdout] 21 |     global_m: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 22 |     global_t: u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     last_m: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     last_t: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     a: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 26 |     b: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 27 |     c: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 28 |     d: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 29 |     e: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 30 |     f: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 31 |     h: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 32 |     l: u8,
[INFO] [stdout]    |     ^
[INFO] [stdout] 33 |     pc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 34 |     sp: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 35 |     halt: bool,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 36 |     ime: bool
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset` and `run` are never used
[INFO] [stdout]   --> src/cpu.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Z80 {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn run(&mut self) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `undefined` is never used
[INFO] [stdout]   --> src/cpu.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | static undefined: fn(u16) = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); };
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `isa_map` is never used
[INFO] [stdout]   --> src/cpu.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | static isa_map: [fn(&mut Z80); 256] = [
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `map_table` is never used
[INFO] [stdout]    --> src/cpu.rs:979:8
[INFO] [stdout]     |
[INFO] [stdout] 979 | static map_table: [fn(&mut Z80); 64] = [
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `undefined` should have an upper case name
[INFO] [stdout]   --> src/cpu.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | static undefined: fn(u16) = |x: u16| { panic!("Hit undefined instruction at {:?}", stringify!(x - 1)); };
[INFO] [stdout]    |        ^^^^^^^^^ help: convert the identifier to upper case: `UNDEFINED`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `isa_map` should have an upper case name
[INFO] [stdout]   --> src/cpu.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | static isa_map: [fn(&mut Z80); 256] = [
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 82 - static isa_map: [fn(&mut Z80); 256] = [
[INFO] [stdout] 82 + static ISA_MAP: [fn(&mut Z80); 256] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `handlers` should have an upper case name
[INFO] [stdout]    --> src/cpu.rs:703:19
[INFO] [stdout]     |
[INFO] [stdout] 703 |             const handlers: [fn(&mut Z80, u8); 8] = [
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 703 -             const handlers: [fn(&mut Z80, u8); 8] = [
[INFO] [stdout] 703 +             const HANDLERS: [fn(&mut Z80, u8); 8] = [
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `map_table` should have an upper case name
[INFO] [stdout]    --> src/cpu.rs:979:8
[INFO] [stdout]     |
[INFO] [stdout] 979 | static map_table: [fn(&mut Z80); 64] = [
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 979 - static map_table: [fn(&mut Z80); 64] = [
[INFO] [stdout] 979 + static MAP_TABLE: [fn(&mut Z80); 64] = [
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.69s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7d1a5d21f4038bcfa18312c9a194ad32e4967203ad0ced8b30664b5922afebeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d1a5d21f4038bcfa18312c9a194ad32e4967203ad0ced8b30664b5922afebeb", kill_on_drop: false }`
[INFO] [stdout] 7d1a5d21f4038bcfa18312c9a194ad32e4967203ad0ced8b30664b5922afebeb
