[INFO] fetching crate embedded-async-timer 0.1.0... [INFO] testing embedded-async-timer-0.1.0 against beta-2021-01-01 for beta-1.50-1 [INFO] extracting crate embedded-async-timer 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate embedded-async-timer 0.1.0 on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate embedded-async-timer 0.1.0 [INFO] finished tweaking crates.io crate embedded-async-timer 0.1.0 [INFO] tweaked toml for crates.io crate embedded-async-timer 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] [stderr] Downloaded stm32f1xx-hal v0.5.3 [INFO] [stderr] Downloaded stm32f1 v0.9.0 [INFO] [stderr] Downloaded stm32l4xx-hal v0.5.0 [INFO] [stderr] Downloaded stm32l4 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", 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] 53690fd0b7e9ca104b14cae738eff9b2880fa396dfe25ca62986ea277f8d2380 [INFO] running `Command { std: "docker" "start" "-a" "53690fd0b7e9ca104b14cae738eff9b2880fa396dfe25ca62986ea277f8d2380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53690fd0b7e9ca104b14cae738eff9b2880fa396dfe25ca62986ea277f8d2380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53690fd0b7e9ca104b14cae738eff9b2880fa396dfe25ca62986ea277f8d2380", kill_on_drop: false }` [INFO] [stdout] 53690fd0b7e9ca104b14cae738eff9b2880fa396dfe25ca62986ea277f8d2380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f894f9e04254263ee383673f74308623c793b72fa3c4e89ac67f7727583c6e42 [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" "f894f9e04254263ee383673f74308623c793b72fa3c4e89ac67f7727583c6e42", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stm32f1 v0.9.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32f1xx-hal v0.5.3 [INFO] [stderr] Compiling embedded-async-timer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ordering`, `self` [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{self, Ordering}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let result = self.awoken.compare_and_swap(false, true, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.65s [INFO] running `Command { std: "docker" "inspect" "f894f9e04254263ee383673f74308623c793b72fa3c4e89ac67f7727583c6e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f894f9e04254263ee383673f74308623c793b72fa3c4e89ac67f7727583c6e42", kill_on_drop: false }` [INFO] [stdout] f894f9e04254263ee383673f74308623c793b72fa3c4e89ac67f7727583c6e42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", 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] bce0ec0b41f2056241a7ac2b424c63846242033a95864081cab497057e75d116 [INFO] running `Command { std: "docker" "start" "-a" "bce0ec0b41f2056241a7ac2b424c63846242033a95864081cab497057e75d116", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Ordering`, `self` [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{self, Ordering}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let result = self.awoken.compare_and_swap(false, true, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-async-timer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ordering`, `self` [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use core::sync::atomic::{self, Ordering}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | let result = self.awoken.compare_and_swap(false, true, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "bce0ec0b41f2056241a7ac2b424c63846242033a95864081cab497057e75d116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce0ec0b41f2056241a7ac2b424c63846242033a95864081cab497057e75d116", kill_on_drop: false }` [INFO] [stdout] bce0ec0b41f2056241a7ac2b424c63846242033a95864081cab497057e75d116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "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] 6c3a260735dd5886a8df201331db442ca1691a66458bf2264efefca1ec883e5a [INFO] running `Command { std: "docker" "start" "-a" "6c3a260735dd5886a8df201331db442ca1691a66458bf2264efefca1ec883e5a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Ordering`, `self` [INFO] [stderr] --> src/impls/stm32f103_rtc.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use core::sync::atomic::{self, Ordering}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:83:34 [INFO] [stderr] | [INFO] [stderr] 83 | let result = self.awoken.compare_and_swap(false, true, Ordering::SeqCst); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Ordering`, `self` [INFO] [stderr] --> src/impls/stm32f103_rtc.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use core::sync::atomic::{self, Ordering}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:83:34 [INFO] [stderr] | [INFO] [stderr] 83 | let result = self.awoken.compare_and_swap(false, true, Ordering::SeqCst); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/embedded_async_timer-e59d42976c2a2dc7 [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests embedded-async-timer [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 2 tests [INFO] [stdout] test src/impls/stm32f103_rtc.rs - impls::stm32f103_rtc::handle_interrupt (line 89) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 31) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/impls/stm32f103_rtc.rs - impls::stm32f103_rtc::handle_interrupt (line 89) stdout ---- [INFO] [stdout] error: cannot find attribute `interrupt` in this scope [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[interrupt] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AsyncTimer` in this scope [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 3 | static mut TIMER: Option> = None; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_async_timer::AsyncTimer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rtc` in this scope [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 3 | static mut TIMER: Option> = None; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use stm32f1xx_hal::rtc::Rtc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_interrupt` in this scope [INFO] [stdout] --> src/impls/stm32f103_rtc.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 10 | handle_interrupt(move || timer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_async_timer::impls::stm32f103_rtc::handle_interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 31) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncTimer` [INFO] [stdout] --> src/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 4 | let timer = AsyncTimer::new(rtc); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_async_timer::AsyncTimer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rtc` in this scope [INFO] [stdout] --> src/lib.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 4 | let timer = AsyncTimer::new(rtc); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 5 | timer.wait(Duration::from_millis(500).into()).await; [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[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 7 | let mut interval = Interval::new(Duration::from_secs(1).into(), &timer); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_async_timer::Interval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 7 | let mut interval = Interval::new(Duration::from_secs(1).into(), &timer); [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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() { [INFO] [stdout] | - possibly return type missing here? [INFO] [stdout] 3 | / async { [INFO] [stdout] 4 | | let timer = AsyncTimer::new(rtc); [INFO] [stdout] 5 | | timer.wait(Duration::from_millis(500).into()).await; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | | ^- help: try adding a semicolon: `;` [INFO] [stdout] | |_| [INFO] [stdout] | expected `()`, found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found opaque type `impl Future` [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 5 | timer.wait(Duration::from_millis(500).into()).await; [INFO] [stdout] | ^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 5 | timer.wait(Duration::from_millis(500).into()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0698. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/impls/stm32f103_rtc.rs - impls::stm32f103_rtc::handle_interrupt (line 89) [INFO] [stdout] src/lib.rs - (line 31) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6c3a260735dd5886a8df201331db442ca1691a66458bf2264efefca1ec883e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3a260735dd5886a8df201331db442ca1691a66458bf2264efefca1ec883e5a", kill_on_drop: false }` [INFO] [stdout] 6c3a260735dd5886a8df201331db442ca1691a66458bf2264efefca1ec883e5a