[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] 3490a2145de8b09a7513ccb0480d603c08c76ea5 [INFO] checking FuSoftware/microchip-rs against master#e29821ff85a2a3000d226f99f62f89464028d5d6 for pr-111505 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuSoftware%2Fmicrochip-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FuSoftware/microchip-rs on toolchain e29821ff85a2a3000d226f99f62f89464028d5d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded rustyline v6.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce25fa4d011b1c7d38f30ad2f9a3c56e9c99fe4ac0f04dddf8eeb8d2b7cae7ff [INFO] running `Command { std: "docker" "start" "-a" "ce25fa4d011b1c7d38f30ad2f9a3c56e9c99fe4ac0f04dddf8eeb8d2b7cae7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce25fa4d011b1c7d38f30ad2f9a3c56e9c99fe4ac0f04dddf8eeb8d2b7cae7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce25fa4d011b1c7d38f30ad2f9a3c56e9c99fe4ac0f04dddf8eeb8d2b7cae7ff", kill_on_drop: false }` [INFO] [stdout] ce25fa4d011b1c7d38f30ad2f9a3c56e9c99fe4ac0f04dddf8eeb8d2b7cae7ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e29821ff85a2a3000d226f99f62f89464028d5d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd3c185b688f427020f761f4636e6bea9f595fb5eecb76a984b8af1c23b45fc5 [INFO] running `Command { std: "docker" "start" "-a" "cd3c185b688f427020f761f4636e6bea9f595fb5eecb76a984b8af1c23b45fc5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking dirs-sys-next v0.1.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-next v1.0.2 [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 rustyline v6.3.0 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking microchip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/lib_main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` 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] = note: `#[warn(non_camel_case_types)]` on by default [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: type `MCS51_Compiler_Argument` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum MCS51_Compiler_Argument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerArgument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCS51_Compiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MCS51_Compiler { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Compiler` [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:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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 variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | 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: `opcode` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let opcode = self.program[self.pc as usize]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1373:32 [INFO] [stdout] | [INFO] [stdout] 1373 | 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:1374:32 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:1375:32 [INFO] [stdout] | [INFO] [stdout] 1375 | 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:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | 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:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | 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:1482:32 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1483:32 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1492:32 [INFO] [stdout] | [INFO] [stdout] 1492 | 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:1497:32 [INFO] [stdout] | [INFO] [stdout] 1497 | 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:1498:32 [INFO] [stdout] | [INFO] [stdout] 1498 | 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:1534:32 [INFO] [stdout] | [INFO] [stdout] 1534 | 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:1592:32 [INFO] [stdout] | [INFO] [stdout] 1592 | 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: `src_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | let src_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1727:13 [INFO] [stdout] | [INFO] [stdout] 1727 | let dest_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instruction` is never read [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MCS51_Decompiler_Instruction { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 8 | address: u16, [INFO] [stdout] 9 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCS51_Decompiler_Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LABEL`, `DATA`, `DATA16`, `REGISTER`, and `SFR` are never constructed [INFO] [stdout] --> src/lib/compiler/mcs51.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum MCS51_Compiler_Argument { [INFO] [stdout] | ----------------------- variants in this enum [INFO] [stdout] 2 | LABEL(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | DATA(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | DATA16(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | REGISTER(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | SFR(String) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `arguments` are never read [INFO] [stdout] --> src/lib/compiler/mcs51.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCS51_Compiler_Instruction { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 10 | mnemonic: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `k_addr`, `opcode`, and `status` are never read [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct PIC16F628A { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 177 | w: u8, [INFO] [stdout] 178 | k_addr: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 179 | opcode: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 180 | status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/bin_main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` 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] = note: `#[warn(non_camel_case_types)]` on by default [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: type `MCS51_Compiler_Argument` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum MCS51_Compiler_Argument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerArgument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCS51_Compiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MCS51_Compiler { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Compiler` [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:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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: `rustyline::error::ReadlineError` [INFO] [stdout] --> src/bin_main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rustyline::error::ReadlineError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | 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: `opcode` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let opcode = self.program[self.pc as usize]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1373:32 [INFO] [stdout] | [INFO] [stdout] 1373 | 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:1374:32 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:1375:32 [INFO] [stdout] | [INFO] [stdout] 1375 | 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:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | 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:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | 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:1482:32 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1483:32 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1492:32 [INFO] [stdout] | [INFO] [stdout] 1492 | 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:1497:32 [INFO] [stdout] | [INFO] [stdout] 1497 | 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:1498:32 [INFO] [stdout] | [INFO] [stdout] 1498 | 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:1534:32 [INFO] [stdout] | [INFO] [stdout] 1534 | 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:1592:32 [INFO] [stdout] | [INFO] [stdout] 1592 | 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: `src_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | let src_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1727:13 [INFO] [stdout] | [INFO] [stdout] 1727 | let dest_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breakpoints` [INFO] [stdout] --> src/bin_main.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let breakpoints: Vec = vec![0x5DD6]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breakpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breakpoints` [INFO] [stdout] --> src/bin_main.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | let breakpoints: Vec = vec![0x5DD6]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breakpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/lib_main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` 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] = note: `#[warn(non_camel_case_types)]` on by default [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: type `MCS51_Compiler_Argument` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum MCS51_Compiler_Argument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerArgument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCS51_Compiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MCS51_Compiler { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Compiler` [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:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MCS51_REGISTERS { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Registers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stdout] --> src/lib/mcus/mcs51.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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: found module declaration for lib.rs [INFO] [stdout] --> src/bin_main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` 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] = note: `#[warn(non_camel_case_types)]` on by default [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: type `MCS51_Compiler_Argument` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum MCS51_Compiler_Argument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerArgument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler_Instruction` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCS51_Compiler_Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51CompilerInstruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCS51_Compiler` should have an upper camel case name [INFO] [stdout] --> src/lib/compiler/mcs51.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MCS51_Compiler { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Compiler` [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:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | 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:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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: `rustyline::error::ReadlineError` [INFO] [stdout] --> src/bin_main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rustyline::error::ReadlineError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | 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: `opcode` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let opcode = self.program[self.pc as usize]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1373:32 [INFO] [stdout] | [INFO] [stdout] 1373 | 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:1374:32 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:1375:32 [INFO] [stdout] | [INFO] [stdout] 1375 | 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:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | 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:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | 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:1482:32 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1483:32 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1492:32 [INFO] [stdout] | [INFO] [stdout] 1492 | 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:1497:32 [INFO] [stdout] | [INFO] [stdout] 1497 | 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:1498:32 [INFO] [stdout] | [INFO] [stdout] 1498 | 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:1534:32 [INFO] [stdout] | [INFO] [stdout] 1534 | 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:1592:32 [INFO] [stdout] | [INFO] [stdout] 1592 | 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:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | 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: `opcode` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let opcode = self.program[self.pc as usize]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | let src_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1727:13 [INFO] [stdout] | [INFO] [stdout] 1727 | let dest_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1373:32 [INFO] [stdout] | [INFO] [stdout] 1373 | 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:1374:32 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:1375:32 [INFO] [stdout] | [INFO] [stdout] 1375 | 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:1424:32 [INFO] [stdout] | [INFO] [stdout] 1424 | 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:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | 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:1482:32 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1483:32 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1492:32 [INFO] [stdout] | [INFO] [stdout] 1492 | 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:1497:32 [INFO] [stdout] | [INFO] [stdout] 1497 | 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:1498:32 [INFO] [stdout] | [INFO] [stdout] 1498 | 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:1534:32 [INFO] [stdout] | [INFO] [stdout] 1534 | 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:1592:32 [INFO] [stdout] | [INFO] [stdout] 1592 | 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: field `instruction` is never read [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MCS51_Decompiler_Instruction { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 8 | address: u16, [INFO] [stdout] 9 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCS51_Decompiler_Instruction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LABEL`, `DATA`, `DATA16`, `REGISTER`, and `SFR` are never constructed [INFO] [stdout] --> src/lib/compiler/mcs51.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum MCS51_Compiler_Argument { [INFO] [stdout] | ----------------------- variants in this enum [INFO] [stdout] 2 | LABEL(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | DATA(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | DATA16(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | REGISTER(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | SFR(String) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `arguments` are never read [INFO] [stdout] --> src/lib/compiler/mcs51.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCS51_Compiler_Instruction { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 10 | mnemonic: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `k_addr`, `opcode`, and `status` are never read [INFO] [stdout] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct PIC16F628A { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 177 | w: u8, [INFO] [stdout] 178 | k_addr: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 179 | opcode: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 180 | status: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | let src_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_addr` [INFO] [stdout] --> src/lib/mcus/mcs51.rs:1727:13 [INFO] [stdout] | [INFO] [stdout] 1727 | let dest_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breakpoints` [INFO] [stdout] --> src/bin_main.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | let breakpoints: Vec = vec![0x5DD6]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breakpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breakpoints` [INFO] [stdout] --> src/bin_main.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | let breakpoints: Vec = vec![0x5DD6]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breakpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "cd3c185b688f427020f761f4636e6bea9f595fb5eecb76a984b8af1c23b45fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3c185b688f427020f761f4636e6bea9f595fb5eecb76a984b8af1c23b45fc5", kill_on_drop: false }` [INFO] [stdout] cd3c185b688f427020f761f4636e6bea9f595fb5eecb76a984b8af1c23b45fc5