[INFO] fetching crate tim-systick-monotonic 0.2.0... [INFO] checking tim-systick-monotonic-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tim-systick-monotonic 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate tim-systick-monotonic 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 aligned v0.3.5 (available: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.17.0) [INFO] [stderr] Adding cortex-m v0.6.7 (available: v0.7.7) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.13.3 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding rtic-monotonic v0.1.0-rc.2 (available: v1.0.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding stm32f0 v0.13.0 (available: v0.15.1) [INFO] [stderr] Adding stm32h7 v0.13.0 (available: v0.15.1) [INFO] [stderr] Adding stm32l0 v0.10.0 (available: v0.15.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtic-monotonic v0.1.0-rc.2 [INFO] [stderr] Downloaded stm32h7 v0.13.0 [INFO] [stderr] Downloaded stm32l0 v0.10.0 [INFO] [stderr] Downloaded stm32f0 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53997a054ebc2b03681cbf89666c3264f22694132e91b97423394d2072f9f12a [INFO] running `Command { std: "docker" "start" "-a" "53997a054ebc2b03681cbf89666c3264f22694132e91b97423394d2072f9f12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53997a054ebc2b03681cbf89666c3264f22694132e91b97423394d2072f9f12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53997a054ebc2b03681cbf89666c3264f22694132e91b97423394d2072f9f12a", kill_on_drop: false }` [INFO] [stdout] 53997a054ebc2b03681cbf89666c3264f22694132e91b97423394d2072f9f12a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980ef9a29b9c3cb3aa991befc6a5df7122c49e306f24f0f88db08471000d6fea [INFO] running `Command { std: "docker" "start" "-a" "980ef9a29b9c3cb3aa991befc6a5df7122c49e306f24f0f88db08471000d6fea", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking rtic-monotonic v0.1.0-rc.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking 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[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[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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let device = unsafe { pac::Peripherals::steal() }; [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] | [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] 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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pac` [INFO] [stdout] --> src/lib.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let device = unsafe { pac::Peripherals::steal() }; [INFO] [stdout] | ^^^ use of undeclared crate or module `pac` [INFO] [stdout] | [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)]` on by default [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)]` 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] 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] error: aborting due to 10 previous errors; 1 warning emitted [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] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [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 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tim-systick-monotonic` (lib test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "980ef9a29b9c3cb3aa991befc6a5df7122c49e306f24f0f88db08471000d6fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980ef9a29b9c3cb3aa991befc6a5df7122c49e306f24f0f88db08471000d6fea", kill_on_drop: false }` [INFO] [stdout] 980ef9a29b9c3cb3aa991befc6a5df7122c49e306f24f0f88db08471000d6fea