[INFO] cloning repository https://github.com/Decending/E7020E_tasks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Decending/E7020E_tasks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2dcf6bcbe05895f4291bd029baabf59300d45ae [INFO] checking Decending/E7020E_tasks/f2dcf6bcbe05895f4291bd029baabf59300d45ae against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Decending/E7020E_tasks 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 git repo https://github.com/Decending/E7020E_tasks [INFO] finished tweaking git repo https://github.com/Decending/E7020E_tasks [INFO] tweaked toml for git repo https://github.com/Decending/E7020E_tasks written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Decending/E7020E_tasks 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-rtt-target v0.1.1 [INFO] [stderr] Downloaded usb-device v0.2.7 [INFO] [stderr] Downloaded rtt-target v0.2.2 [INFO] [stderr] Downloaded synopsys-usb-otg v0.1.0 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded rtt-target v0.3.0 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.5 [INFO] [stderr] Downloaded cortex-m v0.7.1 [INFO] [stderr] Downloaded stm32ral v0.3.1 [INFO] [stderr] Downloaded stm32f4 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3f88684e86f654243f795af2c370478d7389a1889b96c8ab3a36b2e64f4822ac [INFO] running `Command { std: "docker" "start" "-a" "3f88684e86f654243f795af2c370478d7389a1889b96c8ab3a36b2e64f4822ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f88684e86f654243f795af2c370478d7389a1889b96c8ab3a36b2e64f4822ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f88684e86f654243f795af2c370478d7389a1889b96c8ab3a36b2e64f4822ac", kill_on_drop: false }` [INFO] [stdout] 3f88684e86f654243f795af2c370478d7389a1889b96c8ab3a36b2e64f4822ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3877e548c404eeef8f8e33375128fc7207e9714ca7784637933e6324ad01744e [INFO] running `Command { std: "docker" "start" "-a" "3877e548c404eeef8f8e33375128fc7207e9714ca7784637933e6324ad01744e", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32ral v0.3.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling synopsys-usb-otg v0.1.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling stm32f4 v0.13.0 [INFO] [stderr] Checking rtt-target v0.2.2 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [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] Checking panic-rtt-target v0.1.1 [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: 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: unused imports: `asm::delay` and `delay` [INFO] [stdout] --> examples/rtt_rtic_i2c.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use cortex_m::{asm::delay, delay}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AF4`, `AlternateOD`, `Edge`, `ExtiPin`, `Input`, `PB8`, `PB9`, `PullUp`, `Speed`, `gpioc::PC13`, and `stm32::I2C1` [INFO] [stdout] --> examples/rtt_rtic_i2c.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | gpiob::{PB8, PB9}, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 16 | gpioc::PC13, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | AlternateOD, Edge, ExtiPin, Input, PullUp, Speed, AF4, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | stm32::I2C1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Register` [INFO] [stdout] --> examples/rtt_rtic_i2c.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pmw3389e::{self, Register}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtic_bare6.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use rtic::cyccnt::{Instant, U32Ext as _}; [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-6f17d22bba15001f/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-6f17d22bba15001f/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: 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[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtt_rtic_usb_mouse.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use rtic::cyccnt::{Instant, U32Ext as _}; [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-6f17d22bba15001f/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-6f17d22bba15001f/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: unused variable: `offset` [INFO] [stdout] --> examples/rtic_bare5.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modify(&self, offset: u8, width: u8, value: u32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> examples/rtic_bare5.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modify(&self, offset: u8, width: u8, value: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> examples/rtic_bare5.rs:60:53 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modify(&self, offset: u8, width: u8, value: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtic_crash") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `test_modify` is never used [INFO] [stdout] --> examples/rtic_bare5.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn test_modify() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `modify` is never used [INFO] [stdout] --> examples/rtic_bare5.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 58 | impl VolatileCell { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 59 | #[inline(always)] [INFO] [stdout] 60 | pub fn modify(&self, offset: u8, width: u8, value: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pmw3389` [INFO] [stdout] --> examples/rtt_rtic_i2c.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let pmw3389 = pmw3389e::Pmw3389e::new(spi_emu, delay).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pmw3389` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtic_bare9.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut received = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtic_bare9.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut errors = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> examples/rtic_bare9.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtic_bare9.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut received = cx.resources.Received; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/rtic_bare9.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut errors = cx.resources.Errors; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f4xx_hal::dma` [INFO] [stdout] --> examples/rtt-pwm-dma.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use stm32f4xx_hal::{bb, dma, gpio::Speed, prelude::*, pwm, stm32}; [INFO] [stdout] | ^^^ no `dma` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/rtic_bare6.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | #[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-6f17d22bba15001f/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-6f17d22bba15001f/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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtt_rtic_i2c") due to 2 previous errors; 4 warnings emitted [INFO] [stdout] warning: unused imports: `asm` and `peripheral::DWT` [INFO] [stdout] --> examples/rtt-pwm-dma.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use cortex_m::{asm, peripheral::DWT}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pwm` [INFO] [stdout] --> examples/rtt-pwm-dma.rs:12:55 [INFO] [stdout] | [INFO] [stdout] 12 | use stm32f4xx_hal::{bb, dma, gpio::Speed, prelude::*, pwm, stm32}; [INFO] [stdout] | ^^^ [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] [stderr] error: could not compile `app` (example "rtic_bare9") due to 2 previous errors; 5 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/rtt_rtic_usb_mouse.rs:207:82 [INFO] [stdout] | [INFO] [stdout] 207 | #[rtic::app(device = stm32f4xx_hal::stm32, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] [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-6f17d22bba15001f/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-6f17d22bba15001f/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/rtt-pwm-sine-task.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use rtic::cyccnt::{Instant, U32Ext as _}; [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-6f17d22bba15001f/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-6f17d22bba15001f/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 `stm32f4xx_hal::dma` [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f4xx_hal::{bb, dma, gpio::Speed, prelude::*, pwm, stm32}; [INFO] [stdout] | ^^^ no `dma` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:20:63 [INFO] [stdout] | [INFO] [stdout] 20 | #[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-6f17d22bba15001f/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-6f17d22bba15001f/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: unused variable: `channels` [INFO] [stdout] --> examples/rtt-pwm-dma.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let channels = ( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtt-pwm-dma") due to 3 previous errors; 3 warnings emitted [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: 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: unused import: `core::f32::consts::PI` [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `asm` and `peripheral::DWT` [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use cortex_m::{asm, peripheral::DWT}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bb` and `pwm` [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f4xx_hal::{bb, dma, gpio::Speed, prelude::*, pwm, stm32}; [INFO] [stdout] | ^^ ^^^ [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/rtic_bare6.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | cx.schedule.toggle(now + OFFSET.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/rtt_rtic_usb_mouse.rs:266:47 [INFO] [stdout] | [INFO] [stdout] 266 | cx.schedule.on_tick(cx.start + PERIOD.cycles()).ok(); [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/rtic_bare6.rs:107:50 [INFO] [stdout] | [INFO] [stdout] 107 | cx.schedule.toggle(cx.scheduled + OFFSET.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/rtt_rtic_usb_mouse.rs:287:53 [INFO] [stdout] | [INFO] [stdout] 287 | cx.schedule.on_tick(Instant::now() + PERIOD.cycles()).ok(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [INFO] [stdout] --> examples/rtic_bare6.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FnOnce`: [INFO] [stdout] &F [INFO] [stdout] &mut F [INFO] [stdout] note: required by a bound in `rtic::export::lock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-rtic-0.5.5/src/export.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 150 | pub unsafe fn lock( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 155 | f: impl FnOnce(&mut T) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `lock` [INFO] [stdout] = note: this error 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[E0277]: expected a `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [INFO] [stdout] --> examples/rtt_rtic_usb_mouse.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | #[rtic::app(device = stm32f4xx_hal::stm32, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FnOnce`: [INFO] [stdout] &F [INFO] [stdout] &mut F [INFO] [stdout] note: required by a bound in `rtic::export::lock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-rtic-0.5.5/src/export.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 150 | pub unsafe fn lock( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 155 | f: impl FnOnce(&mut T) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `lock` [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> examples/rtic_bare6.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | .modify(|_, w| unsafe { w.mco2().sysclk().mco2pre().div4() }); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtic_bare6") due to 7 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `app` (example "rtt_rtic_usb_mouse") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | cx.schedule.pwm_out(cx.start + PERIOD.cycles()).ok(); [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/rtt-pwm-sine-task.rs:163:51 [INFO] [stdout] | [INFO] [stdout] 163 | cx.schedule.pwm_out(cx.scheduled + PERIOD.cycles()).ok(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | if cx.scheduled.elapsed() > 300.cycles() { [INFO] [stdout] | ^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [INFO] [stdout] --> examples/rtt-pwm-sine-task.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FnOnce`: [INFO] [stdout] &F [INFO] [stdout] &mut F [INFO] [stdout] note: required by a bound in `rtic::export::lock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cortex-m-rtic-0.5.5/src/export.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 150 | pub unsafe fn lock( [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 155 | f: impl FnOnce(&mut T) -> R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `lock` [INFO] [stdout] = note: this error 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: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtt-pwm-sine-task") due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3877e548c404eeef8f8e33375128fc7207e9714ca7784637933e6324ad01744e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3877e548c404eeef8f8e33375128fc7207e9714ca7784637933e6324ad01744e", kill_on_drop: false }` [INFO] [stdout] 3877e548c404eeef8f8e33375128fc7207e9714ca7784637933e6324ad01744e