[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] 197a4997ae34756d897644cff391d32b57b75c3e [INFO] checking christ776/Rust-Z80 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrist776%2FRust-Z80" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christ776/Rust-Z80 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-11/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4f0ff56ea421499c090aaeb4fbc3fc5c9bdbc47cbad7c33b0a3bb0c6005ee20e [INFO] running `Command { std: "docker" "start" "-a" "4f0ff56ea421499c090aaeb4fbc3fc5c9bdbc47cbad7c33b0a3bb0c6005ee20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f0ff56ea421499c090aaeb4fbc3fc5c9bdbc47cbad7c33b0a3bb0c6005ee20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0ff56ea421499c090aaeb4fbc3fc5c9bdbc47cbad7c33b0a3bb0c6005ee20e", kill_on_drop: false }` [INFO] [stdout] 4f0ff56ea421499c090aaeb4fbc3fc5c9bdbc47cbad7c33b0a3bb0c6005ee20e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 12a8e035b7ba526dcd2754317e92c2175561b069c4b7c5cfa0802556ad9cddc3 [INFO] running `Command { std: "docker" "start" "-a" "12a8e035b7ba526dcd2754317e92c2175561b069c4b7c5cfa0802556ad9cddc3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking Z80 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | ((self.a as u8 as u16) << 8 as u16 | self.flags as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ((self.b as u8 as u16) << 8 as u16 | self.c as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | ((self.d as u8 as u16) << 8 as u16 | self.e as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | ((self.a as u8 as u16) << 8 as u16 | self.flags as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ((self.b as u8 as u16) << 8 as u16 | self.c as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | 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:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | 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 `reg` is never read [INFO] [stdout] --> src/z80.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut reg = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | ((self.d as u8 as u16) << 8 as u16 | self.e as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `r` is assigned to, but never used [INFO] [stdout] --> src/z80.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_r` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | r = self.a as u8; [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:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | 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:801:11 [INFO] [stdout] | [INFO] [stdout] 801 | 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:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | 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:978:27 [INFO] [stdout] | [INFO] [stdout] 978 | pub 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: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1118:27 [INFO] [stdout] | [INFO] [stdout] 1118 | pub fn xor_r(&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:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | 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 `incr` is never read [INFO] [stdout] --> src/z80.rs:1297:11 [INFO] [stdout] | [INFO] [stdout] 1297 | let mut incr = 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:1298:11 [INFO] [stdout] | [INFO] [stdout] 1298 | 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: variable does not need to be mutable [INFO] [stdout] --> src/z80.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:281:47 [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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] 281 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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] 292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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:303:43 [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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] 303 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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:315:42 [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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] 315 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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:331:42 [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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] 331 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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] 361 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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:398:65 [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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] 398 | _ => { println!("op {:x}",op); panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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:555:41 [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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] 555 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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] 567 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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] 612 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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:639:41 [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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] 639 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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:657:41 [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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] 657 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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:693:41 [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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] 693 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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:1020:41 [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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] 1020 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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:1112:45 [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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] 1112 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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:1166:42 [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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] 1166 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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:1228:45 [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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] 1228 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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:1264:41 [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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] 1264 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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:1292:45 [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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] 1292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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:1317:45 [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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] 1317 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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:1505:45 [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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] 1505 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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:1538:42 [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { 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] 1538 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { 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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | 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:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | 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 `reg` is never read [INFO] [stdout] --> src/z80.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut reg = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `r` is assigned to, but never used [INFO] [stdout] --> src/z80.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_r` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | r = self.a as u8; [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:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | 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:801:11 [INFO] [stdout] | [INFO] [stdout] 801 | 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:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | 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:978:27 [INFO] [stdout] | [INFO] [stdout] 978 | pub 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: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1118:27 [INFO] [stdout] | [INFO] [stdout] 1118 | pub fn xor_r(&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:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | 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 `incr` is never read [INFO] [stdout] --> src/z80.rs:1297:11 [INFO] [stdout] | [INFO] [stdout] 1297 | let mut incr = 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:1298:11 [INFO] [stdout] | [INFO] [stdout] 1298 | 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: variable does not need to be mutable [INFO] [stdout] --> src/z80.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:281:47 [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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] 281 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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] 292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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:303:43 [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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] 303 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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:315:42 [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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] 315 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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:331:42 [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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] 331 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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] 361 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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:398:65 [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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] 398 | _ => { println!("op {:x}",op); panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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:555:41 [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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] 555 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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] 567 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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] 612 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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:639:41 [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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] 639 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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:657:41 [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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] 657 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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:693:41 [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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] 693 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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:1020:41 [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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] 1020 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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:1112:45 [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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] 1112 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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:1166:42 [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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] 1166 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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:1228:45 [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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] 1228 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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:1264:41 [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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] 1264 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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:1292:45 [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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] 1292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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:1317:45 [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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] 1317 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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:1505:45 [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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] 1505 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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:1538:42 [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { 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] 1538 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { 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: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | ((self.a as u8 as u16) << 8 as u16 | self.flags as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ((self.b as u8 as u16) << 8 as u16 | self.c as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | ((self.d as u8 as u16) << 8 as u16 | self.e as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | 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:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | 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 `reg` is never read [INFO] [stdout] --> src/z80.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut reg = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `r` is assigned to, but never used [INFO] [stdout] --> src/z80.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_r` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | r = self.a as u8; [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:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | 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:801:11 [INFO] [stdout] | [INFO] [stdout] 801 | 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:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | 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:978:27 [INFO] [stdout] | [INFO] [stdout] 978 | pub 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: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1118:27 [INFO] [stdout] | [INFO] [stdout] 1118 | pub fn xor_r(&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:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | 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 `incr` is never read [INFO] [stdout] --> src/z80.rs:1297:11 [INFO] [stdout] | [INFO] [stdout] 1297 | let mut incr = 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:1298:11 [INFO] [stdout] | [INFO] [stdout] 1298 | 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: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | ((self.a as u8 as u16) << 8 as u16 | self.flags as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | ((self.b as u8 as u16) << 8 as u16 | self.c as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/z80.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | ((self.d as u8 as u16) << 8 as u16 | self.e as u8 as u16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/z80.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:281:47 [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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] 281 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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] 292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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:303:43 [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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] 303 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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:315:42 [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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] 315 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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:331:42 [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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] 331 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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] 361 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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:398:65 [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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] 398 | _ => { println!("op {:x}",op); panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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:555:41 [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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] 555 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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] 567 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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] 612 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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:639:41 [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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] 639 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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:657:41 [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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] 657 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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:693:41 [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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] 693 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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:1020:41 [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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] 1020 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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:1112:45 [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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] 1112 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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:1166:42 [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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] 1166 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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:1228:45 [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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] 1228 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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:1264:41 [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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] 1264 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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:1292:45 [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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] 1292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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:1317:45 [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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] 1317 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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:1505:45 [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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] 1505 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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:1538:42 [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { 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] 1538 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | 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:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | 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 `reg` is never read [INFO] [stdout] --> src/z80.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut reg = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `r` is assigned to, but never used [INFO] [stdout] --> src/z80.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | let mut r = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_r` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/z80.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | r = self.a as u8; [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:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | 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:801:11 [INFO] [stdout] | [INFO] [stdout] 801 | 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:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | 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:978:27 [INFO] [stdout] | [INFO] [stdout] 978 | pub 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: unused variable: `op` [INFO] [stdout] --> src/z80.rs:1118:27 [INFO] [stdout] | [INFO] [stdout] 1118 | pub fn xor_r(&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:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | 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 `incr` is never read [INFO] [stdout] --> src/z80.rs:1297:11 [INFO] [stdout] | [INFO] [stdout] 1297 | let mut incr = 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:1298:11 [INFO] [stdout] | [INFO] [stdout] 1298 | 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: variable does not need to be mutable [INFO] [stdout] --> src/z80.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | let mut res = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/z80.rs:281:47 [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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] 281 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 281 | _ => { 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:292:47 [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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] 292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 292 | _ => { 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:303:43 [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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] 303 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 303 | _ => { 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:315:42 [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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] 315 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 315 | _ => { 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:331:42 [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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] 331 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 331 | _ => { 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:361:41 [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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] 361 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 361 | _ => { 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:398:65 [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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] 398 | _ => { println!("op {:x}",op); panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 398 | _ => { println!("op {:x}",op); 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:555:41 [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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] 555 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 555 | _ => { 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:567:41 [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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] 567 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 567 | _ => { 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:612:41 [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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] 612 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 612 | _ => { 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:639:41 [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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] 639 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 639 | _ => { 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:657:41 [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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] 657 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 657 | _ => { 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:693:41 [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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] 693 | _ => { panic!("unknown cp/m call {}!", ...); }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 693 | _ => { 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:1020:41 [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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] 1020 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1020 | _ => { 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:1112:45 [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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] 1112 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1112 | _ => { 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:1166:42 [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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] 1166 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1166 | _ => { 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:1228:45 [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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] 1228 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1228 | _ => { 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:1264:41 [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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] 1264 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1264 | _ => { 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:1292:45 [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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] 1292 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1292 | _ => { 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:1317:45 [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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] 1317 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1317 | _ => { 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:1505:45 [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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] 1505 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1505 | _ => { 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:1538:42 [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { 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] 1538 | _ => { panic!("unknown cp/m call {}!", ...); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 1538 | _ => { panic!("{}", "unknown cp/m call {}!"); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "12a8e035b7ba526dcd2754317e92c2175561b069c4b7c5cfa0802556ad9cddc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a8e035b7ba526dcd2754317e92c2175561b069c4b7c5cfa0802556ad9cddc3", kill_on_drop: false }` [INFO] [stdout] 12a8e035b7ba526dcd2754317e92c2175561b069c4b7c5cfa0802556ad9cddc3