[INFO] cloning repository https://github.com/christ776/Rust-Z80 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christ776/Rust-Z80" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrist776%2FRust-Z80", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrist776%2FRust-Z80'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f317fe710aee8e614ac43a8bb2dfb22ece908d38 [INFO] checking christ776/Rust-Z80 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrist776%2FRust-Z80" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christ776/Rust-Z80 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christ776/Rust-Z80 [INFO] finished tweaking git repo https://github.com/christ776/Rust-Z80 [INFO] tweaked toml for git repo https://github.com/christ776/Rust-Z80 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/christ776/Rust-Z80 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5a3e19ba3e9fd845cd9c30e87254c3097bdefc01ec3302216f7ba640b53b509 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c5a3e19ba3e9fd845cd9c30e87254c3097bdefc01ec3302216f7ba640b53b509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5a3e19ba3e9fd845cd9c30e87254c3097bdefc01ec3302216f7ba640b53b509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a3e19ba3e9fd845cd9c30e87254c3097bdefc01ec3302216f7ba640b53b509", kill_on_drop: false }` [INFO] [stdout] c5a3e19ba3e9fd845cd9c30e87254c3097bdefc01ec3302216f7ba640b53b509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b4c292bf4e6b4d991f696b17e2b9ba9ecc46b266c0c86d55092dd09da4217e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b4c292bf4e6b4d991f696b17e2b9ba9ecc46b266c0c86d55092dd09da4217e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [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] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking inplace_it v0.3.2 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking cty v0.2.1 [INFO] [stderr] Checking pollster v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking spirv_headers v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling imgui-sys v0.6.0 [INFO] [stderr] Compiling imgui-memory-editor-sys v0.2.0 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Checking gfx-memory v0.2.2 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Checking imgui v0.6.1 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking imgui-memory-editor v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.5 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking wgpu-core v0.6.5 [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking winit_input_helper v0.9.0 [INFO] [stderr] Checking imgui-winit-support v0.6.1 [INFO] [stderr] Checking wgpu v0.6.2 [INFO] [stderr] Checking imgui-wgpu v0.12.0 [INFO] [stderr] Checking pixels v0.2.0 (https://github.com/parasyte/pixels#0a893d6e) [INFO] [stderr] Checking Z80 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/z80.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | let mut s = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/z80.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut n: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1278:11 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/z80.rs:1322:11 [INFO] [stdout] | [INFO] [stdout] 1322 | let mut res: u16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1323:11 [INFO] [stdout] | [INFO] [stdout] 1323 | let mut r: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1497:23 [INFO] [stdout] | [INFO] [stdout] 1497 | fn sub_n(&mut self, op: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1672:11 [INFO] [stdout] | [INFO] [stdout] 1672 | let mut result: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1722:9 [INFO] [stdout] | [INFO] [stdout] 1722 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1878:11 [INFO] [stdout] | [INFO] [stdout] 1878 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/gfx_decoder.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | address: usize, sprite_positions: &[u8], sprite_rom: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/z80.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | let mut s = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/z80.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut n: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1278:11 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/z80.rs:1322:11 [INFO] [stdout] | [INFO] [stdout] 1322 | let mut res: u16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1323:11 [INFO] [stdout] | [INFO] [stdout] 1323 | let mut r: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1497:23 [INFO] [stdout] | [INFO] [stdout] 1497 | fn sub_n(&mut self, op: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1672:11 [INFO] [stdout] | [INFO] [stdout] 1672 | let mut result: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1722:9 [INFO] [stdout] | [INFO] [stdout] 1722 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1878:11 [INFO] [stdout] | [INFO] [stdout] 1878 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/gfx_decoder.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | address: usize, sprite_positions: &[u8], sprite_rom: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_iy` [INFO] [stdout] --> src/z80.rs:303:6 [INFO] [stdout] | [INFO] [stdout] 303 | fn set_iy(&mut self, iy: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_iy` [INFO] [stdout] --> src/z80.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | fn pop_iy(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:581:42 [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:827:41 [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:940:41 [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:960:41 [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1028:41 [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1130:41 [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1168:41 [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1551:41 [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1663:45 [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1753:42 [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1829:45 [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1866:41 [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1917:45 [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2160:45 [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2223:41 [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Z80` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `z80` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_iy` [INFO] [stdout] --> src/z80.rs:303:6 [INFO] [stdout] | [INFO] [stdout] 303 | fn set_iy(&mut self, iy: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_iy` [INFO] [stdout] --> src/z80.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | fn pop_iy(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:581:42 [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:827:41 [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:940:41 [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:960:41 [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1028:41 [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1130:41 [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1168:41 [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1551:41 [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1663:45 [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1753:42 [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1829:45 [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1866:41 [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1917:45 [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2160:45 [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2223:41 [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Z80` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `z80` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `hl` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(0x2000 == cpu.hl); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `hl` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(0x1000 == cpu.hl); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | cpu.a = 0x33; [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `hl` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | cpu.hl = 0x1000; [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(0x33, cpu.b); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(0x33, cpu.c); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(0x33, cpu.d); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(0x33, cpu.e); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(0x33, cpu.get_hl_h()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(0x0F, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:83:49 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(0x0F, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(0x1E, cpu.a); assert!(cpu.flags_get_h()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(0xE0, cpu.b as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(0xFE, cpu.a as u8); assert!(cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(0x81, cpu.a as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(0x80, cpu.c as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(0x01, cpu.a); assert!(cpu.flags_get_c() | cpu.flags_get_pe()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(0xFF, cpu.d as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(0x00, cpu.a); assert!(cpu.flags_get_z() | cpu.flags_get_h()| cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(0x40, cpu.e); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(0x40, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(0x40, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(0x80, cpu.get_hl_h()as u8); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(0xC0, cpu.a as u8); assert!(cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_l` is private [INFO] [stdout] --> tests/test_opcodes.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | assert_eq!(0x33, cpu.get_hl_l() as u8); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(0xF3, cpu.a as u8); assert!(cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(0x37, cpu.a as u8); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(0x0F, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(0x0F, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:141:30 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(0x1E, cpu.a); assert!(cpu.flags_get_h()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(0xE0, cpu.b as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(0xFE, cpu.a as u8); assert!(cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(0x81, cpu.a as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(0x80, cpu.c as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(0x01, cpu.a); assert!(cpu.flags_get_c() | cpu.flags_get_pe()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(0xFF, cpu.d as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(0x00, cpu.a); assert!(cpu.flags_get_z() | cpu.flags_get_c() | cpu.flags_get_h()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(0x40, cpu.e); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(0x40, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(0x40, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(0x80, cpu.get_hl_h() as u8); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(0xC0, cpu.a as u8); assert!(cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_l` is private [INFO] [stdout] --> tests/test_opcodes.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(0x33, cpu.get_hl_l() as u8); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(0xF3, cpu.a as u8); assert!(cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(0x37, cpu.a as u8); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | assert_eq!(0x00, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | assert_eq!(0x01, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(0x02, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(0xFF, cpu.a as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `bc` is private [INFO] [stdout] --> tests/test_opcodes.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(0x1234, cpu.bc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `de` is private [INFO] [stdout] --> tests/test_opcodes.rs:314:32 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(0x5678, cpu.de()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `hl` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(0x9ABC, cpu.hl); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `ix` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:320:32 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(0x2345, cpu.ix); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `iy` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(0x6789, cpu.iy); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `bc` is private [INFO] [stdout] --> tests/test_opcodes.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(0x2345, cpu.bc()); assert_eq!(0x00F8, cpu.sp); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `de` is private [INFO] [stdout] --> tests/test_opcodes.rs:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(0x9ABC, cpu.de()); assert_eq!(0x00FA, cpu.sp); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `hl` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | assert_eq!(0x5678, cpu.hl); assert_eq!(0x00FC, cpu.sp); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `ix` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:346:32 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!(0x1234, cpu.ix); assert_eq!(0x00FE, cpu.sp); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `iy` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | assert_eq!(0xEF00, cpu.iy); assert_eq!(0x0100, cpu.sp); [INFO] [stdout] | ^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:373:30 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(0x04, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(0x05, cpu.b); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:377:30 [INFO] [stdout] | [INFO] [stdout] 377 | assert_eq!(0x03, cpu.c); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:379:30 [INFO] [stdout] | [INFO] [stdout] 379 | assert_eq!(0xff, cpu.d as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:381:30 [INFO] [stdout] | [INFO] [stdout] 381 | assert_eq!(0xaa, cpu.e as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:383:30 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(0x80, cpu.get_hl_h() as u8); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_l` is private [INFO] [stdout] --> tests/test_opcodes.rs:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(0x7f, cpu.get_hl_l()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:387:30 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(0x04, cpu.a); assert!(cpu.flags_get_z() && cpu.flags_get_n()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:389:30 [INFO] [stdout] | [INFO] [stdout] 389 | assert_eq!(0x04, cpu.a); assert!(cpu.flags_get_c() && cpu.flags_get_s() && cpu.flags_get_n()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:391:30 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(0x04, cpu.a); assert!(cpu.flags_get_n()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:393:30 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(0x04, cpu.a); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:423:30 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(0x00, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:425:32 [INFO] [stdout] | [INFO] [stdout] 425 | assert_eq!(0x0207, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(0x020A, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:429:30 [INFO] [stdout] | [INFO] [stdout] 429 | assert_eq!(0x01, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:431:32 [INFO] [stdout] | [INFO] [stdout] 431 | assert_eq!(0x020E, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:433:32 [INFO] [stdout] | [INFO] [stdout] 433 | assert_eq!(0x0211, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:435:30 [INFO] [stdout] | [INFO] [stdout] 435 | assert_eq!(0xFE, cpu.a as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:437:32 [INFO] [stdout] | [INFO] [stdout] 437 | assert_eq!(0x0215, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:439:32 [INFO] [stdout] | [INFO] [stdout] 439 | assert_eq!(0x0218, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(0x03, cpu.b); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:457:30 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq!(0x00, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:459:30 [INFO] [stdout] | [INFO] [stdout] 459 | assert_eq!(0x01, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:461:30 [INFO] [stdout] | [INFO] [stdout] 461 | assert_eq!(0x02, cpu.b); assert_eq!(0x0207, cpu.pc()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:461:57 [INFO] [stdout] | [INFO] [stdout] 461 | assert_eq!(0x02, cpu.b); assert_eq!(0x0207, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:463:30 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(0x02, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:465:30 [INFO] [stdout] | [INFO] [stdout] 465 | assert_eq!(0x01, cpu.b); assert_eq!(0x0207, cpu.pc()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:465:57 [INFO] [stdout] | [INFO] [stdout] 465 | assert_eq!(0x01, cpu.b); assert_eq!(0x0207, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:467:30 [INFO] [stdout] | [INFO] [stdout] 467 | assert_eq!(0x03, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:469:30 [INFO] [stdout] | [INFO] [stdout] 469 | assert_eq!(0x00, cpu.b); assert_eq!(0x020A, cpu.pc()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `pc` is private [INFO] [stdout] --> tests/test_opcodes.rs:469:57 [INFO] [stdout] | [INFO] [stdout] 469 | assert_eq!(0x00, cpu.b); assert_eq!(0x020A, cpu.pc()); [INFO] [stdout] | ^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:505:30 [INFO] [stdout] | [INFO] [stdout] 505 | assert_eq!(0x01, cpu.a); assert!(cpu.flags == 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:505:46 [INFO] [stdout] | [INFO] [stdout] 505 | assert_eq!(0x01, cpu.a); assert!(cpu.flags == 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:507:30 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(0x00, cpu.a); assert!(cpu.flags_get_z() && cpu.flags_get_n()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:509:30 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(0x00, cpu.b); assert!(cpu.flags_get_z() & cpu.flags_get_h()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:511:30 [INFO] [stdout] | [INFO] [stdout] 511 | assert_eq!(0xFF, cpu.b as u8); assert!(cpu.flags_get_n() & cpu.flags_get_h() & cpu.flags_get_s()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:513:30 [INFO] [stdout] | [INFO] [stdout] 513 | assert_eq!(0x10, cpu.c); assert!(cpu.flags_get_h()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let x = i % WIDTH as usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let y = i / WIDTH as usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:515:30 [INFO] [stdout] | [INFO] [stdout] 515 | assert_eq!(0x0F, cpu.c); assert!(cpu.flags_get_n() & cpu.flags_get_h()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/z80.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | let mut s = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | assert_eq!(0x0F, cpu.d); assert!(cpu.flags == 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/z80.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut n: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1278:11 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/z80.rs:1322:11 [INFO] [stdout] | [INFO] [stdout] 1322 | let mut res: u16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1323:11 [INFO] [stdout] | [INFO] [stdout] 1323 | let mut r: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1497:23 [INFO] [stdout] | [INFO] [stdout] 1497 | fn sub_n(&mut self, op: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1672:11 [INFO] [stdout] | [INFO] [stdout] 1672 | let mut result: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1722:9 [INFO] [stdout] | [INFO] [stdout] 1722 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1878:11 [INFO] [stdout] | [INFO] [stdout] 1878 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/gfx_decoder.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | address: usize, sprite_positions: &[u8], sprite_rom: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:517:46 [INFO] [stdout] | [INFO] [stdout] 517 | assert_eq!(0x0F, cpu.d); assert!(cpu.flags == 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:519:30 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(0x0E, cpu.d); assert!(cpu.flags_get_n()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:521:30 [INFO] [stdout] | [INFO] [stdout] 521 | assert_eq!(0x00, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:524:36 [INFO] [stdout] | [INFO] [stdout] 524 | assert_eq!(0x80 as u8, cpu.e as u8); assert!(cpu.flags_get_s() & cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:526:30 [INFO] [stdout] | [INFO] [stdout] 526 | assert_eq!(0x7F, cpu.e); assert!(cpu.flags_get_n() & cpu.flags_get_h() & cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:528:30 [INFO] [stdout] | [INFO] [stdout] 528 | assert_eq!(0x3F, cpu.get_hl_h()); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:530:30 [INFO] [stdout] | [INFO] [stdout] 530 | assert_eq!(0x3E, cpu.get_hl_h()); assert!(cpu.flags_get_n() & cpu.flags_get_c()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_l` is private [INFO] [stdout] --> tests/test_opcodes.rs:532:30 [INFO] [stdout] | [INFO] [stdout] 532 | assert_eq!(0x24, cpu.get_hl_l()); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_l` is private [INFO] [stdout] --> tests/test_opcodes.rs:534:30 [INFO] [stdout] | [INFO] [stdout] 534 | assert_eq!(0x23, cpu.get_hl_l()); assert!(cpu.flags_get_n() & cpu.flags_get_c()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:559:30 [INFO] [stdout] | [INFO] [stdout] 559 | assert_eq!(0x00, cpu.a); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `b` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:561:30 [INFO] [stdout] | [INFO] [stdout] 561 | assert_eq!(0x41, cpu.b); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `c` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:563:30 [INFO] [stdout] | [INFO] [stdout] 563 | assert_eq!(0x61, cpu.c); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `d` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:565:30 [INFO] [stdout] | [INFO] [stdout] 565 | assert_eq!(0x81, cpu.d as u8); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `e` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:567:30 [INFO] [stdout] | [INFO] [stdout] 567 | assert_eq!(0x41, cpu.e); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_h` is private [INFO] [stdout] --> tests/test_opcodes.rs:569:30 [INFO] [stdout] | [INFO] [stdout] 569 | assert_eq!(0x61, cpu.get_hl_h()); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `get_hl_l` is private [INFO] [stdout] --> tests/test_opcodes.rs:571:36 [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(0x81 as u8, cpu.get_hl_l() as u8); [INFO] [stdout] | ^^^^^^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:573:30 [INFO] [stdout] | [INFO] [stdout] 573 | assert_eq!(0x00, cpu.a); assert!(cpu.flags_get_z()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:575:30 [INFO] [stdout] | [INFO] [stdout] 575 | assert_eq!(0x41, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:575:49 [INFO] [stdout] | [INFO] [stdout] 575 | assert_eq!(0x41, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:577:30 [INFO] [stdout] | [INFO] [stdout] 577 | assert_eq!(0xA2, cpu.a as u8); assert!(cpu.flags_get_s() && cpu.flags_get_pe()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | assert_eq!(0x23, cpu.a); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:581:30 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(0x65, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:581:49 [INFO] [stdout] | [INFO] [stdout] 581 | assert_eq!(0x65, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:583:30 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(0xC6, cpu.a as u8); assert!(cpu.flags_get_s() && cpu.flags_get_pe()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:585:30 [INFO] [stdout] | [INFO] [stdout] 585 | assert_eq!(0x47, cpu.a); assert!(cpu.flags_get_c()); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `a` of struct `Z80` is private [INFO] [stdout] --> tests/test_opcodes.rs:587:30 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(0x49, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `flags` on type `Z80` [INFO] [stdout] --> tests/test_opcodes.rs:587:49 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(0x49, cpu.a); assert_eq!(cpu.flags, 0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pc`, `sp`, `mem`, `port_a_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 125 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0609, E0616, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Z80` [INFO] [stdout] warning: associated function is never used: `set_iy` [INFO] [stdout] --> src/z80.rs:303:6 [INFO] [stdout] | [INFO] [stdout] 303 | fn set_iy(&mut self, iy: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: associated function is never used: `pop_iy` [INFO] [stdout] --> src/z80.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | fn pop_iy(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let x = i % WIDTH as usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | let y = i / WIDTH as usize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s` is never read [INFO] [stdout] --> src/z80.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | let mut s = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `n` is never read [INFO] [stdout] --> src/z80.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | let mut n: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1278:11 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/z80.rs:1322:11 [INFO] [stdout] | [INFO] [stdout] 1322 | let mut res: u16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1323:11 [INFO] [stdout] | [INFO] [stdout] 1323 | let mut r: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1497:23 [INFO] [stdout] | [INFO] [stdout] 1497 | fn sub_n(&mut self, op: u8) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1672:11 [INFO] [stdout] | [INFO] [stdout] 1672 | let mut result: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/z80.rs:1722:9 [INFO] [stdout] | [INFO] [stdout] 1722 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:1878:11 [INFO] [stdout] | [INFO] [stdout] 1878 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/gfx_decoder.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | address: usize, sprite_positions: &[u8], sprite_rom: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:581:42 [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:827:41 [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:940:41 [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:960:41 [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1028:41 [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1130:41 [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1168:41 [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1551:41 [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1663:45 [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1753:42 [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1829:45 [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1866:41 [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1917:45 [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2160:45 [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2223:41 [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_iy` [INFO] [stdout] --> src/z80.rs:303:6 [INFO] [stdout] | [INFO] [stdout] 303 | fn set_iy(&mut self, iy: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_iy` [INFO] [stdout] --> src/z80.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | fn pop_iy(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:581:42 [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(panic_fmt)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 581 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:827:41 [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 827 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:940:41 [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 940 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:960:41 [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 960 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1028:41 [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1028 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1130:41 [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1130 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1168:41 [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!"); }, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1168 | _ => { panic!("{}", "unknown cp/m call {}!"); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1551:41 [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1551 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1663:45 [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1663 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1753:42 [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1753 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1829:45 [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1829 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1866:41 [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1866 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:1917:45 [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1917 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2160:45 [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2160 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:2223:41 [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!"); } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in a future Rust edition [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 2223 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2b4c292bf4e6b4d991f696b17e2b9ba9ecc46b266c0c86d55092dd09da4217e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4c292bf4e6b4d991f696b17e2b9ba9ecc46b266c0c86d55092dd09da4217e8", kill_on_drop: false }` [INFO] [stdout] 2b4c292bf4e6b4d991f696b17e2b9ba9ecc46b266c0c86d55092dd09da4217e8