[INFO] fetching crate hal_sensor_dht 0.1.0...
[INFO] testing hal_sensor_dht-0.1.0 against 1.54.0 for beta-1.55-1
[INFO] extracting crate hal_sensor_dht 0.1.0 into /workspace/builds/worker-20/source
[INFO] validating manifest of crates.io crate hal_sensor_dht 0.1.0 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-20/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70788acbd4269a42322e34b91ce2518d7c0b7e713db3503ee1e9f9caa12ddde3
[INFO] running `Command { std: "docker" "start" "-a" "70788acbd4269a42322e34b91ce2518d7c0b7e713db3503ee1e9f9caa12ddde3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70788acbd4269a42322e34b91ce2518d7c0b7e713db3503ee1e9f9caa12ddde3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70788acbd4269a42322e34b91ce2518d7c0b7e713db3503ee1e9f9caa12ddde3", kill_on_drop: false }`
[INFO] [stdout] 70788acbd4269a42322e34b91ce2518d7c0b7e713db3503ee1e9f9caa12ddde3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7d65088031c97a4a3b64377eb81734aca96b0ac61994b8d9a5f6f4916ebc92a
[INFO] running `Command { std: "docker" "start" "-a" "e7d65088031c97a4a3b64377eb81734aca96b0ac61994b8d9a5f6f4916ebc92a", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.6
[INFO] [stderr]    Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "e7d65088031c97a4a3b64377eb81734aca96b0ac61994b8d9a5f6f4916ebc92a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7d65088031c97a4a3b64377eb81734aca96b0ac61994b8d9a5f6f4916ebc92a", kill_on_drop: false }`
[INFO] [stdout] e7d65088031c97a4a3b64377eb81734aca96b0ac61994b8d9a5f6f4916ebc92a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 466d8528125ca22ac0e1f43d14fc9d57f4e09e27419f5676aab580e0fbfc4ceb
[INFO] running `Command { std: "docker" "start" "-a" "466d8528125ca22ac0e1f43d14fc9d57f4e09e27419f5676aab580e0fbfc4ceb", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.04s
[INFO] running `Command { std: "docker" "inspect" "466d8528125ca22ac0e1f43d14fc9d57f4e09e27419f5676aab580e0fbfc4ceb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "466d8528125ca22ac0e1f43d14fc9d57f4e09e27419f5676aab580e0fbfc4ceb", kill_on_drop: false }`
[INFO] [stdout] 466d8528125ca22ac0e1f43d14fc9d57f4e09e27419f5676aab580e0fbfc4ceb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 47ff5824f027314af66e6924d52a4d1bd1a45313d47e62b23c8f43a0d5a3bc87
[INFO] running `Command { std: "docker" "start" "-a" "47ff5824f027314af66e6924d52a4d1bd1a45313d47e62b23c8f43a0d5a3bc87", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/hal_sensor_dht-94853ed1113a325a)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hal_sensor_dht
[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 42) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 195) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 124) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 92) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 164) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 195) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `libc`
[INFO] [stdout]  --> src/lib.rs:197:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | [dependencies]
[INFO] [stdout]   |               - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 5 | libc = "0.2.21"
[INFO] [stdout]   | ^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[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 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:126:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libc::sched_param;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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_setscheduler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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_FIFO;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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_OTHER;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:136:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |             let param = sched_param { sched_priority: 32 };
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let result = sched_setscheduler(0, SCHED_FIFO, &param);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:48
[INFO] [stdout]    |
[INFO] [stdout] 16 |             let result = sched_setscheduler(0, SCHED_FIFO, &param);
[INFO] [stdout]    |                                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:146:25
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let param = sched_param { sched_priority: 0 };
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let result = sched_setscheduler(0, SCHED_OTHER, &param);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:48
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let result = sched_setscheduler(0, SCHED_OTHER, &param);
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:136:39
[INFO] [stdout]    |
[INFO] [stdout] 15 |             let param = sched_param { sched_priority: 32 };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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:146:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let param = sched_param { sched_priority: 0 };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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 92) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rppal`
[INFO] [stdout]  --> src/lib.rs:95:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rppal::gpio::{Gpio, Mode, PullUpDown};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `rppal`
[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<u16> 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<u16> 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 164) 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[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] error[E0433]: failed to resolve: use of undeclared crate or module `thread`
[INFO] [stdout]   --> src/lib.rs:181:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 thread::sleep(Duration::from_secs(10));
[INFO] [stdout]    |                 ^^^^^^ use of undeclared crate or module `thread`
[INFO] [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]   |                              ^^^^^^^^^ not found in this scope
[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 `Duration`
[INFO] [stdout]   --> src/lib.rs:181:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 thread::sleep(Duration::from_secs(10));
[INFO] [stdout]    |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  | use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 2  | use std::time::Duration;
[INFO] [stdout]    |
[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.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "47ff5824f027314af66e6924d52a4d1bd1a45313d47e62b23c8f43a0d5a3bc87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47ff5824f027314af66e6924d52a4d1bd1a45313d47e62b23c8f43a0d5a3bc87", kill_on_drop: false }`
[INFO] [stdout] 47ff5824f027314af66e6924d52a4d1bd1a45313d47e62b23c8f43a0d5a3bc87
