[INFO] fetching crate hal_sensor_dht 0.1.0... [INFO] testing hal_sensor_dht-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate hal_sensor_dht 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate hal_sensor_dht 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 254d3702d6c87a3afd4653a10c301e1e25d6f7182f11171752634b6db62840a2 [INFO] running `Command { std: "docker" "start" "-a" "254d3702d6c87a3afd4653a10c301e1e25d6f7182f11171752634b6db62840a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "254d3702d6c87a3afd4653a10c301e1e25d6f7182f11171752634b6db62840a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "254d3702d6c87a3afd4653a10c301e1e25d6f7182f11171752634b6db62840a2", kill_on_drop: false }` [INFO] [stdout] 254d3702d6c87a3afd4653a10c301e1e25d6f7182f11171752634b6db62840a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a33a353ea92d214f69a385086e8e47a9ddeccd5ca0899dba3cd15625d256ca81 [INFO] running `Command { std: "docker" "start" "-a" "a33a353ea92d214f69a385086e8e47a9ddeccd5ca0899dba3cd15625d256ca81", kill_on_drop: false }` [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.7 [INFO] [stderr] Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "a33a353ea92d214f69a385086e8e47a9ddeccd5ca0899dba3cd15625d256ca81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33a353ea92d214f69a385086e8e47a9ddeccd5ca0899dba3cd15625d256ca81", kill_on_drop: false }` [INFO] [stdout] a33a353ea92d214f69a385086e8e47a9ddeccd5ca0899dba3cd15625d256ca81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ccce8e9c78dd9ab342da95da068c3d1cebf8d48ab573c56a3089b6d7386cdb0 [INFO] running `Command { std: "docker" "start" "-a" "4ccce8e9c78dd9ab342da95da068c3d1cebf8d48ab573c56a3089b6d7386cdb0", kill_on_drop: false }` [INFO] [stderr] Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hal_sensor_dht-2b57afd935a69aed) [INFO] running `Command { std: "docker" "inspect" "4ccce8e9c78dd9ab342da95da068c3d1cebf8d48ab573c56a3089b6d7386cdb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ccce8e9c78dd9ab342da95da068c3d1cebf8d48ab573c56a3089b6d7386cdb0", kill_on_drop: false }` [INFO] [stdout] 4ccce8e9c78dd9ab342da95da068c3d1cebf8d48ab573c56a3089b6d7386cdb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6874cc890b4e69068c702735286f7c3727f347e998ded24540360a5d21d8f817 [INFO] running `Command { std: "docker" "start" "-a" "6874cc890b4e69068c702735286f7c3727f347e998ded24540360a5d21d8f817", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hal_sensor_dht-2b57afd935a69aed) [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 124) ... 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 164) ... FAILED [INFO] [stdout] test src/lib.rs - (line 195) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] [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 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 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 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 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 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, ¶m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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, ¶m); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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 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, ¶m); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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, ¶m); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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 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 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 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[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/lib.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 12 | MyPin(pin.into_io(Mode::Input)) [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputPin` [INFO] [stdout] --> src/lib.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 17 | type Error = ::Error; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `InputPin` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputPin` [INFO] [stdout] --> src/lib.rs:58:62 [INFO] [stdout] | [INFO] [stdout] 18 | fn is_high(&self) -> Result::Error> { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `InputPin` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputPin` [INFO] [stdout] --> src/lib.rs:61:61 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_low(&self) -> Result::Error> { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `InputPin` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutputPin` [INFO] [stdout] --> src/lib.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 27 | type Error = ::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OutputPin` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutputPin` [INFO] [stdout] --> src/lib.rs:68:65 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_high(&mut self) -> Result<(), ::Error> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OutputPin` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OutputPin` [INFO] [stdout] --> src/lib.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 31 | fn set_low(&mut self) -> Result<(), ::Error> { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OutputPin` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/lib.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 38 | self.0.set_mode(Mode::Input); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PullUpDown` [INFO] [stdout] --> src/lib.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 39 | self.0.set_pullupdown(PullUpDown::PullUp); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PullUpDown` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> src/lib.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 42 | self.0.set_mode(Mode::Output); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [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 `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: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433, 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 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 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 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] ---- src/lib.rs - (line 195) stdout ---- [INFO] [stdout] error: expected `;`, found `libc` [INFO] [stdout] --> src/lib.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 4 | [dependencies] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | libc = "0.2.21" [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `path` [INFO] [stdout] --> src/lib.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 7 | [dependencies.hal_sensor_dht] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | path = "../hal_sensor_dht" [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `features` [INFO] [stdout] --> src/lib.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 8 | path = "../hal_sensor_dht" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | features = ["floats"] [INFO] [stdout] | -------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `version` [INFO] [stdout] --> src/lib.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 11 | [dependencies.embedded-hal] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 12 | version = "0.2.4" [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `features` [INFO] [stdout] --> src/lib.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 12 | version = "0.2.4" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 13 | features = ["unproven"] [INFO] [stdout] | -------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `version` [INFO] [stdout] --> src/lib.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 15 | [dependencies.rppal] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 16 | version = "0.11.3" [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `features` [INFO] [stdout] --> src/lib.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 16 | version = "0.11.3" [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 17 | features = ["hal", "hal-unproven"] [INFO] [stdout] | -------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:196:2 [INFO] [stdout] | [INFO] [stdout] 4 | [dependencies] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `libc` in this scope [INFO] [stdout] --> src/lib.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 5 | libc = "0.2.21" [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:199:2 [INFO] [stdout] | [INFO] [stdout] 7 | [dependencies.hal_sensor_dht] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/lib.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 8 | path = "../hal_sensor_dht" [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `features` in this scope [INFO] [stdout] --> src/lib.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 9 | features = ["floats"] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:203:2 [INFO] [stdout] | [INFO] [stdout] 11 | [dependencies.embedded-hal] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hal` in this scope [INFO] [stdout] --> src/lib.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 11 | [dependencies.embedded-hal] [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `version` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 12 | version = "0.2.4" [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `features` in this scope [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 13 | features = ["unproven"] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dependencies` in this scope [INFO] [stdout] --> src/lib.rs:207:2 [INFO] [stdout] | [INFO] [stdout] 15 | [dependencies.rppal] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `version` in this scope [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 16 | version = "0.11.3" [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `features` in this scope [INFO] [stdout] --> src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 17 | features = ["hal", "hal-unproven"] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [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" "6874cc890b4e69068c702735286f7c3727f347e998ded24540360a5d21d8f817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6874cc890b4e69068c702735286f7c3727f347e998ded24540360a5d21d8f817", kill_on_drop: false }` [INFO] [stdout] 6874cc890b4e69068c702735286f7c3727f347e998ded24540360a5d21d8f817