[INFO] cloning repository https://github.com/z4roc/mc68000-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z4roc/mc68000-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz4roc%2Fmc68000-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz4roc%2Fmc68000-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ff85515b3040094583772f02d28e289c5229e69 [INFO] checking z4roc/mc68000-emulator against master#8b6b15b877fbceb1ee5d9a5a4746e7515901574a for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz4roc%2Fmc68000-emulator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/z4roc/mc68000-emulator [INFO] finished tweaking git repo https://github.com/z4roc/mc68000-emulator [INFO] tweaked toml for git repo https://github.com/z4roc/mc68000-emulator written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/z4roc/mc68000-emulator on toolchain 8b6b15b877fbceb1ee5d9a5a4746e7515901574a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/z4roc/mc68000-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui-wgpu v0.32.3 [INFO] [stderr] Downloaded eframe v0.32.3 [INFO] [stderr] Downloaded egui-winit v0.32.3 [INFO] [stderr] Downloaded emath v0.32.3 [INFO] [stderr] Downloaded egui_glow v0.32.3 [INFO] [stderr] Downloaded epaint v0.32.3 [INFO] [stderr] Downloaded ecolor v0.32.3 [INFO] [stderr] Downloaded egui v0.32.3 [INFO] [stderr] Downloaded epaint_default_fonts v0.32.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9662c13266ac93817ef89661a6de2c49ddfc1b9b70b96532da6a093492b862d3 [INFO] running `Command { std: "docker" "start" "-a" "9662c13266ac93817ef89661a6de2c49ddfc1b9b70b96532da6a093492b862d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9662c13266ac93817ef89661a6de2c49ddfc1b9b70b96532da6a093492b862d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9662c13266ac93817ef89661a6de2c49ddfc1b9b70b96532da6a093492b862d3", kill_on_drop: false }` [INFO] [stdout] 9662c13266ac93817ef89661a6de2c49ddfc1b9b70b96532da6a093492b862d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d32b491426f9cb9db5055bf4ad0dd73f38f4301f29a9b44d981f9d23aca66010 [INFO] running `Command { std: "docker" "start" "-a" "d32b491426f9cb9db5055bf4ad0dd73f38f4301f29a9b44d981f9d23aca66010", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking accesskit v0.19.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking accesskit_consumer v0.28.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking epaint_default_fonts v0.32.3 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bytemuck v1.23.2 [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] Checking tracing v0.1.41 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.32.3 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking ecolor v0.32.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking epaint v0.32.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking egui v0.32.3 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_utils v3.2.1 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling zvariant_derive v5.7.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling zvariant v5.7.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking webbrowser v1.0.5 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking egui_glow v0.32.3 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Checking zbus_xml v5.0.2 [INFO] [stderr] Checking zbus-lockstep v0.5.1 [INFO] [stderr] Compiling zbus_macros v5.11.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.1 [INFO] [stderr] Checking zbus v5.11.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.12.0 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.15.0 [INFO] [stderr] Checking accesskit_winit v0.27.0 [INFO] [stderr] Checking egui-winit v0.32.3 [INFO] [stderr] Checking eframe v0.32.3 [INFO] [stderr] Checking mc68000 v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn move_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/cpu.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn moveq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn branch_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn or_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | fn sub_cmp_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn and_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | fn add_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | fn shift_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn move_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/cpu.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn moveq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn branch_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn or_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | fn sub_cmp_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn and_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | fn add_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | fn shift_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/gui.rs:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | for (idx, (address, instruction)) in self.machine_code.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/gui.rs:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | for (idx, (address, instruction)) in self.machine_code.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supervisor_stack_pointer` and `vector_base_register` are never read [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | supervisor_stack_pointer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | vector_base_register: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supervisor_stack_pointer` and `vector_base_register` are never read [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | supervisor_stack_pointer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | vector_base_register: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn move_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/cpu.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn moveq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn branch_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn or_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | fn sub_cmp_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn and_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | fn add_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | fn shift_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/gui.rs:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | for (idx, (address, instruction)) in self.machine_code.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_assembly` is never used [INFO] [stdout] --> src/assembler.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Assembler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn print_assembly(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supervisor_stack_pointer` and `vector_base_register` are never read [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | supervisor_stack_pointer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | vector_base_register: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `print_registers` are never used [INFO] [stdout] --> src/cpu.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn run(&mut self, memory: &mut Memory) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn print_registers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_byte`, `write_byte`, `read_long`, and `write_long` are never used [INFO] [stdout] --> src/memory.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn read_byte(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_byte(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn read_long(&self, address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn write_long(&mut self, address: u32, value: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn move_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/cpu.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn move_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/cpu.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn moveq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn branch_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn moveq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn branch_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn or_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | fn sub_cmp_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn and_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | fn add_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | fn shift_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn or_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | fn sub_cmp_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn and_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | fn add_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | fn shift_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/gui.rs:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | for (idx, (address, instruction)) in self.machine_code.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supervisor_stack_pointer` and `vector_base_register` are never read [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | supervisor_stack_pointer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | vector_base_register: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/cpu.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn run(&mut self, memory: &mut Memory) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_byte`, `write_byte`, `read_long`, and `write_long` are never used [INFO] [stdout] --> src/memory.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn read_byte(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_byte(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn read_long(&self, address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn write_long(&mut self, address: u32, value: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/gui.rs:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | for (idx, (address, instruction)) in self.machine_code.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supervisor_stack_pointer` and `vector_base_register` are never read [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | supervisor_stack_pointer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | vector_base_register: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/cpu.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn run(&mut self, memory: &mut Memory) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_byte`, `write_byte`, `read_long`, and `write_long` are never used [INFO] [stdout] --> src/memory.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn read_byte(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_byte(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn read_long(&self, address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn write_long(&mut self, address: u32, value: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn move_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/cpu.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:109:59 [INFO] [stdout] | [INFO] [stdout] 109 | fn addq_subq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn moveq_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn branch_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:198:52 [INFO] [stdout] | [INFO] [stdout] 198 | fn or_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:203:57 [INFO] [stdout] | [INFO] [stdout] 203 | fn sub_cmp_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:236:53 [INFO] [stdout] | [INFO] [stdout] 236 | fn and_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:241:53 [INFO] [stdout] | [INFO] [stdout] 241 | fn add_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/cpu.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | fn shift_instruction(&mut self, instruction: u16, memory: &mut Memory) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/gui.rs:668:22 [INFO] [stdout] | [INFO] [stdout] 668 | for (idx, (address, instruction)) in self.machine_code.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_assembly` is never used [INFO] [stdout] --> src/assembler.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Assembler { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn print_assembly(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supervisor_stack_pointer` and `vector_base_register` are never read [INFO] [stdout] --> src/cpu.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | supervisor_stack_pointer: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | vector_base_register: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `print_registers` are never used [INFO] [stdout] --> src/cpu.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn run(&mut self, memory: &mut Memory) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn print_registers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_byte`, `write_byte`, `read_long`, and `write_long` are never used [INFO] [stdout] --> src/memory.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn read_byte(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn write_byte(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn read_long(&self, address: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn write_long(&mut self, address: u32, value: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.06s [INFO] running `Command { std: "docker" "inspect" "d32b491426f9cb9db5055bf4ad0dd73f38f4301f29a9b44d981f9d23aca66010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32b491426f9cb9db5055bf4ad0dd73f38f4301f29a9b44d981f9d23aca66010", kill_on_drop: false }` [INFO] [stdout] d32b491426f9cb9db5055bf4ad0dd73f38f4301f29a9b44d981f9d23aca66010