[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] 198b049f61b29cd53e8cc1bb03c699410339fa13 [INFO] checking FuSoftware/microchip-rs against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuSoftware%2Fmicrochip-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FuSoftware/microchip-rs on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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-0/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be8856735e28cedc4c6423638ea09ff8136e7046195d5b907d6408e4c2b75c05 [INFO] running `Command { std: "docker" "start" "-a" "be8856735e28cedc4c6423638ea09ff8136e7046195d5b907d6408e4c2b75c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be8856735e28cedc4c6423638ea09ff8136e7046195d5b907d6408e4c2b75c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8856735e28cedc4c6423638ea09ff8136e7046195d5b907d6408e4c2b75c05", kill_on_drop: false }` [INFO] [stdout] be8856735e28cedc4c6423638ea09ff8136e7046195d5b907d6408e4c2b75c05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a27f404e63f22292093c385887add5afb70854f7a85c3c6c6ba73ccff81ad378 [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" "a27f404e63f22292093c385887add5afb70854f7a85c3c6c6ba73ccff81ad378", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking microchip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking itertools v0.9.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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lib::decompiler::mcs51` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::decompiler::mcs51; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | 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:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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 num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | 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:1389:32 [INFO] [stdout] | [INFO] [stdout] 1389 | 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:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | 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:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | 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:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | 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:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | 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:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | 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:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | 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:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | 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:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | 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:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | 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:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | 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:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | 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:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | 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:1459:32 [INFO] [stdout] | [INFO] [stdout] 1459 | 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:1460:32 [INFO] [stdout] | [INFO] [stdout] 1460 | 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:1461:32 [INFO] [stdout] | [INFO] [stdout] 1461 | 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:1462:32 [INFO] [stdout] | [INFO] [stdout] 1462 | 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:1463:32 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1464:32 [INFO] [stdout] | [INFO] [stdout] 1464 | 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:1465:32 [INFO] [stdout] | [INFO] [stdout] 1465 | 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:1466:32 [INFO] [stdout] | [INFO] [stdout] 1466 | 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:1467:32 [INFO] [stdout] | [INFO] [stdout] 1467 | 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:1468:32 [INFO] [stdout] | [INFO] [stdout] 1468 | 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:1469:32 [INFO] [stdout] | [INFO] [stdout] 1469 | 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:1502:32 [INFO] [stdout] | [INFO] [stdout] 1502 | 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:1503:32 [INFO] [stdout] | [INFO] [stdout] 1503 | 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:1504:32 [INFO] [stdout] | [INFO] [stdout] 1504 | 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:1505:32 [INFO] [stdout] | [INFO] [stdout] 1505 | 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:1510:32 [INFO] [stdout] | [INFO] [stdout] 1510 | 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:1511:32 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1512:32 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1513:32 [INFO] [stdout] | [INFO] [stdout] 1513 | 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:1514:32 [INFO] [stdout] | [INFO] [stdout] 1514 | 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:1515:32 [INFO] [stdout] | [INFO] [stdout] 1515 | 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:1516:32 [INFO] [stdout] | [INFO] [stdout] 1516 | 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:1517:32 [INFO] [stdout] | [INFO] [stdout] 1517 | 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:1518:32 [INFO] [stdout] | [INFO] [stdout] 1518 | 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:1519:32 [INFO] [stdout] | [INFO] [stdout] 1519 | 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:1520:32 [INFO] [stdout] | [INFO] [stdout] 1520 | 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:1521:32 [INFO] [stdout] | [INFO] [stdout] 1521 | 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:1522:32 [INFO] [stdout] | [INFO] [stdout] 1522 | 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:1523:32 [INFO] [stdout] | [INFO] [stdout] 1523 | 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:1524:32 [INFO] [stdout] | [INFO] [stdout] 1524 | 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:1525:32 [INFO] [stdout] | [INFO] [stdout] 1525 | 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: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2479:13 [INFO] [stdout] | [INFO] [stdout] 2479 | 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:2482:13 [INFO] [stdout] | [INFO] [stdout] 2482 | 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:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | 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: `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: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lib::decompiler::mcs51` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::decompiler::mcs51; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | 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:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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: `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 import: `std::process::Command` [INFO] [stdout] --> src/bin_main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin_main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/bin_main.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut buf: String = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf` [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:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | dispatch: [|cpu| {}; 256], [INFO] [stdout] | ^^^ help: if this is 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[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:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | 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:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | 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:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | 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:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | 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:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | 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:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | 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:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | 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:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | 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:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | 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:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | 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:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | 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:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | 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:1459:32 [INFO] [stdout] | [INFO] [stdout] 1459 | 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:1460:32 [INFO] [stdout] | [INFO] [stdout] 1460 | 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:1461:32 [INFO] [stdout] | [INFO] [stdout] 1461 | 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:1462:32 [INFO] [stdout] | [INFO] [stdout] 1462 | 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:1463:32 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1464:32 [INFO] [stdout] | [INFO] [stdout] 1464 | 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:1465:32 [INFO] [stdout] | [INFO] [stdout] 1465 | 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:1466:32 [INFO] [stdout] | [INFO] [stdout] 1466 | 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:1467:32 [INFO] [stdout] | [INFO] [stdout] 1467 | 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:1468:32 [INFO] [stdout] | [INFO] [stdout] 1468 | 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:1469:32 [INFO] [stdout] | [INFO] [stdout] 1469 | 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:1502:32 [INFO] [stdout] | [INFO] [stdout] 1502 | 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:1503:32 [INFO] [stdout] | [INFO] [stdout] 1503 | 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:1504:32 [INFO] [stdout] | [INFO] [stdout] 1504 | 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:1505:32 [INFO] [stdout] | [INFO] [stdout] 1505 | 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:1510:32 [INFO] [stdout] | [INFO] [stdout] 1510 | 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:1511:32 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1512:32 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1513:32 [INFO] [stdout] | [INFO] [stdout] 1513 | 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:1514:32 [INFO] [stdout] | [INFO] [stdout] 1514 | 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:1515:32 [INFO] [stdout] | [INFO] [stdout] 1515 | 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:1516:32 [INFO] [stdout] | [INFO] [stdout] 1516 | 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:1517:32 [INFO] [stdout] | [INFO] [stdout] 1517 | 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:1518:32 [INFO] [stdout] | [INFO] [stdout] 1518 | 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:1519:32 [INFO] [stdout] | [INFO] [stdout] 1519 | 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:1520:32 [INFO] [stdout] | [INFO] [stdout] 1520 | 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:1521:32 [INFO] [stdout] | [INFO] [stdout] 1521 | 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:1522:32 [INFO] [stdout] | [INFO] [stdout] 1522 | 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:1523:32 [INFO] [stdout] | [INFO] [stdout] 1523 | 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:1524:32 [INFO] [stdout] | [INFO] [stdout] 1524 | 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:1525:32 [INFO] [stdout] | [INFO] [stdout] 1525 | 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: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2479:13 [INFO] [stdout] | [INFO] [stdout] 2479 | 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:2482:13 [INFO] [stdout] | [INFO] [stdout] 2482 | 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/bin_main.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut buf: String = String::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/lib/mcus/mcs51.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut mcs51 = MCS51 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: associated function is never used: `label_list` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | 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:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write_to_file(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit_address_name_num` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn bit_address_name_num(address: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_opcode(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDR_11` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | ADDR_11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RELATIVE` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | RELATIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_stack_pointer` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn set_stack_pointer(&mut self, value: 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:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | 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: `get_current_register_bank` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_current_register_bank(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn read_raw(&self, address: u8) -> u8 { [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:456:12 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn get_aux_carry_flag(&mut self) -> 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:469:12 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn get_overflow_flag(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | 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:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | 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:521:12 [INFO] [stdout] | [INFO] [stdout] 521 | 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:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | 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:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn next_instruction_debug_table(&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:1578:12 [INFO] [stdout] | [INFO] [stdout] 1578 | pub fn opcode_dispatch_match(&mut self, opcode: u8) { [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: `program_memory` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | program_memory: Vec, [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: `pc_read` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn pc_read(&self) -> u16 { [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: `set_program` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_program(&mut self, program: Vec) { [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: associated function is never used: `next_instruction` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn next_instruction(&mut self) { [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_16f628a` [INFO] [stdout] --> src/bin_main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn test_emulator_16f628a() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_emulator_mcs51` [INFO] [stdout] --> src/bin_main.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | 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:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | 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:372:4 [INFO] [stdout] | [INFO] [stdout] 372 | fn test_decompile_mcs51() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stdout] warning: 117 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.3 [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: 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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lib::decompiler::mcs51` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::decompiler::mcs51; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | 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:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | 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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct MCS51_Decompiler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lib::decompiler::mcs51` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::decompiler::mcs51; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | 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:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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: `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 import: `std::process::Command` [INFO] [stdout] --> src/bin_main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/bin_main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | 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:1389:32 [INFO] [stdout] | [INFO] [stdout] 1389 | 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:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | 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:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | 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:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | 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:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | 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:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | 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:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | 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:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | 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:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | 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:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | 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:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | 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:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | 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:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | 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:1459:32 [INFO] [stdout] | [INFO] [stdout] 1459 | 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:1460:32 [INFO] [stdout] | [INFO] [stdout] 1460 | 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:1461:32 [INFO] [stdout] | [INFO] [stdout] 1461 | 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:1462:32 [INFO] [stdout] | [INFO] [stdout] 1462 | 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:1463:32 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1464:32 [INFO] [stdout] | [INFO] [stdout] 1464 | 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:1465:32 [INFO] [stdout] | [INFO] [stdout] 1465 | 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:1466:32 [INFO] [stdout] | [INFO] [stdout] 1466 | 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:1467:32 [INFO] [stdout] | [INFO] [stdout] 1467 | 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:1468:32 [INFO] [stdout] | [INFO] [stdout] 1468 | 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:1469:32 [INFO] [stdout] | [INFO] [stdout] 1469 | 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:1502:32 [INFO] [stdout] | [INFO] [stdout] 1502 | 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:1503:32 [INFO] [stdout] | [INFO] [stdout] 1503 | 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:1504:32 [INFO] [stdout] | [INFO] [stdout] 1504 | 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:1505:32 [INFO] [stdout] | [INFO] [stdout] 1505 | 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:1510:32 [INFO] [stdout] | [INFO] [stdout] 1510 | 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:1511:32 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1512:32 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1513:32 [INFO] [stdout] | [INFO] [stdout] 1513 | 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:1514:32 [INFO] [stdout] | [INFO] [stdout] 1514 | 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:1515:32 [INFO] [stdout] | [INFO] [stdout] 1515 | 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:1516:32 [INFO] [stdout] | [INFO] [stdout] 1516 | 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:1517:32 [INFO] [stdout] | [INFO] [stdout] 1517 | 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:1518:32 [INFO] [stdout] | [INFO] [stdout] 1518 | 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:1519:32 [INFO] [stdout] | [INFO] [stdout] 1519 | 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:1520:32 [INFO] [stdout] | [INFO] [stdout] 1520 | 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:1521:32 [INFO] [stdout] | [INFO] [stdout] 1521 | 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:1522:32 [INFO] [stdout] | [INFO] [stdout] 1522 | 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:1523:32 [INFO] [stdout] | [INFO] [stdout] 1523 | 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:1524:32 [INFO] [stdout] | [INFO] [stdout] 1524 | 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:1525:32 [INFO] [stdout] | [INFO] [stdout] 1525 | 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: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2479:13 [INFO] [stdout] | [INFO] [stdout] 2479 | 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:2482:13 [INFO] [stdout] | [INFO] [stdout] 2482 | 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:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | 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: unused variable: `buf` [INFO] [stdout] --> src/bin_main.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut buf: String = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf` [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:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | dispatch: [|cpu| {}; 256], [INFO] [stdout] | ^^^ help: if this is 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[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:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | 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:1391:32 [INFO] [stdout] | [INFO] [stdout] 1391 | 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:1440:32 [INFO] [stdout] | [INFO] [stdout] 1440 | 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:1441:32 [INFO] [stdout] | [INFO] [stdout] 1441 | 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:1450:32 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1451:32 [INFO] [stdout] | [INFO] [stdout] 1451 | 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:1452:32 [INFO] [stdout] | [INFO] [stdout] 1452 | 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:1453:32 [INFO] [stdout] | [INFO] [stdout] 1453 | 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:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | 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:1455:32 [INFO] [stdout] | [INFO] [stdout] 1455 | 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:1456:32 [INFO] [stdout] | [INFO] [stdout] 1456 | 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:1457:32 [INFO] [stdout] | [INFO] [stdout] 1457 | 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:1458:32 [INFO] [stdout] | [INFO] [stdout] 1458 | 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:1459:32 [INFO] [stdout] | [INFO] [stdout] 1459 | 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:1460:32 [INFO] [stdout] | [INFO] [stdout] 1460 | 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:1461:32 [INFO] [stdout] | [INFO] [stdout] 1461 | 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:1462:32 [INFO] [stdout] | [INFO] [stdout] 1462 | 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:1463:32 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1464:32 [INFO] [stdout] | [INFO] [stdout] 1464 | 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:1465:32 [INFO] [stdout] | [INFO] [stdout] 1465 | 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:1466:32 [INFO] [stdout] | [INFO] [stdout] 1466 | 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:1467:32 [INFO] [stdout] | [INFO] [stdout] 1467 | 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:1468:32 [INFO] [stdout] | [INFO] [stdout] 1468 | 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:1469:32 [INFO] [stdout] | [INFO] [stdout] 1469 | 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:1502:32 [INFO] [stdout] | [INFO] [stdout] 1502 | 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:1503:32 [INFO] [stdout] | [INFO] [stdout] 1503 | 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:1504:32 [INFO] [stdout] | [INFO] [stdout] 1504 | 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:1505:32 [INFO] [stdout] | [INFO] [stdout] 1505 | 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:1510:32 [INFO] [stdout] | [INFO] [stdout] 1510 | 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:1511:32 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1512:32 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1513:32 [INFO] [stdout] | [INFO] [stdout] 1513 | 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:1514:32 [INFO] [stdout] | [INFO] [stdout] 1514 | 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:1515:32 [INFO] [stdout] | [INFO] [stdout] 1515 | 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:1516:32 [INFO] [stdout] | [INFO] [stdout] 1516 | 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:1517:32 [INFO] [stdout] | [INFO] [stdout] 1517 | 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:1518:32 [INFO] [stdout] | [INFO] [stdout] 1518 | 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:1519:32 [INFO] [stdout] | [INFO] [stdout] 1519 | 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:1520:32 [INFO] [stdout] | [INFO] [stdout] 1520 | 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:1521:32 [INFO] [stdout] | [INFO] [stdout] 1521 | 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:1522:32 [INFO] [stdout] | [INFO] [stdout] 1522 | 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:1523:32 [INFO] [stdout] | [INFO] [stdout] 1523 | 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:1524:32 [INFO] [stdout] | [INFO] [stdout] 1524 | 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:1525:32 [INFO] [stdout] | [INFO] [stdout] 1525 | 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: variable `result` is assigned to, but never used [INFO] [stdout] --> src/lib/mcus/mcs51.rs:2479:13 [INFO] [stdout] | [INFO] [stdout] 2479 | 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:2482:13 [INFO] [stdout] | [INFO] [stdout] 2482 | 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/bin_main.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut buf: String = String::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/lib/mcus/mcs51.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut mcs51 = MCS51 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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: `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: 73 warnings emitted [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: associated function is never used: `label_list` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | 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:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write_to_file(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bit_address_name_num` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn bit_address_name_num(address: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_opcode(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ADDR_11` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | ADDR_11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RELATIVE` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | RELATIVE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_stack_pointer` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn set_stack_pointer(&mut self, value: 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:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | 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_raw` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn read_raw(&self, address: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 521 | 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:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | 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:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn next_instruction_debug_table(&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:1578:12 [INFO] [stdout] | [INFO] [stdout] 1578 | pub fn opcode_dispatch_match(&mut self, opcode: u8) { [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: `program_memory` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | program_memory: Vec, [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: `pc_read` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn pc_read(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_program` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn set_program(&mut self, program: Vec) { [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: associated function is never used: `next_instruction` [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn next_instruction(&mut self) { [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_16f628a` [INFO] [stdout] --> src/bin_main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn test_emulator_16f628a() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_emulator_mcs51` [INFO] [stdout] --> src/bin_main.rs:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | 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:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | 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:372:4 [INFO] [stdout] | [INFO] [stdout] 372 | fn test_decompile_mcs51() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 111 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "a27f404e63f22292093c385887add5afb70854f7a85c3c6c6ba73ccff81ad378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27f404e63f22292093c385887add5afb70854f7a85c3c6c6ba73ccff81ad378", kill_on_drop: false }` [INFO] [stdout] a27f404e63f22292093c385887add5afb70854f7a85c3c6c6ba73ccff81ad378