[INFO] fetching crate hal_sensor_dht 0.1.0...
[INFO] testing hal_sensor_dht-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate hal_sensor_dht 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate hal_sensor_dht 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-hal v0.2.7 (latest: v1.0.0)
[INFO] [stderr]       Adding nb v0.1.3 (latest: v1.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80ae83d5e0dfe5b291b49e1c2e2abad9e02f79f27ae437869e08954612612d89
[INFO] running `Command { std: "docker" "start" "-a" "80ae83d5e0dfe5b291b49e1c2e2abad9e02f79f27ae437869e08954612612d89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80ae83d5e0dfe5b291b49e1c2e2abad9e02f79f27ae437869e08954612612d89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80ae83d5e0dfe5b291b49e1c2e2abad9e02f79f27ae437869e08954612612d89", kill_on_drop: false }`
[INFO] [stdout] 80ae83d5e0dfe5b291b49e1c2e2abad9e02f79f27ae437869e08954612612d89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56eb66247ba7c28fe5d96fb4c779030d294c2572a9e1e7045f8db1ae0d7ea394
[INFO] running `Command { std: "docker" "start" "-a" "56eb66247ba7c28fe5d96fb4c779030d294c2572a9e1e7045f8db1ae0d7ea394", 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.34s
[INFO] running `Command { std: "docker" "inspect" "56eb66247ba7c28fe5d96fb4c779030d294c2572a9e1e7045f8db1ae0d7ea394", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56eb66247ba7c28fe5d96fb4c779030d294c2572a9e1e7045f8db1ae0d7ea394", kill_on_drop: false }`
[INFO] [stdout] 56eb66247ba7c28fe5d96fb4c779030d294c2572a9e1e7045f8db1ae0d7ea394
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9da697e8b5d4cf582d084bab8d5130342646e9d1fdd1872963d8908933761e8d
[INFO] running `Command { std: "docker" "start" "-a" "9da697e8b5d4cf582d084bab8d5130342646e9d1fdd1872963d8908933761e8d", 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.32s
[INFO] running `Command { std: "docker" "inspect" "9da697e8b5d4cf582d084bab8d5130342646e9d1fdd1872963d8908933761e8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9da697e8b5d4cf582d084bab8d5130342646e9d1fdd1872963d8908933761e8d", kill_on_drop: false }`
[INFO] [stdout] 9da697e8b5d4cf582d084bab8d5130342646e9d1fdd1872963d8908933761e8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9a1df028acae52e42fd3ebf1d570c85c5d1ff42772060d0c678eae8dd2f6b695
[INFO] running `Command { std: "docker" "start" "-a" "9a1df028acae52e42fd3ebf1d570c85c5d1ff42772060d0c678eae8dd2f6b695", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hal_sensor_dht-7be0ff84d8631986)
[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 hal_sensor_dht
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 92) ... FAILED
[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 164) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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 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 items
[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 = <rppal::gpio::IoPin as InputPin>::Error;
[INFO] [stdout]    |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<bool, <rppal::gpio::IoPin as InputPin>::Error> {
[INFO] [stdout]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<bool, <rppal::gpio::IoPin as InputPin>::Error> {
[INFO] [stdout]    |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 items
[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 = <rppal::gpio::IoPin as OutputPin>::Error;
[INFO] [stdout]    |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<(), <rppal::gpio::IoPin as OutputPin>::Error> {
[INFO] [stdout]    |                                                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<(), <rppal::gpio::IoPin as OutputPin>::Error> {
[INFO] [stdout]    |                                                                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 195) stdout ----
[INFO] [stdout] error: expected `;`, found `libc`
[INFO] [stdout]  --> src/lib.rs:197:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | [dependencies]
[INFO] [stdout]   |               ^ help: add `;` here
[INFO] [stdout] 6 | libc = "0.2.21"
[INFO] [stdout]   | ---- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `path`
[INFO] [stdout]  --> src/lib.rs:200:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | [dependencies.hal_sensor_dht]
[INFO] [stdout]   |                              ^ help: add `;` here
[INFO] [stdout] 9 | path = "../hal_sensor_dht"
[INFO] [stdout]   | ---- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `features`
[INFO] [stdout]   --> src/lib.rs:201:27
[INFO] [stdout]    |
[INFO] [stdout] 9  | path = "../hal_sensor_dht"
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 10 | features = ["floats"]
[INFO] [stdout]    | -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `version`
[INFO] [stdout]   --> src/lib.rs:204:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | [dependencies.embedded-hal]
[INFO] [stdout]    |                            ^ help: add `;` here
[INFO] [stdout] 13 | version = "0.2.4"
[INFO] [stdout]    | ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `features`
[INFO] [stdout]   --> src/lib.rs:205:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | version = "0.2.4"
[INFO] [stdout]    |                  ^ help: add `;` here
[INFO] [stdout] 14 | features = ["unproven"]
[INFO] [stdout]    | -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `version`
[INFO] [stdout]   --> src/lib.rs:208:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | [dependencies.rppal]
[INFO] [stdout]    |                     ^ help: add `;` here
[INFO] [stdout] 17 | version = "0.11.3"
[INFO] [stdout]    | ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `features`
[INFO] [stdout]   --> src/lib.rs:209:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | version = "0.11.3"
[INFO] [stdout]    |                   ^ help: add `;` here
[INFO] [stdout] 18 | features = ["hal", "hal-unproven"]
[INFO] [stdout]    | -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `features` in this scope
[INFO] [stdout]   --> src/lib.rs:210:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | features = ["hal", "hal-unproven"]
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 18 | let features = ["hal", "hal-unproven"]
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/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]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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, &param);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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, &param);
[INFO] [stdout]    |                                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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, &param);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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, &param);
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-15; 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 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] 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 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[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.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9a1df028acae52e42fd3ebf1d570c85c5d1ff42772060d0c678eae8dd2f6b695", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a1df028acae52e42fd3ebf1d570c85c5d1ff42772060d0c678eae8dd2f6b695", kill_on_drop: false }`
[INFO] [stdout] 9a1df028acae52e42fd3ebf1d570c85c5d1ff42772060d0c678eae8dd2f6b695
[INFO] testing hal_sensor_dht-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate hal_sensor_dht 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate hal_sensor_dht 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding embedded-hal v0.2.7 (latest: v1.0.0)
[INFO] [stderr]       Adding nb v0.1.3 (latest: v1.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eed66ac8c4b78a90f8b65b98da359f3f9815b0d3103f72f50cc5f1219b49cdf3
[INFO] running `Command { std: "docker" "start" "-a" "eed66ac8c4b78a90f8b65b98da359f3f9815b0d3103f72f50cc5f1219b49cdf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eed66ac8c4b78a90f8b65b98da359f3f9815b0d3103f72f50cc5f1219b49cdf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eed66ac8c4b78a90f8b65b98da359f3f9815b0d3103f72f50cc5f1219b49cdf3", kill_on_drop: false }`
[INFO] [stdout] eed66ac8c4b78a90f8b65b98da359f3f9815b0d3103f72f50cc5f1219b49cdf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc74b86b7715abe1610f2c93fd9dba24c5935e5503b23d511a115d6154cc66ac
[INFO] running `Command { std: "docker" "start" "-a" "bc74b86b7715abe1610f2c93fd9dba24c5935e5503b23d511a115d6154cc66ac", 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.21s
[INFO] running `Command { std: "docker" "inspect" "bc74b86b7715abe1610f2c93fd9dba24c5935e5503b23d511a115d6154cc66ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc74b86b7715abe1610f2c93fd9dba24c5935e5503b23d511a115d6154cc66ac", kill_on_drop: false }`
[INFO] [stdout] bc74b86b7715abe1610f2c93fd9dba24c5935e5503b23d511a115d6154cc66ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20b8f7d963a0faaa4e0c2a8c535f1d29fcaf45557dad3ff72f5cae3baac182dc
[INFO] running `Command { std: "docker" "start" "-a" "20b8f7d963a0faaa4e0c2a8c535f1d29fcaf45557dad3ff72f5cae3baac182dc", 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.32s
[INFO] running `Command { std: "docker" "inspect" "20b8f7d963a0faaa4e0c2a8c535f1d29fcaf45557dad3ff72f5cae3baac182dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20b8f7d963a0faaa4e0c2a8c535f1d29fcaf45557dad3ff72f5cae3baac182dc", kill_on_drop: false }`
[INFO] [stdout] 20b8f7d963a0faaa4e0c2a8c535f1d29fcaf45557dad3ff72f5cae3baac182dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9cbb1edc5147b8ab8b9db92284f34b05c5810b7c66b07423b3f7690ecf26c45e
[INFO] running `Command { std: "docker" "start" "-a" "9cbb1edc5147b8ab8b9db92284f34b05c5810b7c66b07423b3f7690ecf26c45e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hal_sensor_dht-7be0ff84d8631986)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests hal_sensor_dht
[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 92) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 124) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 164) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 42) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 195) stdout ----
[INFO] [stdout] error: expected `;`, found `libc`
[INFO] [stdout]  --> src/lib.rs:197:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | [dependencies]
[INFO] [stdout]   |               ^ help: add `;` here
[INFO] [stdout] 6 | libc = "0.2.21"
[INFO] [stdout]   | ---- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `path`
[INFO] [stdout]  --> src/lib.rs:200:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | [dependencies.hal_sensor_dht]
[INFO] [stdout]   |                              ^ help: add `;` here
[INFO] [stdout] 9 | path = "../hal_sensor_dht"
[INFO] [stdout]   | ---- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `features`
[INFO] [stdout]   --> src/lib.rs:201:27
[INFO] [stdout]    |
[INFO] [stdout] 9  | path = "../hal_sensor_dht"
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 10 | features = ["floats"]
[INFO] [stdout]    | -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `version`
[INFO] [stdout]   --> src/lib.rs:204:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | [dependencies.embedded-hal]
[INFO] [stdout]    |                            ^ help: add `;` here
[INFO] [stdout] 13 | version = "0.2.4"
[INFO] [stdout]    | ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `features`
[INFO] [stdout]   --> src/lib.rs:205:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | version = "0.2.4"
[INFO] [stdout]    |                  ^ help: add `;` here
[INFO] [stdout] 14 | features = ["unproven"]
[INFO] [stdout]    | -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `version`
[INFO] [stdout]   --> src/lib.rs:208:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | [dependencies.rppal]
[INFO] [stdout]    |                     ^ help: add `;` here
[INFO] [stdout] 17 | version = "0.11.3"
[INFO] [stdout]    | ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `features`
[INFO] [stdout]   --> src/lib.rs:209:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | version = "0.11.3"
[INFO] [stdout]    |                   ^ help: add `;` here
[INFO] [stdout] 18 | features = ["hal", "hal-unproven"]
[INFO] [stdout]    | -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `features` in this scope
[INFO] [stdout]   --> src/lib.rs:210:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | features = ["hal", "hal-unproven"]
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 18 | let features = ["hal", "hal-unproven"]
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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/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 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]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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, &param);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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, &param);
[INFO] [stdout]    |                                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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, &param);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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, &param);
[INFO] [stdout]    |                                                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 <https://github.com/rust-lang/rust/issues/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 2024-05-16; 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 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] 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 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[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] ---- 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 items
[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 = <rppal::gpio::IoPin as InputPin>::Error;
[INFO] [stdout]    |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<bool, <rppal::gpio::IoPin as InputPin>::Error> {
[INFO] [stdout]    |                                                              ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<bool, <rppal::gpio::IoPin as InputPin>::Error> {
[INFO] [stdout]    |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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 items
[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 = <rppal::gpio::IoPin as OutputPin>::Error;
[INFO] [stdout]    |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<(), <rppal::gpio::IoPin as OutputPin>::Error> {
[INFO] [stdout]    |                                                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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<(), <rppal::gpio::IoPin as OutputPin>::Error> {
[INFO] [stdout]    |                                                                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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] 
[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.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9cbb1edc5147b8ab8b9db92284f34b05c5810b7c66b07423b3f7690ecf26c45e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cbb1edc5147b8ab8b9db92284f34b05c5810b7c66b07423b3f7690ecf26c45e", kill_on_drop: false }`
[INFO] [stdout] 9cbb1edc5147b8ab8b9db92284f34b05c5810b7c66b07423b3f7690ecf26c45e
