[INFO] cloning repository https://github.com/markhakansson/nucleo64-rtic-blinking-led [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markhakansson/nucleo64-rtic-blinking-led" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkhakansson%2Fnucleo64-rtic-blinking-led", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkhakansson%2Fnucleo64-rtic-blinking-led'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f345fd46ecda5bf949471ab7421d7fef01378f52 [INFO] checking markhakansson/nucleo64-rtic-blinking-led against try#35b6491ce6d2b388d0a5de1e59e2123604af807f for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkhakansson%2Fnucleo64-rtic-blinking-led" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/markhakansson/nucleo64-rtic-blinking-led on toolchain 35b6491ce6d2b388d0a5de1e59e2123604af807f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/markhakansson/nucleo64-rtic-blinking-led [INFO] finished tweaking git repo https://github.com/markhakansson/nucleo64-rtic-blinking-led [INFO] tweaked toml for git repo https://github.com/markhakansson/nucleo64-rtic-blinking-led written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/markhakansson/nucleo64-rtic-blinking-led 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" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "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 stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded as-slice v0.1.4 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded cortex-m v0.6.4 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.5 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded rtt-target v0.3.0 [INFO] [stderr] Downloaded stm32f4 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46789cff42e9f5f30a9127bec7c21f7a54d85d17d8d9d02d4b7c1c4d9fdaa076 [INFO] running `Command { std: "docker" "start" "-a" "46789cff42e9f5f30a9127bec7c21f7a54d85d17d8d9d02d4b7c1c4d9fdaa076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46789cff42e9f5f30a9127bec7c21f7a54d85d17d8d9d02d4b7c1c4d9fdaa076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46789cff42e9f5f30a9127bec7c21f7a54d85d17d8d9d02d4b7c1c4d9fdaa076", kill_on_drop: false }` [INFO] [stdout] 46789cff42e9f5f30a9127bec7c21f7a54d85d17d8d9d02d4b7c1c4d9fdaa076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 862623c6978ae84b5a8d6fdb40db5ddde40c034864385b8711d4d846b237b28d [INFO] running `Command { std: "docker" "start" "-a" "862623c6978ae84b5a8d6fdb40db5ddde40c034864385b8711d4d846b237b28d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling nucleo-rtic-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking rtt-target v0.3.0 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Checking stm32f4xx-hal v0.8.3 [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/blinky.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rtic::cyccnt::{Instant, U32Ext}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/addition.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use rtic::cyccnt::U32Ext; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rtic::cyccnt::{Instant, U32Ext}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/blinky-bkpt.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rtic::cyccnt::{Instant, U32Ext}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/blinky.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> src/main.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> examples/blinky-bkpt.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | asm!("bkpt 255"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `asm` is imported here, but it is a module, not a macro [INFO] [stdout] --> examples/blinky-bkpt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cortex_m::asm; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> examples/blinky-bkpt.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | asm!("bkpt 1"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `asm` is imported here, but it is a module, not a macro [INFO] [stdout] --> examples/blinky-bkpt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cortex_m::asm; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/addition.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/blinky-bkpt.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/blinky-bkpt.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `rtic::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/blinky-bkpt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky-bkpt.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | cx.schedule.led_on(cx.start + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `rtic::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky-bkpt.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | cx.schedule.led_off(cx.scheduled + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky-bkpt.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | cx.schedule.led_on(cx.scheduled + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> src/main.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | cx.schedule.led_on(cx.start + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> src/main.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | cx.schedule.led_off(cx.scheduled + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> src/main.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | cx.schedule.led_on(cx.scheduled + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nucleo-rtic-examples` (example "blinky-bkpt") due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nucleo-rtic-examples` (bin "nucleo-rtic-examples") due to 6 previous errors; 1 warning emitted [INFO] [stdout] error: declaration of a `no_mangle` function [INFO] [stdout] --> examples/blinky.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/blinky.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(unsafe_code)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: declaration of a `no_mangle` function [INFO] [stdout] --> examples/blinky.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: declaration of a `no_mangle` function [INFO] [stdout] --> examples/blinky.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/blinky.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `rtic::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | cx.schedule.led_on(cx.start + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | cx.schedule.led_off(cx.scheduled + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/blinky.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | cx.schedule.led_on(cx.scheduled + PERIOD.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> examples/addition.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `rtic::app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `rtic::app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/addition.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | cx.schedule.t1(cx.start + 100_000.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/addition.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | cx.schedule.t2(cx.start + 200_000.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nucleo-rtic-examples` (example "blinky") due to 9 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nucleo-rtic-examples` (example "addition") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "862623c6978ae84b5a8d6fdb40db5ddde40c034864385b8711d4d846b237b28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862623c6978ae84b5a8d6fdb40db5ddde40c034864385b8711d4d846b237b28d", kill_on_drop: false }` [INFO] [stdout] 862623c6978ae84b5a8d6fdb40db5ddde40c034864385b8711d4d846b237b28d