[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] 5917c58baec37207ad0b502abb5465ebd23ab076 [INFO] testing FuSoftware/microchip-rs against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFuSoftware%2Fmicrochip-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FuSoftware/microchip-rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/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-12/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs-sys-next v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abb66c8002d1cd2e8f78ac01eeeed0cd2c761d48e46a69b2debb4fa316917b30 [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" "abb66c8002d1cd2e8f78ac01eeeed0cd2c761d48e46a69b2debb4fa316917b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abb66c8002d1cd2e8f78ac01eeeed0cd2c761d48e46a69b2debb4fa316917b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abb66c8002d1cd2e8f78ac01eeeed0cd2c761d48e46a69b2debb4fa316917b30", kill_on_drop: false }` [INFO] [stdout] abb66c8002d1cd2e8f78ac01eeeed0cd2c761d48e46a69b2debb4fa316917b30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 432cddc60f83c74c138b10b6b77208941dabc6f1f41115c7734640499599a619 [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" "432cddc60f83c74c138b10b6b77208941dabc6f1f41115c7734640499599a619", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.1 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling rustyline v6.3.0 [INFO] [stderr] Compiling microchip-rs v0.1.0 (/opt/rustwide/workdir) [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: 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:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | 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:1729:13 [INFO] [stdout] | [INFO] [stdout] 1729 | 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: `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: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 37 warnings emitted [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: 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: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breakpoints` [INFO] [stdout] --> src/bin_main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | 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: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | 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: 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] [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:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | 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:1729:13 [INFO] [stdout] | [INFO] [stdout] 1729 | 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: `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:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | 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: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | 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 21.34s [INFO] running `Command { std: "docker" "inspect" "432cddc60f83c74c138b10b6b77208941dabc6f1f41115c7734640499599a619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "432cddc60f83c74c138b10b6b77208941dabc6f1f41115c7734640499599a619", kill_on_drop: false }` [INFO] [stdout] 432cddc60f83c74c138b10b6b77208941dabc6f1f41115c7734640499599a619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", 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] aa75e7f69c3d9f18b2f7c863ae66d1df5e252f3797dea1b7d67308c3ffbf0c42 [INFO] running `Command { std: "docker" "start" "-a" "aa75e7f69c3d9f18b2f7c863ae66d1df5e252f3797dea1b7d67308c3ffbf0c42", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [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: 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:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | 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:1729:13 [INFO] [stdout] | [INFO] [stdout] 1729 | 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: `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: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling microchip-rs v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | 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:1729:13 [INFO] [stdout] | [INFO] [stdout] 1729 | 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: `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: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breakpoints` [INFO] [stdout] --> src/bin_main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | 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: unused variable: `prev_pc` [INFO] [stdout] --> src/bin_main.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | 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:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | 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: 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] [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:1725:13 [INFO] [stdout] | [INFO] [stdout] 1725 | 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:1729:13 [INFO] [stdout] | [INFO] [stdout] 1729 | 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: `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: field is never read: `instruction` [INFO] [stdout] --> src/lib/decompiler/mcs51.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | instruction: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | 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: variable does not need to be mutable [INFO] [stdout] --> src/bin_main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | let mut prev_pc: u16 = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "aa75e7f69c3d9f18b2f7c863ae66d1df5e252f3797dea1b7d67308c3ffbf0c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa75e7f69c3d9f18b2f7c863ae66d1df5e252f3797dea1b7d67308c3ffbf0c42", kill_on_drop: false }` [INFO] [stdout] aa75e7f69c3d9f18b2f7c863ae66d1df5e252f3797dea1b7d67308c3ffbf0c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1176c1ea079cea879efb54b9a0f5042c4a942c49906b7ddfa535300a323b6820 [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" "1176c1ea079cea879efb54b9a0f5042c4a942c49906b7ddfa535300a323b6820", kill_on_drop: false }` [INFO] [stderr] warning: type `MCS51_Decompiler_Instruction` should have an upper camel case name [INFO] [stderr] --> src/lib/decompiler/mcs51.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct MCS51_Decompiler_Instruction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51DecompilerInstruction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `MCS51_Decompiler` should have an upper camel case name [INFO] [stderr] --> src/lib/decompiler/mcs51.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct MCS51_Decompiler { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Decompiler` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::lib::decompiler::mcs51` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::lib::decompiler::mcs51; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `MCS51_REGISTERS` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/mcs51.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum MCS51_REGISTERS { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Registers` [INFO] [stderr] [INFO] [stderr] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/mcs51.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | REGISTER_COUNT, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stderr] [INFO] [stderr] warning: type `MCS51_ADDRESSING` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/mcs51.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | pub enum MCS51_ADDRESSING { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mcs51Addressing` [INFO] [stderr] [INFO] [stderr] warning: variant `INDIRECT_Ri` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/mcs51.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | INDIRECT_Ri(u8), [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `IndirectRi` [INFO] [stderr] [INFO] [stderr] warning: variant `ADDR_16` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/mcs51.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | ADDR_16, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr16` [INFO] [stderr] [INFO] [stderr] warning: variant `ADDR_11` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/mcs51.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | ADDR_11, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Addr11` [INFO] [stderr] [INFO] [stderr] warning: type `PIC16F628A_INSTRUCTION` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum PIC16F628A_INSTRUCTION { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aInstruction` [INFO] [stderr] [INFO] [stderr] warning: type `PIC16F628A_REGISTERS` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:138:10 [INFO] [stderr] | [INFO] [stderr] 138 | pub enum PIC16F628A_REGISTERS { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Pic16f628aRegisters` [INFO] [stderr] [INFO] [stderr] warning: variant `REGISTER_COUNT` should have an upper camel case name [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | REGISTER_COUNT, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterCount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | dispatch: [|cpu| {}; 256], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opcode` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:522:13 [INFO] [stderr] | [INFO] [stderr] 522 | let opcode = self.program[self.pc as usize]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1373:32 [INFO] [stderr] | [INFO] [stderr] 1373 | self.dispatch[0xB1] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1374:32 [INFO] [stderr] | [INFO] [stderr] 1374 | self.dispatch[0xB2] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1375:32 [INFO] [stderr] | [INFO] [stderr] 1375 | self.dispatch[0xB3] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1424:32 [INFO] [stderr] | [INFO] [stderr] 1424 | self.dispatch[0xC0] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1425:32 [INFO] [stderr] | [INFO] [stderr] 1425 | self.dispatch[0xC1] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1482:32 [INFO] [stderr] | [INFO] [stderr] 1482 | self.dispatch[0xD0] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1483:32 [INFO] [stderr] | [INFO] [stderr] 1483 | self.dispatch[0xD1] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1492:32 [INFO] [stderr] | [INFO] [stderr] 1492 | self.dispatch[0xD4] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1497:32 [INFO] [stderr] | [INFO] [stderr] 1497 | self.dispatch[0xD6] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1498:32 [INFO] [stderr] | [INFO] [stderr] 1498 | self.dispatch[0xD7] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1534:32 [INFO] [stderr] | [INFO] [stderr] 1534 | self.dispatch[0xE1] = |cpu: &mut MCS51| {}; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1592:32 [INFO] [stderr] | [INFO] [stderr] 1592 | self.dispatch[0xF1] = |cpu: &mut MCS51| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src_addr` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1725:13 [INFO] [stderr] | [INFO] [stderr] 1725 | let src_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest_addr` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:1729:13 [INFO] [stderr] | [INFO] [stderr] 1729 | let dest_addr = self.get_u8(MCS51_ADDRESSING::REGISTER(reg)); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_data` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:855:13 [INFO] [stderr] | [INFO] [stderr] 855 | let new_data = data & !(1 << b); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_data` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:861:13 [INFO] [stderr] | [INFO] [stderr] 861 | let new_data = data | (1 << b); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:904:27 [INFO] [stderr] | [INFO] [stderr] 904 | fn op_call(&mut self, k: u16) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:932:28 [INFO] [stderr] | [INFO] [stderr] 932 | fn op_retlw(&mut self, k: u8) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `instruction` [INFO] [stderr] --> src/lib/decompiler/mcs51.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | instruction: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `k_addr` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | k_addr: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `opcode` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | opcode: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | status: u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stack` [INFO] [stderr] --> src/lib/mcus/pic16f628a.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184 | stack: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `microchip-rs` (lib) generated 37 warnings [INFO] [stderr] warning: unused import: `rustyline::error::ReadlineError` [INFO] [stderr] --> src/bin_main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use rustyline::error::ReadlineError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev_pc` [INFO] [stderr] --> src/bin_main.rs:341:13 [INFO] [stderr] | [INFO] [stderr] 341 | let mut prev_pc: u16 = 0; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `breakpoints` [INFO] [stderr] --> src/bin_main.rs:343:9 [INFO] [stderr] | [INFO] [stderr] 343 | let breakpoints: Vec = vec![0x5DD6]; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breakpoints` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prev_pc` [INFO] [stderr] --> src/bin_main.rs:411:13 [INFO] [stderr] | [INFO] [stderr] 411 | let mut prev_pc: u16 = 0; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_pc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `breakpoints` [INFO] [stderr] --> src/bin_main.rs:413:9 [INFO] [stderr] | [INFO] [stderr] 413 | let breakpoints: Vec = vec![0x5DD6]; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breakpoints` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cpu` [INFO] [stderr] --> src/lib/mcus/mcs51.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | dispatch: [|cpu| {}; 256], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin_main.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 341 | let mut prev_pc: u16 = 0; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin_main.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | let mut prev_pc: u16 = 0; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `microchip-rs` (lib test) generated 37 warnings (37 duplicates) [INFO] [stderr] warning: `microchip-rs` (bin "microchip_rs_bin" test) generated 39 warnings (31 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/microchip_rs-b8019e5c101a1a9e) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/microchip_rs_bin-ebfd594a9257f844) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::banking_operations_mcs51 ... ok [INFO] [stdout] test tests::register_operations_16f628a ... ok [INFO] [stderr] error: test failed, to rerun pass '--bin microchip_rs_bin' [INFO] [stdout] test tests::bit_mov_operations_mcs51 ... FAILED [INFO] [stdout] test tests::bit_operations_mcs51 ... FAILED [INFO] [stdout] test tests::register_operations_mcs51 ... FAILED [INFO] [stdout] test tests::add_operations_mcs51 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::bit_mov_operations_mcs51 stdout ---- [INFO] [stdout] thread 'tests::bit_mov_operations_mcs51' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `254`', src/bin_main.rs:136:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564a7828c40c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564a7828c40c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564a7828c40c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x564a7828c40c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x564a782aee6c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x564a78288345 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x564a7828de60 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x564a7828de60 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x564a7828de60 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x564a7828da46 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x564a7828e514 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x564a7828dff0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x564a7828c8c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x564a7828df59 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x564a7822e871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x564a782ada18 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x564a7826da8a - core::panicking::assert_failed::h279ec52221ea24ff [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x564a78230a9e - microchip_rs_bin::tests::bit_mov_operations_mcs51::h01a464cff2624771 [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:136:9 [INFO] [stdout] 18: 0x564a7823086a - microchip_rs_bin::tests::bit_mov_operations_mcs51::{{closure}}::h82c03e882abe5678 [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:118:5 [INFO] [stdout] 19: 0x564a7823215e - core::ops::function::FnOnce::call_once::h5ca794bfa18b41e3 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x564a782689f3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x564a782689f3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x564a78267587 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x564a78267587 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x564a78267587 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x564a78267587 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x564a78267587 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x564a78267587 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x564a78267587 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x564a782348ce - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x564a782348ce - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x564a782396f8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x564a782396f8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x564a782396f8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x564a782396f8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x564a782396f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x564a78292fa3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f5212382609 - start_thread [INFO] [stdout] 42: 0x7f5212152293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::bit_operations_mcs51 stdout ---- [INFO] [stdout] thread 'tests::bit_operations_mcs51' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `1`', src/bin_main.rs:103:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564a7828c40c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564a7828c40c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564a7828c40c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x564a7828c40c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x564a782aee6c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x564a78288345 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x564a7828de60 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x564a7828de60 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x564a7828de60 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x564a7828da46 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x564a7828e514 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x564a7828dff0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x564a7828c8c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x564a7828df59 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x564a7822e871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x564a782ada18 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x564a7826da8a - core::panicking::assert_failed::h279ec52221ea24ff [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x564a782302e5 - microchip_rs_bin::tests::bit_operations_mcs51::h9b86b88dbf36dadc [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:103:9 [INFO] [stdout] 18: 0x564a7822ff4a - microchip_rs_bin::tests::bit_operations_mcs51::{{closure}}::h964d2582da8d54af [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:95:5 [INFO] [stdout] 19: 0x564a7823222e - core::ops::function::FnOnce::call_once::hccdc3d520bbbe3e7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x564a782689f3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x564a782689f3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x564a78267587 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x564a78267587 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x564a78267587 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x564a78267587 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x564a78267587 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x564a78267587 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x564a78267587 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x564a782348ce - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x564a782348ce - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x564a782396f8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x564a782396f8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x564a782396f8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x564a782396f8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x564a782396f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x564a78292fa3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f5212382609 - start_thread [INFO] [stdout] 42: 0x7f5212152293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::register_operations_mcs51 stdout ---- [INFO] [stdout] thread 'tests::register_operations_mcs51' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `1`', src/bin_main.rs:61:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564a7828c40c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564a7828c40c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564a7828c40c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x564a7828c40c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x564a782aee6c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x564a78288345 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x564a7828de60 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x564a7828de60 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x564a7828de60 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x564a7828da46 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x564a7828e514 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x564a7828dff0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x564a7828c8c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x564a7828df59 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x564a7822e871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x564a782ada18 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x564a7826da8a - core::panicking::assert_failed::h279ec52221ea24ff [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x564a7822f780 - microchip_rs_bin::tests::register_operations_mcs51::h5addf08197b2f973 [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:61:9 [INFO] [stdout] 18: 0x564a7822f51a - microchip_rs_bin::tests::register_operations_mcs51::{{closure}}::h18255917136b47cd [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:45:5 [INFO] [stdout] 19: 0x564a782322ae - core::ops::function::FnOnce::call_once::hd6d966f6a67c1fb5 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x564a782689f3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x564a782689f3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x564a78267587 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x564a78267587 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x564a78267587 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x564a78267587 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x564a78267587 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x564a78267587 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x564a78267587 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x564a782348ce - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x564a782348ce - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x564a782396f8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x564a782396f8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x564a782396f8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x564a782396f8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x564a782396f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x564a78292fa3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f5212382609 - start_thread [INFO] [stdout] 42: 0x7f5212152293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::add_operations_mcs51 stdout ---- [INFO] [stdout] thread 'tests::add_operations_mcs51' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `0`, [INFO] [stdout] right: `170`', src/bin_main.rs:154:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564a7828c40c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564a7828c40c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564a7828c40c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x564a7828c40c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x564a782aee6c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x564a78288345 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x564a7828de60 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x564a7828de60 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x564a7828de60 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x564a7828da46 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x564a7828e514 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x564a7828dff0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x564a7828c8c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x564a7828df59 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x564a7822e871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x564a782ada18 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x564a7826da8a - core::panicking::assert_failed::h279ec52221ea24ff [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x564a78230d34 - microchip_rs_bin::tests::add_operations_mcs51::h627ec7514f85e0c7 [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:154:9 [INFO] [stdout] 18: 0x564a78230b8a - microchip_rs_bin::tests::add_operations_mcs51::{{closure}}::hfca51b26b19b5e90 [INFO] [stdout] at /opt/rustwide/workdir/src/bin_main.rs:143:5 [INFO] [stdout] 19: 0x564a7823226e - core::ops::function::FnOnce::call_once::hd24e956ef7e6ce0b [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x564a782689f3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x564a782689f3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x564a78267587 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x564a78267587 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x564a78267587 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x564a78267587 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x564a78267587 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x564a78267587 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x564a78267587 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x564a782348ce - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x564a782348ce - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x564a782396f8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x564a782396f8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x564a782396f8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x564a782396f8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x564a782396f8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x564a782396f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x564a78292fa3 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x564a78292fa3 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f5212382609 - start_thread [INFO] [stdout] 42: 0x7f5212152293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::add_operations_mcs51 [INFO] [stdout] tests::bit_mov_operations_mcs51 [INFO] [stdout] tests::bit_operations_mcs51 [INFO] [stdout] tests::register_operations_mcs51 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1176c1ea079cea879efb54b9a0f5042c4a942c49906b7ddfa535300a323b6820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1176c1ea079cea879efb54b9a0f5042c4a942c49906b7ddfa535300a323b6820", kill_on_drop: false }` [INFO] [stdout] 1176c1ea079cea879efb54b9a0f5042c4a942c49906b7ddfa535300a323b6820