[INFO] fetching crate hal_sensor_dht 0.1.0... [INFO] testing hal_sensor_dht-0.1.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate hal_sensor_dht 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate hal_sensor_dht 0.1.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6014b71701935e6f026babea2e3c4521465a72e6b6803f9b98d362eb8f91e9a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6014b71701935e6f026babea2e3c4521465a72e6b6803f9b98d362eb8f91e9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6014b71701935e6f026babea2e3c4521465a72e6b6803f9b98d362eb8f91e9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6014b71701935e6f026babea2e3c4521465a72e6b6803f9b98d362eb8f91e9a8", kill_on_drop: false }` [INFO] [stdout] 6014b71701935e6f026babea2e3c4521465a72e6b6803f9b98d362eb8f91e9a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3dafaa1e1856def527725380554d27c2ef33386aaeb4d4821bab87e4473df8f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f3dafaa1e1856def527725380554d27c2ef33386aaeb4d4821bab87e4473df8f", 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.6 [INFO] [stderr] Compiling hal_sensor_dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "f3dafaa1e1856def527725380554d27c2ef33386aaeb4d4821bab87e4473df8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3dafaa1e1856def527725380554d27c2ef33386aaeb4d4821bab87e4473df8f", kill_on_drop: false }` [INFO] [stdout] f3dafaa1e1856def527725380554d27c2ef33386aaeb4d4821bab87e4473df8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30f337b1a0cbcaec1e3eab492cd2ca7fb319ef212a26ad90c9ec60464dfd2146 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30f337b1a0cbcaec1e3eab492cd2ca7fb319ef212a26ad90c9ec60464dfd2146", 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.81s [INFO] running `Command { std: "docker" "inspect" "30f337b1a0cbcaec1e3eab492cd2ca7fb319ef212a26ad90c9ec60464dfd2146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f337b1a0cbcaec1e3eab492cd2ca7fb319ef212a26ad90c9ec60464dfd2146", kill_on_drop: false }` [INFO] [stdout] 30f337b1a0cbcaec1e3eab492cd2ca7fb319ef212a26ad90c9ec60464dfd2146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5151522841d94be3811f68bcc63e028bc274724406a510b33324c9596f3cc3e2 [INFO] running `Command { std: "docker" "start" "-a" "5151522841d94be3811f68bcc63e028bc274724406a510b33324c9596f3cc3e2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hal_sensor_dht-a1dc668c7550d014) [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 42) ... 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 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 195) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rppal` [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rppal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 124) stdout ---- [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/lib.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [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[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 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 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] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::detect::features; [INFO] [stdout] | [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] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::detect::features; [INFO] [stdout] | [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] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use std::detect::features; [INFO] [stdout] | [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.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "5151522841d94be3811f68bcc63e028bc274724406a510b33324c9596f3cc3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5151522841d94be3811f68bcc63e028bc274724406a510b33324c9596f3cc3e2", kill_on_drop: false }` [INFO] [stdout] 5151522841d94be3811f68bcc63e028bc274724406a510b33324c9596f3cc3e2