[INFO] fetching crate hal_sensor_dht 0.1.0... [INFO] testing hal_sensor_dht-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hal_sensor_dht 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate hal_sensor_dht 0.1.0 [INFO] finished tweaking crates.io crate hal_sensor_dht 0.1.0 [INFO] tweaked toml for crates.io crate hal_sensor_dht 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hal_sensor_dht 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61c908b11c67e16441229a42d3750af7e3370ef005f7b3a10df6673b03170a0d [INFO] running `Command { std: "docker" "start" "-a" "61c908b11c67e16441229a42d3750af7e3370ef005f7b3a10df6673b03170a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61c908b11c67e16441229a42d3750af7e3370ef005f7b3a10df6673b03170a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c908b11c67e16441229a42d3750af7e3370ef005f7b3a10df6673b03170a0d", kill_on_drop: false }` [INFO] [stdout] 61c908b11c67e16441229a42d3750af7e3370ef005f7b3a10df6673b03170a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df2ef73041a66bfb064f136ef9a669cff809cd8227a64b4ada13339a58175cd6 [INFO] running `Command { std: "docker" "start" "-a" "df2ef73041a66bfb064f136ef9a669cff809cd8227a64b4ada13339a58175cd6", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "df2ef73041a66bfb064f136ef9a669cff809cd8227a64b4ada13339a58175cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2ef73041a66bfb064f136ef9a669cff809cd8227a64b4ada13339a58175cd6", kill_on_drop: false }` [INFO] [stdout] df2ef73041a66bfb064f136ef9a669cff809cd8227a64b4ada13339a58175cd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 840bd9f4d1175994c1159b76713852e9d2e47b75494a146769912d630f1eb948 [INFO] running `Command { std: "docker" "start" "-a" "840bd9f4d1175994c1159b76713852e9d2e47b75494a146769912d630f1eb948", kill_on_drop: false }` [INFO] [stderr] Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "840bd9f4d1175994c1159b76713852e9d2e47b75494a146769912d630f1eb948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "840bd9f4d1175994c1159b76713852e9d2e47b75494a146769912d630f1eb948", kill_on_drop: false }` [INFO] [stdout] 840bd9f4d1175994c1159b76713852e9d2e47b75494a146769912d630f1eb948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b36b7f7973804788737019bf6e2d0ac8d96d7dbe940d94f85fa26b5f225a238b [INFO] running `Command { std: "docker" "start" "-a" "b36b7f7973804788737019bf6e2d0ac8d96d7dbe940d94f85fa26b5f225a238b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hal_sensor_dht-df30ef42afbcfa79) [INFO] [stderr] Doc-tests hal_sensor_dht [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 124) ... FAILED [INFO] [stdout] test src/lib.rs - (line 164) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 195) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/lib.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 1 | [dependencies] [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rppal` [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rppal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/lib.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl InputPin for MyPin { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::InputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::InputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/lib.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 17 | type Error = ::Error; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::InputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::InputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/lib.rs:58:62 [INFO] [stdout] | [INFO] [stdout] 18 | fn is_high(&self) -> Result::Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::InputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::InputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/lib.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_low(&self) -> Result::Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::InputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::InputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/lib.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl OutputPin for MyPin { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::OutputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 27 | type Error = ::Error; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::OutputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/lib.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_high(&mut self) -> Result<(), ::Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::OutputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/lib.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 31 | fn set_low(&mut self) -> Result<(), ::Error> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::OutputPin; [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rppal` [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rppal::gpio::{Gpio, Mode, PullUpDown}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rppal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rppal`, use `cargo add rppal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DelayUs` in this scope [INFO] [stdout] --> src/lib.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl DelayUs for MyTimer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::blocking::delay::DelayUs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DelayMs` in this scope [INFO] [stdout] --> src/lib.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 22 | impl DelayMs for MyTimer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use embedded_hal::blocking::delay::DelayMs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 124) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::sched_param; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::sched_setscheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::SCHED_FIFO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::SCHED_OTHER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 16 | let param = sched_param { sched_priority: 32 }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 17 | let result = sched_setscheduler(0, SCHED_FIFO, ¶m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 17 | let result = sched_setscheduler(0, SCHED_FIFO, ¶m); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 26 | let param = sched_param { sched_priority: 0 }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 27 | let result = sched_setscheduler(0, SCHED_OTHER, ¶m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:148:48 [INFO] [stdout] | [INFO] [stdout] 27 | let result = sched_setscheduler(0, SCHED_OTHER, ¶m); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 16 | let param = sched_param { sched_priority: 32 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 26 | let param = sched_param { sched_priority: 0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-08-13; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 164) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyTimer` in this scope [INFO] [stdout] --> src/lib.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 7 | let my_timer = MyTimer{}; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyInterruptCtrl` in this scope [INFO] [stdout] --> src/lib.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 8 | let my_interrupt = MyInterruptCtrl{}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DHTSensor` [INFO] [stdout] --> src/lib.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 9 | let mut sensor = DHTSensor::new(SensorType::DHT22, my_pin, my_timer, my_interrupt); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DHTSensor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hal_sensor_dht::DHTSensor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SensorType` [INFO] [stdout] --> src/lib.rs:172:45 [INFO] [stdout] | [INFO] [stdout] 9 | let mut sensor = DHTSensor::new(SensorType::DHT22, my_pin, my_timer, my_interrupt); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SensorType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use hal_sensor_dht::SensorType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/lib.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 18 | thread::sleep(Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 18 | thread::sleep(Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gpio` [INFO] [stdout] --> src/lib.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 4 | if let Ok(gpio) = Gpio::new() { [INFO] [stdout] | ^^^^ use of undeclared type `Gpio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyPin` [INFO] [stdout] --> src/lib.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 6 | let my_pin = MyPin::new(pin); [INFO] [stdout] | ^^^^^ use of undeclared type `MyPin` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 124) [INFO] [stdout] src/lib.rs - (line 164) [INFO] [stdout] src/lib.rs - (line 195) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b36b7f7973804788737019bf6e2d0ac8d96d7dbe940d94f85fa26b5f225a238b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36b7f7973804788737019bf6e2d0ac8d96d7dbe940d94f85fa26b5f225a238b", kill_on_drop: false }` [INFO] [stdout] b36b7f7973804788737019bf6e2d0ac8d96d7dbe940d94f85fa26b5f225a238b