[INFO] cloning repository https://github.com/migouche/simulador-z80 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/migouche/simulador-z80" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigouche%2Fsimulador-z80", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigouche%2Fsimulador-z80'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a7f985094ded3124c98b2f80353c9d79ecf1a9a [INFO] checking migouche/simulador-z80 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigouche%2Fsimulador-z80" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/migouche/simulador-z80 [INFO] finished tweaking git repo https://github.com/migouche/simulador-z80 [INFO] tweaked toml for git repo https://github.com/migouche/simulador-z80 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/migouche/simulador-z80 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/migouche/simulador-z80 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 358ca2802681223a32952fcee0c86ff7d0495eda1b54105260f4b6e31b443afd [INFO] running `Command { std: "docker" "start" "-a" "358ca2802681223a32952fcee0c86ff7d0495eda1b54105260f4b6e31b443afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "358ca2802681223a32952fcee0c86ff7d0495eda1b54105260f4b6e31b443afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358ca2802681223a32952fcee0c86ff7d0495eda1b54105260f4b6e31b443afd", kill_on_drop: false }` [INFO] [stdout] 358ca2802681223a32952fcee0c86ff7d0495eda1b54105260f4b6e31b443afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dinherent-method-on-receiver" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207d9a56a4c25675edb15baffeceb57499782dcb17171083397311c82b527a57 [INFO] running `Command { std: "docker" "start" "-a" "207d9a56a4c25675edb15baffeceb57499782dcb17171083397311c82b527a57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling rfd v0.17.2 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking calloop v0.14.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Checking accesskit v0.21.1 [INFO] [stderr] Compiling zvariant_derive v5.8.0 [INFO] [stderr] Checking emath v0.33.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking ron v0.11.0 [INFO] [stderr] Checking ecolor v0.33.3 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Compiling zvariant v5.8.0 [INFO] [stderr] Checking accesskit_consumer v0.31.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking epaint v0.33.3 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking webbrowser v1.0.6 [INFO] [stderr] Checking accesskit_consumer v0.30.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking kittest v0.3.0 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-misc v0.3.10 [INFO] [stderr] Checking egui v0.33.3 [INFO] [stderr] Checking zbus_xml v5.0.2 [INFO] [stderr] Checking zbus-lockstep v0.5.2 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling zbus_macros v5.12.0 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking zbus v5.12.0 [INFO] [stderr] Checking egui_glow v0.33.3 [INFO] [stderr] Checking egui_kittest v0.33.3 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.14.2 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.17.2 [INFO] [stderr] Checking accesskit_winit v0.29.2 [INFO] [stderr] Checking egui-winit v0.33.3 [INFO] [stderr] Checking eframe v0.33.3 [INFO] [stderr] Checking simulador-z80 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cpu/mod.rs:1612:23 [INFO] [stdout] | [INFO] [stdout] 1612 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `X` [INFO] [stdout] | [INFO] [stdout] 1612 - let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] 1612 + let (x, y, z, cpu::flags::X, q) = decode_opcode(opcode); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1612 | let (x, y, z, _p, q) = decode_opcode(opcode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/cpu/mod.rs:1612:26 [INFO] [stdout] | [INFO] [stdout] 1612 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `displacement` [INFO] [stdout] --> src/cpu/mod.rs:1944:73 [INFO] [stdout] | [INFO] [stdout] 1944 | fn decode_ddcb_fdcb(&mut self, opcode: u8, indexing: IndexRegister, displacement: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_displacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu/mod.rs:1949:17 [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Y` [INFO] [stdout] | [INFO] [stdout] 1949 - let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] 1949 + let (x, cpu::flags::Y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, _y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cpu/mod.rs:1949:23 [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `X` [INFO] [stdout] | [INFO] [stdout] 1949 - let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] 1949 + let (x, y, z, cpu::flags::X, q) = decode_opcode(opcode); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, _p, q) = decode_opcode(opcode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/cpu/mod.rs:1949:26 [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value` and `get_port` are never used [INFO] [stdout] --> src/components/devices.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SevenSegmentDisplay { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn get_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_last_key` and `get_port` are never used [INFO] [stdout] --> src/components/devices.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Keypad { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_last_key(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PC` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum SystemRegister { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 77 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cycles` is never read [INFO] [stdout] --> src/cpu/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Z80A { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 211 | cycles: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `nmi`, `set_interrupt`, `get_flag_i`, and `jmp` are never used [INFO] [stdout] --> src/cpu/mod.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 228 | impl Z80A { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn nmi(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn set_interrupt(&mut self, active: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn get_flag_i(&self, usize: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2141 | fn jmp(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `adc` is never used [INFO] [stdout] --> src/cpu/alu.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn adc(a: u8, b: u8, carry_in: bool) -> (u8, u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sbc` is never used [INFO] [stdout] --> src/cpu/alu.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn sbc(a: u8, b: u8, carry_in: bool) -> (u8, u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_window` is never used [INFO] [stdout] --> src/ui_traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait DeviceWithUi: IODevice { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn toggle_window(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::Flag` [INFO] [stdout] --> src/cpu/tests/nmi_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::Flag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::GPR` [INFO] [stdout] --> src/cpu/tests/nmi_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpu::GPR; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::RegisterPair` [INFO] [stdout] --> src/cpu/tests/nmi_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::RegisterPair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/cpu/tests/nmi_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/cpu/tests/nmi_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; // Import the trait for tick() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cpu/mod.rs:1612:23 [INFO] [stdout] | [INFO] [stdout] 1612 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `X` [INFO] [stdout] | [INFO] [stdout] 1612 - let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] 1612 + let (x, y, z, cpu::flags::X, q) = decode_opcode(opcode); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1612 | let (x, y, z, _p, q) = decode_opcode(opcode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/cpu/mod.rs:1612:26 [INFO] [stdout] | [INFO] [stdout] 1612 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `displacement` [INFO] [stdout] --> src/cpu/mod.rs:1944:73 [INFO] [stdout] | [INFO] [stdout] 1944 | fn decode_ddcb_fdcb(&mut self, opcode: u8, indexing: IndexRegister, displacement: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_displacement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/cpu/mod.rs:1949:17 [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `Y` [INFO] [stdout] | [INFO] [stdout] 1949 - let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] 1949 + let (x, cpu::flags::Y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, _y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/cpu/mod.rs:1949:23 [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `X` [INFO] [stdout] | [INFO] [stdout] 1949 - let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] 1949 + let (x, y, z, cpu::flags::X, q) = decode_opcode(opcode); [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, _p, q) = decode_opcode(opcode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/cpu/mod.rs:1949:26 [INFO] [stdout] | [INFO] [stdout] 1949 | let (x, y, z, p, q) = decode_opcode(opcode); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_port` is never used [INFO] [stdout] --> src/components/devices.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SevenSegmentDisplay { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_last_key` and `get_port` are never used [INFO] [stdout] --> src/components/devices.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Keypad { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_last_key(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cycles` is never read [INFO] [stdout] --> src/cpu/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Z80A { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 211 | cycles: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_interrupt`, `get_flag_i`, and `jmp` are never used [INFO] [stdout] --> src/cpu/mod.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 228 | impl Z80A { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn set_interrupt(&mut self, active: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn get_flag_i(&self, usize: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2141 | fn jmp(&mut self, addr: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_window` is never used [INFO] [stdout] --> src/ui_traits.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait DeviceWithUi: IODevice { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn toggle_window(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "207d9a56a4c25675edb15baffeceb57499782dcb17171083397311c82b527a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207d9a56a4c25675edb15baffeceb57499782dcb17171083397311c82b527a57", kill_on_drop: false }` [INFO] [stdout] 207d9a56a4c25675edb15baffeceb57499782dcb17171083397311c82b527a57