[INFO] fetching crate tim-systick-monotonic 0.2.0... [INFO] testing tim-systick-monotonic-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tim-systick-monotonic 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate tim-systick-monotonic 0.2.0 [INFO] finished tweaking crates.io crate tim-systick-monotonic 0.2.0 [INFO] tweaked toml for crates.io crate tim-systick-monotonic 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tim-systick-monotonic 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding rtic-monotonic v0.1.0-rc.2 (available: v1.0.0) [INFO] [stderr] Adding stm32f0 v0.13.0 (available: v0.16.0) [INFO] [stderr] Adding stm32h7 v0.13.0 (available: v0.16.0) [INFO] [stderr] Adding stm32l0 v0.10.0 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7351dfb1cbf509c4777f377e508784313ca49024bf8ac3fdc73ade5f08a97c8 [INFO] running `Command { std: "docker" "start" "-a" "f7351dfb1cbf509c4777f377e508784313ca49024bf8ac3fdc73ade5f08a97c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7351dfb1cbf509c4777f377e508784313ca49024bf8ac3fdc73ade5f08a97c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7351dfb1cbf509c4777f377e508784313ca49024bf8ac3fdc73ade5f08a97c8", kill_on_drop: false }` [INFO] [stdout] f7351dfb1cbf509c4777f377e508784313ca49024bf8ac3fdc73ade5f08a97c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f032c3a8ee2c84d70c261ad22b53b05420231b1fffac663786f6ede995741b1 [INFO] running `Command { std: "docker" "start" "-a" "7f032c3a8ee2c84d70c261ad22b53b05420231b1fffac663786f6ede995741b1", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling rtic-monotonic v0.1.0-rc.2 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling tim-systick-monotonic v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `embedded_time` in `rtic_monotonic` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | embedded_time::{clock::Error, fraction::Fraction}, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `embedded_time` in `rtic_monotonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rtic_monotonic::Clock`, `rtic_monotonic::Instant` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Clock, Instant, Monotonic [INFO] [stdout] | ^^^^^ ^^^^^^^ no `Instant` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Clock` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimMsb` in this scope [INFO] [stdout] --> src/lib.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub tim_msb: TimMsb, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "l0x1-tim21-tim22")] [INFO] [stdout] | ---------------------------- the item is gated behind the `l0x1-tim21-tim22` feature [INFO] [stdout] 24 | pub type TimMsb = pac::TIM21; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "f0x1-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim17` feature [INFO] [stdout] 29 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "f0x2-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x2-tim15-tim17` feature [INFO] [stdout] 34 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "f0x1-tim15-tim16")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim16` feature [INFO] [stdout] 39 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "h743v-tim15-tim17")] [INFO] [stdout] | ----------------------------- the item is gated behind the `h743v-tim15-tim17` feature [INFO] [stdout] 44 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimLsb` in this scope [INFO] [stdout] --> src/lib.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | pub tim_lsb: TimLsb, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "l0x1-tim21-tim22")] [INFO] [stdout] | ---------------------------- the item is gated behind the `l0x1-tim21-tim22` feature [INFO] [stdout] 26 | pub type TimLsb = pac::TIM22; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "f0x1-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim17` feature [INFO] [stdout] 31 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "f0x2-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x2-tim15-tim17` feature [INFO] [stdout] 36 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "f0x1-tim15-tim16")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim16` feature [INFO] [stdout] 41 | pub type TimLsb = pac::TIM16; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "h743v-tim15-tim17")] [INFO] [stdout] | ----------------------------- the item is gated behind the `h743v-tim15-tim17` feature [INFO] [stdout] 46 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimMsb` in this scope [INFO] [stdout] --> src/lib.rs:61:44 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(systick: SYST, mut tim_msb: TimMsb, mut tim_lsb: TimLsb, sysclk: u32) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "l0x1-tim21-tim22")] [INFO] [stdout] | ---------------------------- the item is gated behind the `l0x1-tim21-tim22` feature [INFO] [stdout] 24 | pub type TimMsb = pac::TIM21; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "f0x1-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim17` feature [INFO] [stdout] 29 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "f0x2-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x2-tim15-tim17` feature [INFO] [stdout] 34 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "f0x1-tim15-tim16")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim16` feature [INFO] [stdout] 39 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "h743v-tim15-tim17")] [INFO] [stdout] | ----------------------------- the item is gated behind the `h743v-tim15-tim17` feature [INFO] [stdout] 44 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimLsb` in this scope [INFO] [stdout] --> src/lib.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(systick: SYST, mut tim_msb: TimMsb, mut tim_lsb: TimLsb, sysclk: u32) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "l0x1-tim21-tim22")] [INFO] [stdout] | ---------------------------- the item is gated behind the `l0x1-tim21-tim22` feature [INFO] [stdout] 26 | pub type TimLsb = pac::TIM22; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "f0x1-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim17` feature [INFO] [stdout] 31 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "f0x2-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x2-tim15-tim17` feature [INFO] [stdout] 36 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "f0x1-tim15-tim16")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim16` feature [INFO] [stdout] 41 | pub type TimLsb = pac::TIM16; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "h743v-tim15-tim17")] [INFO] [stdout] | ----------------------------- the item is gated behind the `h743v-tim15-tim17` feature [INFO] [stdout] 46 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimMsb` in this scope [INFO] [stdout] --> src/lib.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | fn timers_init(tim_msb: &mut TimMsb, tim_lsb: &mut TimLsb) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "l0x1-tim21-tim22")] [INFO] [stdout] | ---------------------------- the item is gated behind the `l0x1-tim21-tim22` feature [INFO] [stdout] 24 | pub type TimMsb = pac::TIM21; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "f0x1-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim17` feature [INFO] [stdout] 29 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(feature = "f0x2-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x2-tim15-tim17` feature [INFO] [stdout] 34 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(feature = "f0x1-tim15-tim16")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim16` feature [INFO] [stdout] 39 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(feature = "h743v-tim15-tim17")] [INFO] [stdout] | ----------------------------- the item is gated behind the `h743v-tim15-tim17` feature [INFO] [stdout] 44 | pub type TimMsb = pac::TIM15; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TimLsb` in this scope [INFO] [stdout] --> src/lib.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | fn timers_init(tim_msb: &mut TimMsb, tim_lsb: &mut TimLsb) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "l0x1-tim21-tim22")] [INFO] [stdout] | ---------------------------- the item is gated behind the `l0x1-tim21-tim22` feature [INFO] [stdout] 26 | pub type TimLsb = pac::TIM22; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "f0x1-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim17` feature [INFO] [stdout] 31 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(feature = "f0x2-tim15-tim17")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x2-tim15-tim17` feature [INFO] [stdout] 36 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "f0x1-tim15-tim16")] [INFO] [stdout] | ---------------------------- the item is gated behind the `f0x1-tim15-tim16` feature [INFO] [stdout] 41 | pub type TimLsb = pac::TIM16; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "h743v-tim15-tim17")] [INFO] [stdout] | ----------------------------- the item is gated behind the `h743v-tim15-tim17` feature [INFO] [stdout] 46 | pub type TimLsb = pac::TIM17; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pac` [INFO] [stdout] --> src/lib.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let device = unsafe { pac::Peripherals::steal() }; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pac` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pac`, use `cargo add pac` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] help: if you import `Peripherals`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 73 - let device = unsafe { pac::Peripherals::steal() }; [INFO] [stdout] 73 + let device = unsafe { Peripherals::steal() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Formatter` [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use core::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Instant`, `Duration`, `now`, `zero` [INFO] [stdout] --> src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | impl Monotonic for TimSystickMonotonic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Instant`, `Duration`, `now`, `zero` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Instant = /* Type */;` [INFO] [stdout] = help: implement the missing item: `type Duration = /* Type */;` [INFO] [stdout] = help: implement the missing item: `fn now(&mut self) -> ::Instant { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn zero() -> ::Instant { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tim-systick-monotonic` (lib) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7f032c3a8ee2c84d70c261ad22b53b05420231b1fffac663786f6ede995741b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f032c3a8ee2c84d70c261ad22b53b05420231b1fffac663786f6ede995741b1", kill_on_drop: false }` [INFO] [stdout] 7f032c3a8ee2c84d70c261ad22b53b05420231b1fffac663786f6ede995741b1