[INFO] cloning repository https://github.com/FuSoftware/microchip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FuSoftware/microchip-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuSoftware%2Fmicrochip-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuSoftware%2Fmicrochip-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1513f60df7c2557757652f02b00a378fd2668d3 [INFO] checking FuSoftware/microchip-rs against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuSoftware%2Fmicrochip-rs" "/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/FuSoftware/microchip-rs on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FuSoftware/microchip-rs [INFO] finished tweaking git repo https://github.com/FuSoftware/microchip-rs [INFO] tweaked toml for git repo https://github.com/FuSoftware/microchip-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/FuSoftware/microchip-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ed801a290776c010da511430e2e901ff4a7ddac4408e3f9aeccf3967d18c98f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3ed801a290776c010da511430e2e901ff4a7ddac4408e3f9aeccf3967d18c98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ed801a290776c010da511430e2e901ff4a7ddac4408e3f9aeccf3967d18c98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed801a290776c010da511430e2e901ff4a7ddac4408e3f9aeccf3967d18c98f", kill_on_drop: false }` [INFO] [stdout] 3ed801a290776c010da511430e2e901ff4a7ddac4408e3f9aeccf3967d18c98f [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c1553653c2db1a58a0497efec3c9793ddfcad7e2f1edd7e8cdf0ec41afc8f9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "72c1553653c2db1a58a0497efec3c9793ddfcad7e2f1edd7e8cdf0ec41afc8f9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking microchip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stdout] warning: type `WD1772_PINS` should have an upper camel case name [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Wd1772Pins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51DecompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MCS51_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_ADDRESSING` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum MCS51_ADDRESSING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Addressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_Ri` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | INDIRECT_Ri(u8), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectRi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_16` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ADDR_16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_11` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | ADDR_11, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_INSTRUCTION` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum PIC16F628A_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aRegisters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v2.33.1 [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | dispatch: [|cpu| {}; 256], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1379:32 [INFO] [stdout] | [INFO] [stdout] 1379 | self.dispatch[0xB0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1380:32 [INFO] [stdout] | [INFO] [stdout] 1380 | self.dispatch[0xB1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1381:32 [INFO] [stdout] | [INFO] [stdout] 1381 | self.dispatch[0xB2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1382:32 [INFO] [stdout] | [INFO] [stdout] 1382 | self.dispatch[0xB3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1383:32 [INFO] [stdout] | [INFO] [stdout] 1383 | self.dispatch[0xB4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1384:32 [INFO] [stdout] | [INFO] [stdout] 1384 | self.dispatch[0xB5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1385:32 [INFO] [stdout] | [INFO] [stdout] 1385 | self.dispatch[0xB6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1386:32 [INFO] [stdout] | [INFO] [stdout] 1386 | self.dispatch[0xB7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1387:32 [INFO] [stdout] | [INFO] [stdout] 1387 | self.dispatch[0xB8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1388:32 [INFO] [stdout] | [INFO] [stdout] 1388 | self.dispatch[0xB9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1389:32 [INFO] [stdout] | [INFO] [stdout] 1389 | self.dispatch[0xBA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | self.dispatch[0xBB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | self.dispatch[0xBC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1392:32 [INFO] [stdout] | [INFO] [stdout] 1392 | self.dispatch[0xBD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1393:32 [INFO] [stdout] | [INFO] [stdout] 1393 | self.dispatch[0xBE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1394:32 [INFO] [stdout] | [INFO] [stdout] 1394 | self.dispatch[0xBF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1395:32 [INFO] [stdout] | [INFO] [stdout] 1395 | self.dispatch[0xC0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1396:32 [INFO] [stdout] | [INFO] [stdout] 1396 | self.dispatch[0xC1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1397:32 [INFO] [stdout] | [INFO] [stdout] 1397 | self.dispatch[0xC2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1398:32 [INFO] [stdout] | [INFO] [stdout] 1398 | self.dispatch[0xC3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1399:32 [INFO] [stdout] | [INFO] [stdout] 1399 | self.dispatch[0xC4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1400:32 [INFO] [stdout] | [INFO] [stdout] 1400 | self.dispatch[0xC5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1401:32 [INFO] [stdout] | [INFO] [stdout] 1401 | self.dispatch[0xC6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1402:32 [INFO] [stdout] | [INFO] [stdout] 1402 | self.dispatch[0xC7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1403:32 [INFO] [stdout] | [INFO] [stdout] 1403 | self.dispatch[0xC8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1404:32 [INFO] [stdout] | [INFO] [stdout] 1404 | self.dispatch[0xC9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1405:32 [INFO] [stdout] | [INFO] [stdout] 1405 | self.dispatch[0xCA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1406:32 [INFO] [stdout] | [INFO] [stdout] 1406 | self.dispatch[0xCB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1407:32 [INFO] [stdout] | [INFO] [stdout] 1407 | self.dispatch[0xCC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1408:32 [INFO] [stdout] | [INFO] [stdout] 1408 | self.dispatch[0xCD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1409:32 [INFO] [stdout] | [INFO] [stdout] 1409 | self.dispatch[0xCE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1410:32 [INFO] [stdout] | [INFO] [stdout] 1410 | self.dispatch[0xCF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1411:32 [INFO] [stdout] | [INFO] [stdout] 1411 | self.dispatch[0xD0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1412:32 [INFO] [stdout] | [INFO] [stdout] 1412 | self.dispatch[0xD1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1413:32 [INFO] [stdout] | [INFO] [stdout] 1413 | self.dispatch[0xD2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1414:32 [INFO] [stdout] | [INFO] [stdout] 1414 | self.dispatch[0xD3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1415:32 [INFO] [stdout] | [INFO] [stdout] 1415 | self.dispatch[0xD4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1416:32 [INFO] [stdout] | [INFO] [stdout] 1416 | self.dispatch[0xD5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | self.dispatch[0xD6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1418:32 [INFO] [stdout] | [INFO] [stdout] 1418 | self.dispatch[0xD7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1419:32 [INFO] [stdout] | [INFO] [stdout] 1419 | self.dispatch[0xD8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1420:32 [INFO] [stdout] | [INFO] [stdout] 1420 | self.dispatch[0xD9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1421:32 [INFO] [stdout] | [INFO] [stdout] 1421 | self.dispatch[0xDA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1422:32 [INFO] [stdout] | [INFO] [stdout] 1422 | self.dispatch[0xDB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1423:32 [INFO] [stdout] | [INFO] [stdout] 1423 | self.dispatch[0xDC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | self.dispatch[0xDD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | self.dispatch[0xDE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1426:32 [INFO] [stdout] | [INFO] [stdout] 1426 | self.dispatch[0xDF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1427:32 [INFO] [stdout] | [INFO] [stdout] 1427 | self.dispatch[0xE0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1428:32 [INFO] [stdout] | [INFO] [stdout] 1428 | self.dispatch[0xE1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1429:32 [INFO] [stdout] | [INFO] [stdout] 1429 | self.dispatch[0xE2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1430:32 [INFO] [stdout] | [INFO] [stdout] 1430 | self.dispatch[0xE3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1431:32 [INFO] [stdout] | [INFO] [stdout] 1431 | self.dispatch[0xE4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1432:32 [INFO] [stdout] | [INFO] [stdout] 1432 | self.dispatch[0xE5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1433:32 [INFO] [stdout] | [INFO] [stdout] 1433 | self.dispatch[0xE6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1434:32 [INFO] [stdout] | [INFO] [stdout] 1434 | self.dispatch[0xE7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1435:32 [INFO] [stdout] | [INFO] [stdout] 1435 | self.dispatch[0xE8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1436:32 [INFO] [stdout] | [INFO] [stdout] 1436 | self.dispatch[0xE9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1437:32 [INFO] [stdout] | [INFO] [stdout] 1437 | self.dispatch[0xEA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1438:32 [INFO] [stdout] | [INFO] [stdout] 1438 | self.dispatch[0xEB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1439:32 [INFO] [stdout] | [INFO] [stdout] 1439 | self.dispatch[0xEC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | self.dispatch[0xED] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | self.dispatch[0xEE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1442:32 [INFO] [stdout] | [INFO] [stdout] 1442 | self.dispatch[0xEF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1443:32 [INFO] [stdout] | [INFO] [stdout] 1443 | self.dispatch[0xF0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1444:32 [INFO] [stdout] | [INFO] [stdout] 1444 | self.dispatch[0xF1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1445:32 [INFO] [stdout] | [INFO] [stdout] 1445 | self.dispatch[0xF2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1446:32 [INFO] [stdout] | [INFO] [stdout] 1446 | self.dispatch[0xF3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1447:32 [INFO] [stdout] | [INFO] [stdout] 1447 | self.dispatch[0xF4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1448:32 [INFO] [stdout] | [INFO] [stdout] 1448 | self.dispatch[0xF5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1449:32 [INFO] [stdout] | [INFO] [stdout] 1449 | self.dispatch[0xF6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | self.dispatch[0xF7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | self.dispatch[0xF8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | self.dispatch[0xF9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | self.dispatch[0xFA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | self.dispatch[0xFB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | self.dispatch[0xFC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | self.dispatch[0xFD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | self.dispatch[0xFE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | self.dispatch[0xFF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2337:13 [INFO] [stdout] | [INFO] [stdout] 2337 | let mut result = acc - src; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | result -= 1; [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: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | let new_data = data & !(1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let new_data = data | (1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:904:27 [INFO] [stdout] | [INFO] [stdout] 904 | fn op_call(&mut self, k: u16) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:932:28 [INFO] [stdout] | [INFO] [stdout] 932 | fn op_retlw(&mut self, k: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/mcus/mcs51.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut mcs51 = MCS51 { [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: enum is never used: `WD1772_PINS` [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WD1772` [INFO] [stdout] --> src/lib/components/wd1772.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct WD1772 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/components/wd1772.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new() -> WD1772 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `k_addr` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | k_addr: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | opcode: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | status: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 108 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WD1772_PINS` should have an upper camel case name [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Wd1772Pins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51DecompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MCS51_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_ADDRESSING` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum MCS51_ADDRESSING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Addressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_Ri` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | INDIRECT_Ri(u8), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectRi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_16` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ADDR_16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_11` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | ADDR_11, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_INSTRUCTION` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum PIC16F628A_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aRegisters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bin_main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin_main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | dispatch: [|cpu| {}; 256], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1379:32 [INFO] [stdout] | [INFO] [stdout] 1379 | self.dispatch[0xB0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1380:32 [INFO] [stdout] | [INFO] [stdout] 1380 | self.dispatch[0xB1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1381:32 [INFO] [stdout] | [INFO] [stdout] 1381 | self.dispatch[0xB2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1382:32 [INFO] [stdout] | [INFO] [stdout] 1382 | self.dispatch[0xB3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1383:32 [INFO] [stdout] | [INFO] [stdout] 1383 | self.dispatch[0xB4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1384:32 [INFO] [stdout] | [INFO] [stdout] 1384 | self.dispatch[0xB5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1385:32 [INFO] [stdout] | [INFO] [stdout] 1385 | self.dispatch[0xB6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1386:32 [INFO] [stdout] | [INFO] [stdout] 1386 | self.dispatch[0xB7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1387:32 [INFO] [stdout] | [INFO] [stdout] 1387 | self.dispatch[0xB8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1388:32 [INFO] [stdout] | [INFO] [stdout] 1388 | self.dispatch[0xB9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1389:32 [INFO] [stdout] | [INFO] [stdout] 1389 | self.dispatch[0xBA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | self.dispatch[0xBB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | self.dispatch[0xBC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1392:32 [INFO] [stdout] | [INFO] [stdout] 1392 | self.dispatch[0xBD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1393:32 [INFO] [stdout] | [INFO] [stdout] 1393 | self.dispatch[0xBE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1394:32 [INFO] [stdout] | [INFO] [stdout] 1394 | self.dispatch[0xBF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1395:32 [INFO] [stdout] | [INFO] [stdout] 1395 | self.dispatch[0xC0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1396:32 [INFO] [stdout] | [INFO] [stdout] 1396 | self.dispatch[0xC1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1397:32 [INFO] [stdout] | [INFO] [stdout] 1397 | self.dispatch[0xC2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1398:32 [INFO] [stdout] | [INFO] [stdout] 1398 | self.dispatch[0xC3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1399:32 [INFO] [stdout] | [INFO] [stdout] 1399 | self.dispatch[0xC4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1400:32 [INFO] [stdout] | [INFO] [stdout] 1400 | self.dispatch[0xC5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1401:32 [INFO] [stdout] | [INFO] [stdout] 1401 | self.dispatch[0xC6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1402:32 [INFO] [stdout] | [INFO] [stdout] 1402 | self.dispatch[0xC7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1403:32 [INFO] [stdout] | [INFO] [stdout] 1403 | self.dispatch[0xC8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1404:32 [INFO] [stdout] | [INFO] [stdout] 1404 | self.dispatch[0xC9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1405:32 [INFO] [stdout] | [INFO] [stdout] 1405 | self.dispatch[0xCA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1406:32 [INFO] [stdout] | [INFO] [stdout] 1406 | self.dispatch[0xCB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1407:32 [INFO] [stdout] | [INFO] [stdout] 1407 | self.dispatch[0xCC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1408:32 [INFO] [stdout] | [INFO] [stdout] 1408 | self.dispatch[0xCD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1409:32 [INFO] [stdout] | [INFO] [stdout] 1409 | self.dispatch[0xCE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1410:32 [INFO] [stdout] | [INFO] [stdout] 1410 | self.dispatch[0xCF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1411:32 [INFO] [stdout] | [INFO] [stdout] 1411 | self.dispatch[0xD0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1412:32 [INFO] [stdout] | [INFO] [stdout] 1412 | self.dispatch[0xD1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1413:32 [INFO] [stdout] | [INFO] [stdout] 1413 | self.dispatch[0xD2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1414:32 [INFO] [stdout] | [INFO] [stdout] 1414 | self.dispatch[0xD3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1415:32 [INFO] [stdout] | [INFO] [stdout] 1415 | self.dispatch[0xD4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1416:32 [INFO] [stdout] | [INFO] [stdout] 1416 | self.dispatch[0xD5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | self.dispatch[0xD6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1418:32 [INFO] [stdout] | [INFO] [stdout] 1418 | self.dispatch[0xD7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1419:32 [INFO] [stdout] | [INFO] [stdout] 1419 | self.dispatch[0xD8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1420:32 [INFO] [stdout] | [INFO] [stdout] 1420 | self.dispatch[0xD9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1421:32 [INFO] [stdout] | [INFO] [stdout] 1421 | self.dispatch[0xDA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1422:32 [INFO] [stdout] | [INFO] [stdout] 1422 | self.dispatch[0xDB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1423:32 [INFO] [stdout] | [INFO] [stdout] 1423 | self.dispatch[0xDC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | self.dispatch[0xDD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | self.dispatch[0xDE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1426:32 [INFO] [stdout] | [INFO] [stdout] 1426 | self.dispatch[0xDF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1427:32 [INFO] [stdout] | [INFO] [stdout] 1427 | self.dispatch[0xE0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1428:32 [INFO] [stdout] | [INFO] [stdout] 1428 | self.dispatch[0xE1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1429:32 [INFO] [stdout] | [INFO] [stdout] 1429 | self.dispatch[0xE2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1430:32 [INFO] [stdout] | [INFO] [stdout] 1430 | self.dispatch[0xE3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1431:32 [INFO] [stdout] | [INFO] [stdout] 1431 | self.dispatch[0xE4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1432:32 [INFO] [stdout] | [INFO] [stdout] 1432 | self.dispatch[0xE5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1433:32 [INFO] [stdout] | [INFO] [stdout] 1433 | self.dispatch[0xE6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1434:32 [INFO] [stdout] | [INFO] [stdout] 1434 | self.dispatch[0xE7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1435:32 [INFO] [stdout] | [INFO] [stdout] 1435 | self.dispatch[0xE8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1436:32 [INFO] [stdout] | [INFO] [stdout] 1436 | self.dispatch[0xE9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1437:32 [INFO] [stdout] | [INFO] [stdout] 1437 | self.dispatch[0xEA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1438:32 [INFO] [stdout] | [INFO] [stdout] 1438 | self.dispatch[0xEB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1439:32 [INFO] [stdout] | [INFO] [stdout] 1439 | self.dispatch[0xEC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | self.dispatch[0xED] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | self.dispatch[0xEE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1442:32 [INFO] [stdout] | [INFO] [stdout] 1442 | self.dispatch[0xEF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1443:32 [INFO] [stdout] | [INFO] [stdout] 1443 | self.dispatch[0xF0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1444:32 [INFO] [stdout] | [INFO] [stdout] 1444 | self.dispatch[0xF1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1445:32 [INFO] [stdout] | [INFO] [stdout] 1445 | self.dispatch[0xF2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1446:32 [INFO] [stdout] | [INFO] [stdout] 1446 | self.dispatch[0xF3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1447:32 [INFO] [stdout] | [INFO] [stdout] 1447 | self.dispatch[0xF4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1448:32 [INFO] [stdout] | [INFO] [stdout] 1448 | self.dispatch[0xF5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1449:32 [INFO] [stdout] | [INFO] [stdout] 1449 | self.dispatch[0xF6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | self.dispatch[0xF7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | self.dispatch[0xF8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | self.dispatch[0xF9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | self.dispatch[0xFA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | self.dispatch[0xFB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | self.dispatch[0xFC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | self.dispatch[0xFD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | self.dispatch[0xFE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | self.dispatch[0xFF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2337:13 [INFO] [stdout] | [INFO] [stdout] 2337 | let mut result = acc - src; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | result -= 1; [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: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | let new_data = data & !(1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let new_data = data | (1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:904:27 [INFO] [stdout] | [INFO] [stdout] 904 | fn op_call(&mut self, k: u16) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:932:28 [INFO] [stdout] | [INFO] [stdout] 932 | fn op_retlw(&mut self, k: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/mcus/mcs51.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut mcs51 = MCS51 { [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] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stdout] warning: enum is never used: `WD1772_PINS` [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WD1772` [INFO] [stdout] --> src/lib/components/wd1772.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct WD1772 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/components/wd1772.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new() -> WD1772 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MCS51_Decompiler` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new() -> MCS51_Decompiler { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `label_list` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn label_list(&self) -> BTreeMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_file` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn write_to_file(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decompile` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn decompile(&mut self, start: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sfr_name` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn sfr_name(address: u8) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit_address_name` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn bit_address_name(address: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u16` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn get_u16(&self, address: u16, offset: u16) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u8` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_u8(&self, address: u16, offset: u16) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_opcode(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one_byte_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn one_byte_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_byte_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn two_byte_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn jump_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rel_address` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn get_rel_address(address: u16, val_i8: u16, instruction_length: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_instruction(&mut self, address: u16) -> MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P0` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | P0 = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SP` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | SP, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DPL` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DPL, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DPH` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | DPH, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PCON` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | PCON, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TCON` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | TCON, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TMOD` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | TMOD, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TL0` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | TL0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TL1` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | TL1, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TH0` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | TH0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TH1` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | TH1, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P1` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | P1, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SCON` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SCON, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SBUF` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SBUF, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P2` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | P2, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IE` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | IE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `P3` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | P3, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IP` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IP, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `T2CON` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | T2CON, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RCAP2L` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RCAP2L, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RCAP2H` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | RCAP2H, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TL2` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | TL2, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TH2` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | TH2, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PSW` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | PSW, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | ACC, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `B` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | B, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REGISTER_COUNT` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACCUMULATOR` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ACCUMULATOR, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REGISTER` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | REGISTER(u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DIRECT` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | DIRECT(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INDIRECT_Ri` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | INDIRECT_Ri(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DATA` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | DATA(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDR_16` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ADDR_16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDR_11` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | ADDR_11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RELATIVE` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | RELATIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MCS51` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct MCS51 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new() -> MCS51 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_stack` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn push_stack(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_stack` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn pop_stack(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_stack_pointer` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_stack_pointer(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stack_pointer` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_stack_pointer(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sfr_mut` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get_sfr_mut(&mut self, register: MCS51_REGISTERS) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_sfr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn read_sfr(&self, register: MCS51_REGISTERS) -> Option<&u8> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_sfr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn write_sfr(&mut self, register: MCS51_REGISTERS, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_sfr_rel` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn write_sfr_rel(&mut self, register: MCS51_REGISTERS, value: u8, sub: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_pc_rel` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn write_pc_rel(&mut self, value: u16, sub: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_current_register_bank` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_current_register_bank(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_current_register_bank_flags` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_current_register_bank_flags(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_mut` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn get_register_mut(&mut self, register: u8) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_register` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn read_register(&self, register: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_register` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_register(&mut self, register: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_code_byte` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read_code_byte(&mut self, addr: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_bit` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn read_bit(&self, address: u8) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_bit` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn write_bit(&mut self, address: u8, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn read_raw(&self, address: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_mut_addr(&mut self, address: u8) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn read(&self, address: u8) -> Option<&u8> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn write(&mut self, address: u8, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_dptr(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_dptr(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_carry_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn set_carry_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_carry_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn get_carry_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_aux_carry_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn set_aux_carry_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_aux_carry_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn get_aux_carry_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_overflow_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn set_overflow_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_overflow_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn get_overflow_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_program` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn set_program(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_accumulator` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn get_accumulator(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_accumulator` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_accumulator(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_registers` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn reset_registers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn clock(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instruction` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn next_instruction(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instruction_debug_match` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn next_instruction_debug_match(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instruction_debug_table` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn next_instruction_debug_table(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_u8` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn set_u8(&mut self, addressing: MCS51_ADDRESSING, value: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u8_mut` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn get_u8_mut(&mut self, addressing: MCS51_ADDRESSING) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u8` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn get_u8(&self, addressing: MCS51_ADDRESSING) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_i8` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn get_i8(&self, addressing: MCS51_ADDRESSING) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u16` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:612:12 [INFO] [stdout] | [INFO] [stdout] 612 | pub fn get_u16(&self, addressing: MCS51_ADDRESSING) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u11` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 637 | pub fn get_u11(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_opcode_array` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:647:12 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn generate_opcode_array(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode_dispatch_table` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1461:12 [INFO] [stdout] | [INFO] [stdout] 1461 | pub fn opcode_dispatch_table(&mut self, opcode: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode_dispatch_match` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1467:12 [INFO] [stdout] | [INFO] [stdout] 1467 | pub fn opcode_dispatch_match(&mut self, opcode: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode_additional_work` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2283:12 [INFO] [stdout] | [INFO] [stdout] 2283 | pub fn opcode_additional_work(&mut self, _label: &str, cycles: u8, pc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_inc_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2292:12 [INFO] [stdout] | [INFO] [stdout] 2292 | pub fn op_inc_dptr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mul` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2297:12 [INFO] [stdout] | [INFO] [stdout] 2297 | pub fn op_mul(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_subb` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2333:12 [INFO] [stdout] | [INFO] [stdout] 2333 | pub fn op_subb(&mut self, src_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov_c_bit` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2346:12 [INFO] [stdout] | [INFO] [stdout] 2346 | pub fn op_mov_c_bit(&mut self, bit_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov_bit_c` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2351:12 [INFO] [stdout] | [INFO] [stdout] 2351 | pub fn op_mov_bit_c(&mut self, bit_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2356:12 [INFO] [stdout] | [INFO] [stdout] 2356 | pub fn op_mov_dptr(&mut self, data16: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_div` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2361:12 [INFO] [stdout] | [INFO] [stdout] 2361 | pub fn op_div(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_movc_pc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2378:12 [INFO] [stdout] | [INFO] [stdout] 2378 | pub fn op_movc_pc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_movc_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2385:12 [INFO] [stdout] | [INFO] [stdout] 2385 | pub fn op_movc_dptr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2392:12 [INFO] [stdout] | [INFO] [stdout] 2392 | pub fn op_jmp(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jnz` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2398:12 [INFO] [stdout] | [INFO] [stdout] 2398 | pub fn op_jnz(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jz` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2408:12 [INFO] [stdout] | [INFO] [stdout] 2408 | pub fn op_jz(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jnc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2418:12 [INFO] [stdout] | [INFO] [stdout] 2418 | pub fn op_jnc(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_anl_c` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2428:12 [INFO] [stdout] | [INFO] [stdout] 2428 | pub fn op_anl_c(&mut self, addr: MCS51_ADDRESSING, complement: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_anl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2441:12 [INFO] [stdout] | [INFO] [stdout] 2441 | pub fn op_anl(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_xrl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2450:12 [INFO] [stdout] | [INFO] [stdout] 2450 | pub fn op_xrl(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_orl_c` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2459:12 [INFO] [stdout] | [INFO] [stdout] 2459 | pub fn op_orl_c(&mut self, addr: MCS51_ADDRESSING, complement: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_orl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2472:12 [INFO] [stdout] | [INFO] [stdout] 2472 | pub fn op_orl(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2481:12 [INFO] [stdout] | [INFO] [stdout] 2481 | pub fn op_jc(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_reti` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2491:12 [INFO] [stdout] | [INFO] [stdout] 2491 | pub fn op_reti(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2495:12 [INFO] [stdout] | [INFO] [stdout] 2495 | pub fn op_mov(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ajmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2500:12 [INFO] [stdout] | [INFO] [stdout] 2500 | pub fn op_ajmp(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_acall` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2507:12 [INFO] [stdout] | [INFO] [stdout] 2507 | pub fn op_acall(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_add` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2516:12 [INFO] [stdout] | [INFO] [stdout] 2516 | pub fn op_add(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_addc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2537:12 [INFO] [stdout] | [INFO] [stdout] 2537 | pub fn op_addc(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_lcall` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2559:12 [INFO] [stdout] | [INFO] [stdout] 2559 | pub fn op_lcall(&mut self, addr16: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jbc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2566:12 [INFO] [stdout] | [INFO] [stdout] 2566 | pub fn op_jbc(&mut self, bit_addr: MCS51_ADDRESSING, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jnb` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2583:12 [INFO] [stdout] | [INFO] [stdout] 2583 | pub fn op_jnb(&mut self, bit_addr: MCS51_ADDRESSING, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jb` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2599:12 [INFO] [stdout] | [INFO] [stdout] 2599 | pub fn op_jb(&mut self, bit_addr: MCS51_ADDRESSING, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ret` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2615:12 [INFO] [stdout] | [INFO] [stdout] 2615 | pub fn op_ret(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_dec` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2622:12 [INFO] [stdout] | [INFO] [stdout] 2622 | pub fn op_dec(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_inc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2628:12 [INFO] [stdout] | [INFO] [stdout] 2628 | pub fn op_inc(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2633:12 [INFO] [stdout] | [INFO] [stdout] 2633 | pub fn op_rr(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rrc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2639:12 [INFO] [stdout] | [INFO] [stdout] 2639 | pub fn op_rrc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2647:12 [INFO] [stdout] | [INFO] [stdout] 2647 | pub fn op_rl(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rlc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2653:12 [INFO] [stdout] | [INFO] [stdout] 2653 | pub fn op_rlc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ljmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2661:12 [INFO] [stdout] | [INFO] [stdout] 2661 | pub fn op_ljmp(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_sjmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2666:12 [INFO] [stdout] | [INFO] [stdout] 2666 | pub fn op_sjmp(&mut self, addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_nop` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2677:12 [INFO] [stdout] | [INFO] [stdout] 2677 | pub fn op_nop(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PIC16F628A_INSTRUCTION` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse(opcode: u16) -> PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `k_addr` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | k_addr: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | opcode: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | status: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pc_offset` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn pc_offset(&mut self, offset: i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bank` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn set_bank(&mut self, bank: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_digital_carry_flag` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_digital_carry_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_zero_flag` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn get_zero_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INPUT` [INFO] [stdout] --> src/lib/traits/component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | INPUT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUTPUT` [INFO] [stdout] --> src/lib/traits/component.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | OUTPUT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BOTH` [INFO] [stdout] --> src/lib/traits/component.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | BOTH, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pin` [INFO] [stdout] --> src/lib/traits/component.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/traits/component.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(direction: PinDirection) -> Pin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_value` [INFO] [stdout] --> src/lib/traits/component.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn set_value(&mut self, value: bool, direction: PinDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value` [INFO] [stdout] --> src/lib/traits/component.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_emulator_mcs51` [INFO] [stdout] --> src/bin_main.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn test_emulator_mcs51() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/bin_main.rs:363:4 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_decompile_mcs51` [INFO] [stdout] --> src/bin_main.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn test_decompile_mcs51() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stdout] warning: 266 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] warning: type `WD1772_PINS` should have an upper camel case name [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Wd1772Pins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51DecompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MCS51_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_ADDRESSING` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum MCS51_ADDRESSING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Addressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_Ri` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | INDIRECT_Ri(u8), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectRi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_16` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ADDR_16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_11` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | ADDR_11, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_INSTRUCTION` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum PIC16F628A_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aRegisters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WD1772_PINS` should have an upper camel case name [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Wd1772Pins` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51DecompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Decompiler` should have an upper camel case name [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MCS51_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_ADDRESSING` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum MCS51_ADDRESSING { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Addressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INDIRECT_Ri` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | INDIRECT_Ri(u8), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectRi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_16` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ADDR_16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADDR_11` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | ADDR_11, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr11` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_INSTRUCTION` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PIC16F628A_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | pub enum PIC16F628A_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aRegisters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | REGISTER_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/bin_main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin_main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | dispatch: [|cpu| {}; 256], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1379:32 [INFO] [stdout] | [INFO] [stdout] 1379 | self.dispatch[0xB0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1380:32 [INFO] [stdout] | [INFO] [stdout] 1380 | self.dispatch[0xB1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1381:32 [INFO] [stdout] | [INFO] [stdout] 1381 | self.dispatch[0xB2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1382:32 [INFO] [stdout] | [INFO] [stdout] 1382 | self.dispatch[0xB3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1383:32 [INFO] [stdout] | [INFO] [stdout] 1383 | self.dispatch[0xB4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1384:32 [INFO] [stdout] | [INFO] [stdout] 1384 | self.dispatch[0xB5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1385:32 [INFO] [stdout] | [INFO] [stdout] 1385 | self.dispatch[0xB6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1386:32 [INFO] [stdout] | [INFO] [stdout] 1386 | self.dispatch[0xB7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1387:32 [INFO] [stdout] | [INFO] [stdout] 1387 | self.dispatch[0xB8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1388:32 [INFO] [stdout] | [INFO] [stdout] 1388 | self.dispatch[0xB9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1389:32 [INFO] [stdout] | [INFO] [stdout] 1389 | self.dispatch[0xBA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | self.dispatch[0xBB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | self.dispatch[0xBC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1392:32 [INFO] [stdout] | [INFO] [stdout] 1392 | self.dispatch[0xBD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1393:32 [INFO] [stdout] | [INFO] [stdout] 1393 | self.dispatch[0xBE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1394:32 [INFO] [stdout] | [INFO] [stdout] 1394 | self.dispatch[0xBF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1395:32 [INFO] [stdout] | [INFO] [stdout] 1395 | self.dispatch[0xC0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1396:32 [INFO] [stdout] | [INFO] [stdout] 1396 | self.dispatch[0xC1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1397:32 [INFO] [stdout] | [INFO] [stdout] 1397 | self.dispatch[0xC2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1398:32 [INFO] [stdout] | [INFO] [stdout] 1398 | self.dispatch[0xC3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1399:32 [INFO] [stdout] | [INFO] [stdout] 1399 | self.dispatch[0xC4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1400:32 [INFO] [stdout] | [INFO] [stdout] 1400 | self.dispatch[0xC5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1401:32 [INFO] [stdout] | [INFO] [stdout] 1401 | self.dispatch[0xC6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1402:32 [INFO] [stdout] | [INFO] [stdout] 1402 | self.dispatch[0xC7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1403:32 [INFO] [stdout] | [INFO] [stdout] 1403 | self.dispatch[0xC8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1404:32 [INFO] [stdout] | [INFO] [stdout] 1404 | self.dispatch[0xC9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1405:32 [INFO] [stdout] | [INFO] [stdout] 1405 | self.dispatch[0xCA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1406:32 [INFO] [stdout] | [INFO] [stdout] 1406 | self.dispatch[0xCB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1407:32 [INFO] [stdout] | [INFO] [stdout] 1407 | self.dispatch[0xCC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1408:32 [INFO] [stdout] | [INFO] [stdout] 1408 | self.dispatch[0xCD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1409:32 [INFO] [stdout] | [INFO] [stdout] 1409 | self.dispatch[0xCE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1410:32 [INFO] [stdout] | [INFO] [stdout] 1410 | self.dispatch[0xCF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1411:32 [INFO] [stdout] | [INFO] [stdout] 1411 | self.dispatch[0xD0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1412:32 [INFO] [stdout] | [INFO] [stdout] 1412 | self.dispatch[0xD1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1413:32 [INFO] [stdout] | [INFO] [stdout] 1413 | self.dispatch[0xD2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1414:32 [INFO] [stdout] | [INFO] [stdout] 1414 | self.dispatch[0xD3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1415:32 [INFO] [stdout] | [INFO] [stdout] 1415 | self.dispatch[0xD4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1416:32 [INFO] [stdout] | [INFO] [stdout] 1416 | self.dispatch[0xD5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | self.dispatch[0xD6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1418:32 [INFO] [stdout] | [INFO] [stdout] 1418 | self.dispatch[0xD7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1419:32 [INFO] [stdout] | [INFO] [stdout] 1419 | self.dispatch[0xD8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1420:32 [INFO] [stdout] | [INFO] [stdout] 1420 | self.dispatch[0xD9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1421:32 [INFO] [stdout] | [INFO] [stdout] 1421 | self.dispatch[0xDA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1422:32 [INFO] [stdout] | [INFO] [stdout] 1422 | self.dispatch[0xDB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1423:32 [INFO] [stdout] | [INFO] [stdout] 1423 | self.dispatch[0xDC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | self.dispatch[0xDD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | self.dispatch[0xDE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1426:32 [INFO] [stdout] | [INFO] [stdout] 1426 | self.dispatch[0xDF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1427:32 [INFO] [stdout] | [INFO] [stdout] 1427 | self.dispatch[0xE0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1428:32 [INFO] [stdout] | [INFO] [stdout] 1428 | self.dispatch[0xE1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1429:32 [INFO] [stdout] | [INFO] [stdout] 1429 | self.dispatch[0xE2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1430:32 [INFO] [stdout] | [INFO] [stdout] 1430 | self.dispatch[0xE3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1431:32 [INFO] [stdout] | [INFO] [stdout] 1431 | self.dispatch[0xE4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1432:32 [INFO] [stdout] | [INFO] [stdout] 1432 | self.dispatch[0xE5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1433:32 [INFO] [stdout] | [INFO] [stdout] 1433 | self.dispatch[0xE6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1434:32 [INFO] [stdout] | [INFO] [stdout] 1434 | self.dispatch[0xE7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1435:32 [INFO] [stdout] | [INFO] [stdout] 1435 | self.dispatch[0xE8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1436:32 [INFO] [stdout] | [INFO] [stdout] 1436 | self.dispatch[0xE9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1437:32 [INFO] [stdout] | [INFO] [stdout] 1437 | self.dispatch[0xEA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1438:32 [INFO] [stdout] | [INFO] [stdout] 1438 | self.dispatch[0xEB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1439:32 [INFO] [stdout] | [INFO] [stdout] 1439 | self.dispatch[0xEC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | self.dispatch[0xED] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | self.dispatch[0xEE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1442:32 [INFO] [stdout] | [INFO] [stdout] 1442 | self.dispatch[0xEF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1443:32 [INFO] [stdout] | [INFO] [stdout] 1443 | self.dispatch[0xF0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1444:32 [INFO] [stdout] | [INFO] [stdout] 1444 | self.dispatch[0xF1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1445:32 [INFO] [stdout] | [INFO] [stdout] 1445 | self.dispatch[0xF2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1446:32 [INFO] [stdout] | [INFO] [stdout] 1446 | self.dispatch[0xF3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1447:32 [INFO] [stdout] | [INFO] [stdout] 1447 | self.dispatch[0xF4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1448:32 [INFO] [stdout] | [INFO] [stdout] 1448 | self.dispatch[0xF5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1449:32 [INFO] [stdout] | [INFO] [stdout] 1449 | self.dispatch[0xF6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | self.dispatch[0xF7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | self.dispatch[0xF8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | self.dispatch[0xF9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | self.dispatch[0xFA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | self.dispatch[0xFB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | self.dispatch[0xFC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | self.dispatch[0xFD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | self.dispatch[0xFE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | self.dispatch[0xFF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2337:13 [INFO] [stdout] | [INFO] [stdout] 2337 | let mut result = acc - src; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | result -= 1; [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: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | let new_data = data & !(1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let new_data = data | (1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:904:27 [INFO] [stdout] | [INFO] [stdout] 904 | fn op_call(&mut self, k: u16) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:932:28 [INFO] [stdout] | [INFO] [stdout] 932 | fn op_retlw(&mut self, k: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/mcus/mcs51.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut mcs51 = MCS51 { [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: enum is never used: `WD1772_PINS` [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WD1772` [INFO] [stdout] --> src/lib/components/wd1772.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct WD1772 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/components/wd1772.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new() -> WD1772 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `k_addr` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | k_addr: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | opcode: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | status: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | dispatch: [|cpu| {}; 256], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1379:32 [INFO] [stdout] | [INFO] [stdout] 1379 | self.dispatch[0xB0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1380:32 [INFO] [stdout] | [INFO] [stdout] 1380 | self.dispatch[0xB1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1381:32 [INFO] [stdout] | [INFO] [stdout] 1381 | self.dispatch[0xB2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1382:32 [INFO] [stdout] | [INFO] [stdout] 1382 | self.dispatch[0xB3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1383:32 [INFO] [stdout] | [INFO] [stdout] 1383 | self.dispatch[0xB4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1384:32 [INFO] [stdout] | [INFO] [stdout] 1384 | self.dispatch[0xB5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1385:32 [INFO] [stdout] | [INFO] [stdout] 1385 | self.dispatch[0xB6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1386:32 [INFO] [stdout] | [INFO] [stdout] 1386 | self.dispatch[0xB7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1387:32 [INFO] [stdout] | [INFO] [stdout] 1387 | self.dispatch[0xB8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1388:32 [INFO] [stdout] | [INFO] [stdout] 1388 | self.dispatch[0xB9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1389:32 [INFO] [stdout] | [INFO] [stdout] 1389 | self.dispatch[0xBA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | self.dispatch[0xBB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | self.dispatch[0xBC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1392:32 [INFO] [stdout] | [INFO] [stdout] 1392 | self.dispatch[0xBD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1393:32 [INFO] [stdout] | [INFO] [stdout] 1393 | self.dispatch[0xBE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1394:32 [INFO] [stdout] | [INFO] [stdout] 1394 | self.dispatch[0xBF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1395:32 [INFO] [stdout] | [INFO] [stdout] 1395 | self.dispatch[0xC0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1396:32 [INFO] [stdout] | [INFO] [stdout] 1396 | self.dispatch[0xC1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1397:32 [INFO] [stdout] | [INFO] [stdout] 1397 | self.dispatch[0xC2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1398:32 [INFO] [stdout] | [INFO] [stdout] 1398 | self.dispatch[0xC3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1399:32 [INFO] [stdout] | [INFO] [stdout] 1399 | self.dispatch[0xC4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1400:32 [INFO] [stdout] | [INFO] [stdout] 1400 | self.dispatch[0xC5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1401:32 [INFO] [stdout] | [INFO] [stdout] 1401 | self.dispatch[0xC6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1402:32 [INFO] [stdout] | [INFO] [stdout] 1402 | self.dispatch[0xC7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1403:32 [INFO] [stdout] | [INFO] [stdout] 1403 | self.dispatch[0xC8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1404:32 [INFO] [stdout] | [INFO] [stdout] 1404 | self.dispatch[0xC9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1405:32 [INFO] [stdout] | [INFO] [stdout] 1405 | self.dispatch[0xCA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1406:32 [INFO] [stdout] | [INFO] [stdout] 1406 | self.dispatch[0xCB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1407:32 [INFO] [stdout] | [INFO] [stdout] 1407 | self.dispatch[0xCC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1408:32 [INFO] [stdout] | [INFO] [stdout] 1408 | self.dispatch[0xCD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1409:32 [INFO] [stdout] | [INFO] [stdout] 1409 | self.dispatch[0xCE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1410:32 [INFO] [stdout] | [INFO] [stdout] 1410 | self.dispatch[0xCF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1411:32 [INFO] [stdout] | [INFO] [stdout] 1411 | self.dispatch[0xD0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1412:32 [INFO] [stdout] | [INFO] [stdout] 1412 | self.dispatch[0xD1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1413:32 [INFO] [stdout] | [INFO] [stdout] 1413 | self.dispatch[0xD2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1414:32 [INFO] [stdout] | [INFO] [stdout] 1414 | self.dispatch[0xD3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1415:32 [INFO] [stdout] | [INFO] [stdout] 1415 | self.dispatch[0xD4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1416:32 [INFO] [stdout] | [INFO] [stdout] 1416 | self.dispatch[0xD5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | self.dispatch[0xD6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1418:32 [INFO] [stdout] | [INFO] [stdout] 1418 | self.dispatch[0xD7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1419:32 [INFO] [stdout] | [INFO] [stdout] 1419 | self.dispatch[0xD8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1420:32 [INFO] [stdout] | [INFO] [stdout] 1420 | self.dispatch[0xD9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1421:32 [INFO] [stdout] | [INFO] [stdout] 1421 | self.dispatch[0xDA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1422:32 [INFO] [stdout] | [INFO] [stdout] 1422 | self.dispatch[0xDB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1423:32 [INFO] [stdout] | [INFO] [stdout] 1423 | self.dispatch[0xDC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | self.dispatch[0xDD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | self.dispatch[0xDE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1426:32 [INFO] [stdout] | [INFO] [stdout] 1426 | self.dispatch[0xDF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1427:32 [INFO] [stdout] | [INFO] [stdout] 1427 | self.dispatch[0xE0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1428:32 [INFO] [stdout] | [INFO] [stdout] 1428 | self.dispatch[0xE1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1429:32 [INFO] [stdout] | [INFO] [stdout] 1429 | self.dispatch[0xE2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1430:32 [INFO] [stdout] | [INFO] [stdout] 1430 | self.dispatch[0xE3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1431:32 [INFO] [stdout] | [INFO] [stdout] 1431 | self.dispatch[0xE4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1432:32 [INFO] [stdout] | [INFO] [stdout] 1432 | self.dispatch[0xE5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1433:32 [INFO] [stdout] | [INFO] [stdout] 1433 | self.dispatch[0xE6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1434:32 [INFO] [stdout] | [INFO] [stdout] 1434 | self.dispatch[0xE7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1435:32 [INFO] [stdout] | [INFO] [stdout] 1435 | self.dispatch[0xE8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1436:32 [INFO] [stdout] | [INFO] [stdout] 1436 | self.dispatch[0xE9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1437:32 [INFO] [stdout] | [INFO] [stdout] 1437 | self.dispatch[0xEA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1438:32 [INFO] [stdout] | [INFO] [stdout] 1438 | self.dispatch[0xEB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1439:32 [INFO] [stdout] | [INFO] [stdout] 1439 | self.dispatch[0xEC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | self.dispatch[0xED] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | self.dispatch[0xEE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1442:32 [INFO] [stdout] | [INFO] [stdout] 1442 | self.dispatch[0xEF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1443:32 [INFO] [stdout] | [INFO] [stdout] 1443 | self.dispatch[0xF0] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1444:32 [INFO] [stdout] | [INFO] [stdout] 1444 | self.dispatch[0xF1] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1445:32 [INFO] [stdout] | [INFO] [stdout] 1445 | self.dispatch[0xF2] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1446:32 [INFO] [stdout] | [INFO] [stdout] 1446 | self.dispatch[0xF3] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1447:32 [INFO] [stdout] | [INFO] [stdout] 1447 | self.dispatch[0xF4] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1448:32 [INFO] [stdout] | [INFO] [stdout] 1448 | self.dispatch[0xF5] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1449:32 [INFO] [stdout] | [INFO] [stdout] 1449 | self.dispatch[0xF6] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | self.dispatch[0xF7] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | self.dispatch[0xF8] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | self.dispatch[0xF9] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | self.dispatch[0xFA] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | self.dispatch[0xFB] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | self.dispatch[0xFC] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | self.dispatch[0xFD] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | self.dispatch[0xFE] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | self.dispatch[0xFF] = |cpu: &mut MCS51| {}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2337:13 [INFO] [stdout] | [INFO] [stdout] 2337 | let mut result = acc - src; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | result -= 1; [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: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | let new_data = data & !(1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_data` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:861:13 [INFO] [stdout] | [INFO] [stdout] 861 | let new_data = data | (1 << b); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:904:27 [INFO] [stdout] | [INFO] [stdout] 904 | fn op_call(&mut self, k: u16) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:932:28 [INFO] [stdout] | [INFO] [stdout] 932 | fn op_retlw(&mut self, k: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 108 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/mcus/mcs51.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut mcs51 = MCS51 { [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: enum is never used: `WD1772_PINS` [INFO] [stdout] --> src/lib/components/wd1772.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum WD1772_PINS { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WD1772` [INFO] [stdout] --> src/lib/components/wd1772.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | struct WD1772 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/components/wd1772.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new() -> WD1772 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MCS51_Decompiler` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new() -> MCS51_Decompiler { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `label_list` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn label_list(&self) -> BTreeMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_to_file` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn write_to_file(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decompile` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn decompile(&mut self, start: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sfr_name` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn sfr_name(address: u8) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit_address_name` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn bit_address_name(address: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u16` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn get_u16(&self, address: u16, offset: u16) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u8` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_u8(&self, address: u16, offset: u16) -> u8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn get_opcode(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one_byte_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn one_byte_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_byte_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn two_byte_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn jump_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rel_address` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn get_rel_address(address: u16, val_i8: u16, instruction_length: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_instruction(&mut self, address: u16) -> MCS51_Decompiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACCUMULATOR` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ACCUMULATOR, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REGISTER` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | REGISTER(u8), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DIRECT` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | DIRECT(u8), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INDIRECT_Ri` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | INDIRECT_Ri(u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DATA` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | DATA(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDR_16` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ADDR_16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDR_11` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | ADDR_11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RELATIVE` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | RELATIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_stack` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn push_stack(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_stack` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn pop_stack(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_stack_pointer` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn set_stack_pointer(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_stack_pointer` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_stack_pointer(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sfr_mut` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get_sfr_mut(&mut self, register: MCS51_REGISTERS) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_sfr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn write_sfr(&mut self, register: MCS51_REGISTERS, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_sfr_rel` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn write_sfr_rel(&mut self, register: MCS51_REGISTERS, value: u8, sub: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_pc_rel` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn write_pc_rel(&mut self, value: u16, sub: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_mut` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn get_register_mut(&mut self, register: u8) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_register` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_register(&mut self, register: u8, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_code_byte` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn read_code_byte(&mut self, addr: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn read_raw(&self, address: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_mut_addr(&mut self, address: u8) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn set_dptr(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn get_dptr(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_carry_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn set_carry_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_aux_carry_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn set_aux_carry_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_overflow_flag` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn set_overflow_flag(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_accumulator` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn set_accumulator(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn clock(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instruction_debug_match` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn next_instruction_debug_match(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_instruction_debug_table` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn next_instruction_debug_table(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_u8` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn set_u8(&mut self, addressing: MCS51_ADDRESSING, value: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u8_mut` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:561:12 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn get_u8_mut(&mut self, addressing: MCS51_ADDRESSING) -> Option<&mut u8> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u8` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:578:12 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn get_u8(&self, addressing: MCS51_ADDRESSING) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_i8` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:600:12 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn get_i8(&self, addressing: MCS51_ADDRESSING) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u16` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:612:12 [INFO] [stdout] | [INFO] [stdout] 612 | pub fn get_u16(&self, addressing: MCS51_ADDRESSING) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_u11` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 637 | pub fn get_u11(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_opcode_array` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:647:12 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn generate_opcode_array(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode_dispatch_match` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1467:12 [INFO] [stdout] | [INFO] [stdout] 1467 | pub fn opcode_dispatch_match(&mut self, opcode: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode_additional_work` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2283:12 [INFO] [stdout] | [INFO] [stdout] 2283 | pub fn opcode_additional_work(&mut self, _label: &str, cycles: u8, pc: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_inc_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2292:12 [INFO] [stdout] | [INFO] [stdout] 2292 | pub fn op_inc_dptr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mul` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2297:12 [INFO] [stdout] | [INFO] [stdout] 2297 | pub fn op_mul(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_subb` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2333:12 [INFO] [stdout] | [INFO] [stdout] 2333 | pub fn op_subb(&mut self, src_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov_c_bit` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2346:12 [INFO] [stdout] | [INFO] [stdout] 2346 | pub fn op_mov_c_bit(&mut self, bit_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov_bit_c` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2351:12 [INFO] [stdout] | [INFO] [stdout] 2351 | pub fn op_mov_bit_c(&mut self, bit_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2356:12 [INFO] [stdout] | [INFO] [stdout] 2356 | pub fn op_mov_dptr(&mut self, data16: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_div` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2361:12 [INFO] [stdout] | [INFO] [stdout] 2361 | pub fn op_div(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_movc_pc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2378:12 [INFO] [stdout] | [INFO] [stdout] 2378 | pub fn op_movc_pc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_movc_dptr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2385:12 [INFO] [stdout] | [INFO] [stdout] 2385 | pub fn op_movc_dptr(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2392:12 [INFO] [stdout] | [INFO] [stdout] 2392 | pub fn op_jmp(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jnz` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2398:12 [INFO] [stdout] | [INFO] [stdout] 2398 | pub fn op_jnz(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jz` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2408:12 [INFO] [stdout] | [INFO] [stdout] 2408 | pub fn op_jz(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jnc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2418:12 [INFO] [stdout] | [INFO] [stdout] 2418 | pub fn op_jnc(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_anl_c` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2428:12 [INFO] [stdout] | [INFO] [stdout] 2428 | pub fn op_anl_c(&mut self, addr: MCS51_ADDRESSING, complement: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_anl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2441:12 [INFO] [stdout] | [INFO] [stdout] 2441 | pub fn op_anl(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_xrl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2450:12 [INFO] [stdout] | [INFO] [stdout] 2450 | pub fn op_xrl(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_orl_c` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2459:12 [INFO] [stdout] | [INFO] [stdout] 2459 | pub fn op_orl_c(&mut self, addr: MCS51_ADDRESSING, complement: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_orl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2472:12 [INFO] [stdout] | [INFO] [stdout] 2472 | pub fn op_orl(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2481:12 [INFO] [stdout] | [INFO] [stdout] 2481 | pub fn op_jc(&mut self, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_reti` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2491:12 [INFO] [stdout] | [INFO] [stdout] 2491 | pub fn op_reti(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_mov` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2495:12 [INFO] [stdout] | [INFO] [stdout] 2495 | pub fn op_mov(&mut self, dest: MCS51_ADDRESSING, src: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ajmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2500:12 [INFO] [stdout] | [INFO] [stdout] 2500 | pub fn op_ajmp(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_acall` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2507:12 [INFO] [stdout] | [INFO] [stdout] 2507 | pub fn op_acall(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_add` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2516:12 [INFO] [stdout] | [INFO] [stdout] 2516 | pub fn op_add(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_addc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2537:12 [INFO] [stdout] | [INFO] [stdout] 2537 | pub fn op_addc(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_lcall` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2559:12 [INFO] [stdout] | [INFO] [stdout] 2559 | pub fn op_lcall(&mut self, addr16: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jbc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2566:12 [INFO] [stdout] | [INFO] [stdout] 2566 | pub fn op_jbc(&mut self, bit_addr: MCS51_ADDRESSING, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jnb` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2583:12 [INFO] [stdout] | [INFO] [stdout] 2583 | pub fn op_jnb(&mut self, bit_addr: MCS51_ADDRESSING, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_jb` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2599:12 [INFO] [stdout] | [INFO] [stdout] 2599 | pub fn op_jb(&mut self, bit_addr: MCS51_ADDRESSING, code_addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ret` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2615:12 [INFO] [stdout] | [INFO] [stdout] 2615 | pub fn op_ret(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_dec` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2622:12 [INFO] [stdout] | [INFO] [stdout] 2622 | pub fn op_dec(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_inc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2628:12 [INFO] [stdout] | [INFO] [stdout] 2628 | pub fn op_inc(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2633:12 [INFO] [stdout] | [INFO] [stdout] 2633 | pub fn op_rr(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rrc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2639:12 [INFO] [stdout] | [INFO] [stdout] 2639 | pub fn op_rrc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rl` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2647:12 [INFO] [stdout] | [INFO] [stdout] 2647 | pub fn op_rl(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_rlc` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2653:12 [INFO] [stdout] | [INFO] [stdout] 2653 | pub fn op_rlc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_ljmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2661:12 [INFO] [stdout] | [INFO] [stdout] 2661 | pub fn op_ljmp(&mut self, operand: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_sjmp` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2666:12 [INFO] [stdout] | [INFO] [stdout] 2666 | pub fn op_sjmp(&mut self, addr: MCS51_ADDRESSING) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op_nop` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2677:12 [INFO] [stdout] | [INFO] [stdout] 2677 | pub fn op_nop(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PIC16F628A_INSTRUCTION` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse(opcode: u16) -> PIC16F628A_INSTRUCTION { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `k_addr` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | k_addr: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | opcode: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | status: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stack` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pc_offset` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn pc_offset(&mut self, offset: i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_digital_carry_flag` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn get_digital_carry_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_zero_flag` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn get_zero_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INPUT` [INFO] [stdout] --> src/lib/traits/component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | INPUT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUTPUT` [INFO] [stdout] --> src/lib/traits/component.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | OUTPUT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BOTH` [INFO] [stdout] --> src/lib/traits/component.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | BOTH, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pin` [INFO] [stdout] --> src/lib/traits/component.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/traits/component.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(direction: PinDirection) -> Pin { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_value` [INFO] [stdout] --> src/lib/traits/component.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn set_value(&mut self, value: bool, direction: PinDirection) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value` [INFO] [stdout] --> src/lib/traits/component.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_emulator_mcs51` [INFO] [stdout] --> src/bin_main.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn test_emulator_mcs51() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/bin_main.rs:363:4 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_decompile_mcs51` [INFO] [stdout] --> src/bin_main.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn test_decompile_mcs51() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 219 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.92s [INFO] running `Command { std: "docker" "inspect" "72c1553653c2db1a58a0497efec3c9793ddfcad7e2f1edd7e8cdf0ec41afc8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c1553653c2db1a58a0497efec3c9793ddfcad7e2f1edd7e8cdf0ec41afc8f9", kill_on_drop: false }` [INFO] [stdout] 72c1553653c2db1a58a0497efec3c9793ddfcad7e2f1edd7e8cdf0ec41afc8f9