[INFO] fetching crate va108xx-hal 0.11.1... [INFO] testing va108xx-hal-0.11.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate va108xx-hal 0.11.1 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate va108xx-hal 0.11.1 [INFO] finished tweaking crates.io crate va108xx-hal 0.11.1 [INFO] tweaked toml for crates.io crate va108xx-hal 0.11.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate va108xx-hal 0.11.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate va108xx-hal 0.11.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded delegate v0.13.2 [INFO] [stderr] Downloaded static_cell v2.1.0 [INFO] [stderr] Downloaded va108xx v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 038d6bb610e1f00a95bce5b6037e46754ef0fd6e7e1ed43703ed1e372ed31ad1 [INFO] running `Command { std: "docker" "start" "-a" "038d6bb610e1f00a95bce5b6037e46754ef0fd6e7e1ed43703ed1e372ed31ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "038d6bb610e1f00a95bce5b6037e46754ef0fd6e7e1ed43703ed1e372ed31ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "038d6bb610e1f00a95bce5b6037e46754ef0fd6e7e1ed43703ed1e372ed31ad1", kill_on_drop: false }` [INFO] [stdout] 038d6bb610e1f00a95bce5b6037e46754ef0fd6e7e1ed43703ed1e372ed31ad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72c9a0c9a0c883fd0c8fff07adbac618a3a3a98eed73e9c925b65d96b5273e5d [INFO] running `Command { std: "docker" "start" "-a" "72c9a0c9a0c883fd0c8fff07adbac618a3a3a98eed73e9c925b65d96b5273e5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling defmt-macros v0.4.0 [INFO] [stderr] Compiling defmt v0.3.10 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling embassy-sync v0.6.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling va108xx v0.5.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling static_cell v2.1.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling delegate v0.13.2 [INFO] [stderr] Compiling defmt-parser v0.4.1 [INFO] [stderr] Compiling va108xx-hal v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.43s [INFO] running `Command { std: "docker" "inspect" "72c9a0c9a0c883fd0c8fff07adbac618a3a3a98eed73e9c925b65d96b5273e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c9a0c9a0c883fd0c8fff07adbac618a3a3a98eed73e9c925b65d96b5273e5d", kill_on_drop: false }` [INFO] [stdout] 72c9a0c9a0c883fd0c8fff07adbac618a3a3a98eed73e9c925b65d96b5273e5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35668a3a34b366f49ce7c27d64aa9a3d0c3b99f27c8a680dce609ceb8478ef8f [INFO] running `Command { std: "docker" "start" "-a" "35668a3a34b366f49ce7c27d64aa9a3d0c3b99f27c8a680dce609ceb8478ef8f", kill_on_drop: false }` [INFO] [stderr] Compiling va108xx-hal v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "35668a3a34b366f49ce7c27d64aa9a3d0c3b99f27c8a680dce609ceb8478ef8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35668a3a34b366f49ce7c27d64aa9a3d0c3b99f27c8a680dce609ceb8478ef8f", kill_on_drop: false }` [INFO] [stdout] 35668a3a34b366f49ce7c27d64aa9a3d0c3b99f27c8a680dce609ceb8478ef8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86567f6fff4f550e1fd972d9b4fbaf32d5df6b9389bd497bf5b87f9a4b3bc451 [INFO] running `Command { std: "docker" "start" "-a" "86567f6fff4f550e1fd972d9b4fbaf32d5df6b9389bd497bf5b87f9a4b3bc451", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/va108xx_hal-bb946ede7cf32f88) [INFO] [stdout] [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] [stderr] Doc-tests va108xx_hal [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/typelevel.rs - typelevel::Is (line 63) ... ignored [INFO] [stdout] test src/typelevel.rs - typelevel::Is (line 70) ... ignored [INFO] [stdout] test src/gpio/pin.rs - gpio::pin (line 22) ... FAILED [INFO] [stdout] test src/gpio/dynpin.rs - gpio::dynpin (line 17) ... FAILED [INFO] [stdout] test src/gpio/pin.rs - gpio::pin (line 59) - compile ... FAILED [INFO] [stdout] test src/gpio/dynpin.rs - gpio::dynpin (line 25) ... FAILED [INFO] [stdout] test src/gpio/dynpin.rs - gpio::dynpin (line 41) ... FAILED [INFO] [stdout] test src/gpio/pin.rs - gpio::pin (line 52) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/gpio/pin.rs - gpio::pin (line 22) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `PinId` in this scope [INFO] [stdout] --> src/gpio/pin.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 5 | I: PinId, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::PinId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `PinMode` in this scope [INFO] [stdout] --> src/gpio/pin.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 6 | M: PinMode, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::PinMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gpio/dynpin.rs - gpio::dynpin (line 17) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `DynPin` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 4 | let pa0: DynPin = pins.pa0.into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::DynPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pins` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 4 | let pa0: DynPin = pins.pa0.into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gpio/pin.rs - gpio::pin (line 59) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `pinsa` in this scope [INFO] [stdout] --> src/gpio/pin.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 4 | let pa0 = pinsa.pa0.into_floating_input(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pinsa` in this scope [INFO] [stdout] --> src/gpio/pin.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 6 | let pa0 = pinsa.pa0.into_mode::(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatingInput` in this scope [INFO] [stdout] --> src/gpio/pin.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 6 | let pa0 = pinsa.pa0.into_mode::(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_gpio_pin_rs_59_0() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/gpio/pin.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pinsa.pa27.into(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PA0` in this scope [INFO] [stdout] --> src/gpio/pin.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pinsa.pa27.into(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::PA0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatingInput` in this scope [INFO] [stdout] --> src/gpio/pin.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pinsa.pa27.into(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_gpio_pin_rs_59_0() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pinsa` in this scope [INFO] [stdout] --> src/gpio/pin.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pinsa.pa27.into(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gpio/dynpin.rs - gpio::dynpin (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `pa0` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 4 | pa0.into_floating_input(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pa0` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 6 | pa0.into_mode(DYN_FLOATING_INPUT); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DYN_FLOATING_INPUT` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 6 | pa0.into_mode(DYN_FLOATING_INPUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::DYN_FLOATING_INPUT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gpio/dynpin.rs - gpio::dynpin (line 41) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `DynPin` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 4 | let pa0: DynPin = pins.pa0.into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::DynPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pins` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 4 | let pa0: DynPin = pins.pa0.into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pa0.try_into().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::pin::Pin; [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PA0` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pa0.try_into().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::PA0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatingInput` in this scope [INFO] [stdout] --> src/gpio/dynpin.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 8 | let pa0: Pin = pa0.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_gpio_dynpin_rs_41_0() { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/gpio/pin.rs - gpio::pin (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> src/gpio/pin.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 3 | let mut peripherals = Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PinsA` [INFO] [stdout] --> src/gpio/pin.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 4 | let pinsa = PinsA::new(peripherals.PORT); [INFO] [stdout] | ^^^^^ use of undeclared type `PinsA` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use va108xx_hal::gpio::PinsA; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/gpio/dynpin.rs - gpio::dynpin (line 17) [INFO] [stdout] src/gpio/dynpin.rs - gpio::dynpin (line 25) [INFO] [stdout] src/gpio/dynpin.rs - gpio::dynpin (line 41) [INFO] [stdout] src/gpio/pin.rs - gpio::pin (line 22) [INFO] [stdout] src/gpio/pin.rs - gpio::pin (line 52) [INFO] [stdout] src/gpio/pin.rs - gpio::pin (line 59) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "86567f6fff4f550e1fd972d9b4fbaf32d5df6b9389bd497bf5b87f9a4b3bc451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86567f6fff4f550e1fd972d9b4fbaf32d5df6b9389bd497bf5b87f9a4b3bc451", kill_on_drop: false }` [INFO] [stdout] 86567f6fff4f550e1fd972d9b4fbaf32d5df6b9389bd497bf5b87f9a4b3bc451