[INFO] cloning repository https://github.com/MasonDill/pic10-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MasonDill/pic10-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasonDill%2Fpic10-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasonDill%2Fpic10-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f13b7fa2d8f833f219c99f3210512a7f6247c0c [INFO] checking MasonDill/pic10-emulator against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasonDill%2Fpic10-emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MasonDill/pic10-emulator [INFO] finished tweaking git repo https://github.com/MasonDill/pic10-emulator [INFO] tweaked toml for git repo https://github.com/MasonDill/pic10-emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MasonDill/pic10-emulator on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MasonDill/pic10-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking MasonDill/pic10-emulator against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasonDill%2Fpic10-emulator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MasonDill/pic10-emulator [INFO] finished tweaking git repo https://github.com/MasonDill/pic10-emulator [INFO] tweaked toml for git repo https://github.com/MasonDill/pic10-emulator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MasonDill/pic10-emulator on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MasonDill/pic10-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f816f9d625d7b195226760d28834f97888b7fc4e5efbe7ec69713e0f092ac30 [INFO] running `Command { std: "docker" "start" "-a" "8f816f9d625d7b195226760d28834f97888b7fc4e5efbe7ec69713e0f092ac30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f816f9d625d7b195226760d28834f97888b7fc4e5efbe7ec69713e0f092ac30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f816f9d625d7b195226760d28834f97888b7fc4e5efbe7ec69713e0f092ac30", kill_on_drop: false }` [INFO] [stdout] 8f816f9d625d7b195226760d28834f97888b7fc4e5efbe7ec69713e0f092ac30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f3ba3ae74279ae340081ee59910e657b8345f09607639bce37f10c5c7de918 [INFO] running `Command { std: "docker" "start" "-a" "22f3ba3ae74279ae340081ee59910e657b8345f09607639bce37f10c5c7de918", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> common/src/instructions.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::nbitnumber::{self, u12, NBitNumber, NumberOperations, NBit}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u5` [INFO] [stdout] --> common/src/instructions.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nbitnumber::{u2, u3, u5, u9}; // Added imports for extract methods [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> common/src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u12` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub type u12 = NBitNumber<12>; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U12` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u7` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub type u7 = NBitNumber<7>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u5` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub type u5 = NBitNumber<5>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u9` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub type u9 = NBitNumber<9>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u3` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub type u3 = NBitNumber<3>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u2` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub type u2 = NBitNumber<2>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> common/src/instructions.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::nbitnumber::{self, u12, NBitNumber, NumberOperations, NBit}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u5` [INFO] [stdout] --> common/src/instructions.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::nbitnumber::{u2, u3, u5, u9}; // Added imports for extract methods [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> common/src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u12` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub type u12 = NBitNumber<12>; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U12` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u7` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub type u7 = NBitNumber<7>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u5` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub type u5 = NBitNumber<5>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u9` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | pub type u9 = NBitNumber<9>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u3` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | pub type u3 = NBitNumber<3>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `u2` should have an upper camel case name [INFO] [stdout] --> common/src/nbitnumber.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub type u2 = NBitNumber<2>; [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mnemonic` [INFO] [stdout] --> common/src/instructions.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn encode_mnemonic(mnemonic: PICInstructionMnemonic) -> u12 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mnemonic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mnemonic` [INFO] [stdout] --> common/src/instructions.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn encode_mnemonic(mnemonic: PICInstructionMnemonic) -> u12 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mnemonic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pic_emulator_rs v0.1.0 (/opt/rustwide/workdir/pic_emulator_rs) [INFO] [stdout] warning: unused import: `RESET_VECTOR` [INFO] [stdout] --> pic_emulator_rs/src/pic.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | logic::*, program_memory::{ProgramMemory, RESET_VECTOR, PC_POR_MOVLW_OSCCAL_ADDRESS}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PICInstructionType` [INFO] [stdout] --> pic_emulator_rs/src/pic.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{instructions::{PICInstructionMnemonic, PICInstructionType, PICInstruction}, nbitnumber::{NBitNumber, u9, u12, u5, Number... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `u12`, `u7`, and `u9` [INFO] [stdout] --> pic_emulator_rs/src/data_memory.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use common::nbitnumber::{u3, u5, u7, u9, u12}; [INFO] [stdout] | ^^ ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 34 | pic.data_memory.set_flag(NBitNumber::new(Status_Masks::TO as u16) , NBitNumber::new(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 177 | update_C(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 182 | update_C(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nbitnumber` [INFO] [stdout] --> pic_emulator_rs/src/tests/test_pic.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::nbitnumber::{u9, u12}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `common::nbitnumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nbitnumber` [INFO] [stdout] --> pic_emulator_rs/src/tests/test_data_memory.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::nbitnumber::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `common::nbitnumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nbitnumber` [INFO] [stdout] --> pic_emulator_rs/src/tests/test_nbitnumber.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::nbitnumber::NumberOperations; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `common::nbitnumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn HALT(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn NOP(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn OPTION(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn SLEEP(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn CLRWDT(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn TRIS(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn DECFSZ(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn RRF(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn RLF(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn SWAPF(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn INCFSZ(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn UND(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `PICInstruction` is private [INFO] [stdout] --> pic_emulator_rs/src/tests/test_pic.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::pic::PICInstruction; [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `PICInstruction` is defined here... [INFO] [stdout] --> pic_emulator_rs/src/pic.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{instructions::{PICInstructionMnemonic, PICInstructionType, PICInstruction}, nbitnumber::{NBitNumber, u9, u12, u5, Numb... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `PICInstruction` which is defined here [INFO] [stdout] --> /opt/rustwide/workdir/common/src/instructions.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct PICInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `PICInstruction` through the re-export [INFO] [stdout] | [INFO] [stdout] 8 - use crate::pic::PICInstruction; [INFO] [stdout] 8 + use instructions::PICInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum import `PICInstructionMnemonic` is private [INFO] [stdout] --> pic_emulator_rs/src/tests/test_pic.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pic::PICInstructionMnemonic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ private enum import [INFO] [stdout] | [INFO] [stdout] note: the enum import `PICInstructionMnemonic` is defined here... [INFO] [stdout] --> pic_emulator_rs/src/pic.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{instructions::{PICInstructionMnemonic, PICInstructionType, PICInstruction}, nbitnumber::{NBitNumber, u9, u12, u5, Numbe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the enum `PICInstructionMnemonic` which is defined here [INFO] [stdout] --> /opt/rustwide/workdir/common/src/instructions.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum PICInstructionMnemonic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `PICInstructionMnemonic` through the re-export [INFO] [stdout] | [INFO] [stdout] 9 - use crate::pic::PICInstructionMnemonic; [INFO] [stdout] 9 + use instructions::PICInstructionMnemonic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RESET_VECTOR` [INFO] [stdout] --> pic_emulator_rs/src/pic.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | logic::*, program_memory::{ProgramMemory, RESET_VECTOR, PC_POR_MOVLW_OSCCAL_ADDRESS}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PICInstructionType` [INFO] [stdout] --> pic_emulator_rs/src/pic.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{instructions::{PICInstructionMnemonic, PICInstructionType, PICInstruction}, nbitnumber::{NBitNumber, u9, u12, u5, Number... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `u12`, `u7`, and `u9` [INFO] [stdout] --> pic_emulator_rs/src/data_memory.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use common::nbitnumber::{u3, u5, u7, u9, u12}; [INFO] [stdout] | ^^ ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> pic_emulator_rs/src/tests/test_pic.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::pic::{self, PIC10F200, Programmable, PipelinedTuringMachine}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 34 | pic.data_memory.set_flag(NBitNumber::new(Status_Masks::TO as u16) , NBitNumber::new(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 177 | update_C(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 182 | update_C(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn HALT(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn NOP(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn OPTION(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn SLEEP(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn CLRWDT(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn TRIS(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn DECFSZ(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn RRF(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn RLF(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn SWAPF(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn INCFSZ(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pic` [INFO] [stdout] --> pic_emulator_rs/src/logic.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn UND(pic: &mut PIC10F200) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pic_emulator_rs` (lib test) due to 5 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22f3ba3ae74279ae340081ee59910e657b8345f09607639bce37f10c5c7de918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f3ba3ae74279ae340081ee59910e657b8345f09607639bce37f10c5c7de918", kill_on_drop: false }` [INFO] [stdout] 22f3ba3ae74279ae340081ee59910e657b8345f09607639bce37f10c5c7de918