[INFO] cloning repository https://github.com/pdgilbert/hw_dht11 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdgilbert/hw_dht11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdgilbert%2Fhw_dht11", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdgilbert%2Fhw_dht11'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 224b8b06891d5bb32fa90f24a94ee3025694ab59 [INFO] checking pdgilbert/hw_dht11 against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdgilbert%2Fhw_dht11" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/pdgilbert/hw_dht11 [INFO] finished tweaking git repo https://github.com/pdgilbert/hw_dht11 [INFO] tweaked toml for git repo https://github.com/pdgilbert/hw_dht11 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pdgilbert/hw_dht11 on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pdgilbert/hw_dht11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtic-monotonic v1.0.0 [INFO] [stderr] Downloaded systick-monotonic v1.0.1 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0-alpha.3 [INFO] [stderr] Downloaded panic-rtt-target v0.1.2 [INFO] [stderr] Downloaded display-interface-i2c v0.4.0 [INFO] [stderr] Downloaded dht-sensor v0.2.1 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.11 [INFO] [stderr] Downloaded panic-reset v0.1.1 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded rtic-core v1.0.0 [INFO] [stderr] Downloaded cortex-m-rtic-macros v1.1.6 [INFO] [stderr] Downloaded rtic-syntax v1.0.3 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded time v0.3.27 [INFO] [stderr] Downloaded ssd1306 v0.8.1 [INFO] [stderr] Downloaded usb-device v0.2.9 [INFO] [stderr] Downloaded cortex-m-rtic v1.1.4 [INFO] [stderr] Downloaded shared-bus v0.3.0 [INFO] [stderr] Downloaded micromath v2.0.0 [INFO] [stderr] Downloaded stm32f4xx-hal v0.17.1 [INFO] [stderr] Downloaded stm32-usbd v0.6.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded display-interface v0.4.1 [INFO] [stderr] Downloaded display-interface-spi v0.4.1 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded stm32f1xx-hal v0.10.0 [INFO] [stderr] Downloaded stm32f1 v0.15.1 [INFO] [stderr] Downloaded stm32f4 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d939350ea8952a83bbf697f15ccf00a9f552fb5d718c947e61bc7373e5d51780 [INFO] running `Command { std: "docker" "start" "-a" "d939350ea8952a83bbf697f15ccf00a9f552fb5d718c947e61bc7373e5d51780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d939350ea8952a83bbf697f15ccf00a9f552fb5d718c947e61bc7373e5d51780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d939350ea8952a83bbf697f15ccf00a9f552fb5d718c947e61bc7373e5d51780", kill_on_drop: false }` [INFO] [stdout] d939350ea8952a83bbf697f15ccf00a9f552fb5d718c947e61bc7373e5d51780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 354a7df093161e55fcabc4e714a3eba1f52b292ac18165828bf72e2b9e2120a2 [INFO] running `Command { std: "docker" "start" "-a" "354a7df093161e55fcabc4e714a3eba1f52b292ac18165828bf72e2b9e2120a2", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling cortex-m-rtic v1.1.4 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking rtic-core v1.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking rtic-monotonic v1.0.0 [INFO] [stderr] Checking micromath v2.0.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling hw_dht11 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking dht-sensor v0.2.1 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking panic-reset v0.1.1 [INFO] [stderr] Checking shared-bus v0.3.0 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking panic-semihosting v0.6.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking panic-rtt-target v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ssd1306 v0.8.1 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Compiling rtic-syntax v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling cortex-m-rtic-macros v1.1.6 [INFO] [stdout] warning: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/main.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] 371 | #[should_panic] [INFO] [stdout] 372 | panic_halt::panic!(); [INFO] [stdout] | --------------------- expected a non-associated function, found an item macro invocation [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 370 - #[test] [INFO] [stdout] 370 + #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/main.rs:374:1 [INFO] [stdout] | [INFO] [stdout] 374 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] 375 | assert_eq!(42, 42); [INFO] [stdout] | ------------------- expected a non-associated function, found an item macro invocation [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 374 - #[test] [INFO] [stdout] 374 + #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `systick_monotonic` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use systick_monotonic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `systick_monotonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `systick_monotonic`, use `cargo add systick_monotonic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use hal::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores keyword `match` and any tokens following [INFO] [stdout] --> /rustc/969026c535f4240ff7866ef11207dfda18a26af6/library/core/src/macros/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:375:1 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(42, 42); [INFO] [stdout] | ------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fugit` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use fugit::TimerDuration; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `fugit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fugit`, use `cargo add fugit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `systick_monotonic` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use systick_monotonic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `systick_monotonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `systick_monotonic`, use `cargo add systick_monotonic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal` [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use hal::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fugit` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use fugit::TimerDuration; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `fugit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fugit`, use `cargo add fugit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `panic` in `panic_halt` [INFO] [stdout] --> src/main.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | panic_halt::panic!(); [INFO] [stdout] | ^^^^^ could not find `panic` in `panic_halt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `monotonic` in this scope [INFO] [stdout] --> src/main.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[monotonic(binds = SysTick, default = true)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `monotonic` in this scope [INFO] [stdout] --> src/main.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[monotonic(binds = SysTick, default = true)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> src/main.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> src/main.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> src/main.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> src/main.rs:314:7 [INFO] [stdout] | [INFO] [stdout] 314 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> src/main.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 325 | #[task(shared = [led, ], local = [dht, delay, display ], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> src/main.rs:314:7 [INFO] [stdout] | [INFO] [stdout] 314 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:350:7 [INFO] [stdout] | [INFO] [stdout] 350 | #[task(shared = [led], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 325 | #[task(shared = [led, ], local = [dht, delay, display ], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 356 | #[task(shared = [led], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:350:7 [INFO] [stdout] | [INFO] [stdout] 350 | #[task(shared = [led], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[task(shared = [led], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 356 | #[task(shared = [led], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> src/main.rs:361:7 [INFO] [stdout] | [INFO] [stdout] 361 | #[task(shared = [led], capacity=2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rtic::app` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rtic::app; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[should_panic]` attribute cannot be used on macro calls [INFO] [stdout] --> src/main.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | #[should_panic] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[should_panic]` can only be applied to functions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rtic::app` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rtic::app; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dht22` [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(not(feature = "dht22"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `fugit`, `stm32f103`, `stm32f1xx`, `stm32f1xx-hal`, `stm32f401`, `stm32f411`, `stm32f4xx`, `stm32f4xx-hal`, and `systick-monotonic` [INFO] [stdout] = help: consider adding `dht22` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dht22` [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(not(feature = "dht22"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `fugit`, `stm32f103`, `stm32f1xx`, `stm32f1xx-hal`, `stm32f401`, `stm32f411`, `stm32f4xx`, `stm32f4xx-hal`, and `systick-monotonic` [INFO] [stdout] = help: consider adding `dht22` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dht22` [INFO] [stdout] --> src/main.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "dht22")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `fugit`, `stm32f103`, `stm32f1xx`, `stm32f1xx-hal`, `stm32f401`, `stm32f411`, `stm32f4xx`, `stm32f4xx-hal`, and `systick-monotonic` [INFO] [stdout] = help: consider adding `dht22` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `panic_halt` (which `hw_dht11` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/969026c535f4240ff7866ef11207dfda18a26af6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2bfe6d313f1a27d4.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-b09f8ab056e64272.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dht22` [INFO] [stdout] --> src/main.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "dht22")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `fugit`, `stm32f103`, `stm32f1xx`, `stm32f1xx-hal`, `stm32f401`, `stm32f411`, `stm32f4xx`, `stm32f4xx-hal`, and `systick-monotonic` [INFO] [stdout] = help: consider adding `dht22` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | type Delay1Type = Delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 116 | type Delay1Type = dyn Delay; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hw_dht11` (bin "hw_dht11" test) due to 14 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `millis` found for type `u64` in the current scope [INFO] [stdout] --> src/main.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | blink::spawn(BLINK_DURATION.millis()).ok(); [INFO] [stdout] | ^^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secs` found for type `u64` in the current scope [INFO] [stdout] --> src/main.rs:347:53 [INFO] [stdout] | [INFO] [stdout] 347 | read_and_display::spawn_after(READ_INTERVAL.secs()).unwrap(); [INFO] [stdout] | ^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hw_dht11` (bin "hw_dht11") due to 14 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "354a7df093161e55fcabc4e714a3eba1f52b292ac18165828bf72e2b9e2120a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354a7df093161e55fcabc4e714a3eba1f52b292ac18165828bf72e2b9e2120a2", kill_on_drop: false }` [INFO] [stdout] 354a7df093161e55fcabc4e714a3eba1f52b292ac18165828bf72e2b9e2120a2