[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 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Decending/E7020E_tasks on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-13/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: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded usb-device v0.2.7 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.5 [INFO] [stderr] Downloaded panic-semihosting v0.5.6 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded cortex-m v0.7.1 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded stm32ral v0.3.1 [INFO] [stderr] Downloaded stm32f4 v0.13.0 [INFO] [stderr] Downloaded rtt-target v0.3.0 [INFO] [stderr] Downloaded synopsys-usb-otg v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af84672dc121d143e2ff430d1c85e7b1242c7ec461122e7ba802aa4b4e89ee5c [INFO] running `Command { std: "docker" "start" "-a" "af84672dc121d143e2ff430d1c85e7b1242c7ec461122e7ba802aa4b4e89ee5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af84672dc121d143e2ff430d1c85e7b1242c7ec461122e7ba802aa4b4e89ee5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af84672dc121d143e2ff430d1c85e7b1242c7ec461122e7ba802aa4b4e89ee5c", kill_on_drop: false }` [INFO] [stdout] af84672dc121d143e2ff430d1c85e7b1242c7ec461122e7ba802aa4b4e89ee5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c556562eb07c6ca6b27c0891b742bad9c30fe56b1115e7f12691d5a9131534f5 [INFO] running `Command { std: "docker" "start" "-a" "c556562eb07c6ca6b27c0891b742bad9c30fe56b1115e7f12691d5a9131534f5", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32ral v0.3.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling synopsys-usb-otg v0.1.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Compiling stm32f4 v0.13.0 [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking typenum v1.12.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rtt-target v0.2.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking panic-rtt-target v0.1.1 [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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Output`, `PushPull`, `gpioa::PA` [INFO] [stdout] --> examples/rtic_bare8.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | gpio::{gpioa::PA, Output, PushPull}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `asm::delay`, `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`, `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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtic_bare3.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use rtic::cyccnt::Instant; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: duplicate lang item in crate `panic_rtt_target`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `panic_semihosting` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target`. [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this resource has NOT been declared [INFO] [stdout] --> examples/rtt-pwm-sine.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | #[task(resources = [GPIOA], schedule = [toggle])] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `stm32f4xx_hal::dma` [INFO] [stdout] --> examples/rtt-pwm-sine.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use stm32f4xx_hal::{bb, dma, gpio::Speed, prelude::*, pwm, stm32}; [INFO] [stdout] | ^^^ no `dma` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: declaration of a `no_mangle` function [INFO] [stdout] --> examples/rtt-timing.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/rtt-timing.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(unsafe_code)] [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[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtic_blinky.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::f32::consts::PI` [INFO] [stdout] --> examples/rtt-pwm-sine.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`, `peripheral::DWT` [INFO] [stdout] --> examples/rtt-pwm-sine.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: `rprint`, `rprintln`, `rtt_init_print` [INFO] [stdout] --> examples/rtt-pwm-sine.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use rtt_target::{rprint, rprintln, rtt_init_print}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bb`, `gpio::Speed`, `prelude::*`, `pwm`, `stm32` [INFO] [stdout] --> examples/rtt-pwm-sine.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use stm32f4xx_hal::{bb, dma, gpio::Speed, prelude::*, pwm, stm32}; [INFO] [stdout] | ^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/rtic_blinky.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 21 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_rtt_target`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `panic_semihosting` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target`. [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtt_rtic_blinky.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/rtt_rtic_blinky.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `rtt_rtic_blinky` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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] [stdout] warning: associated function is never used: `modify` [INFO] [stdout] --> examples/rtic_bare5.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn modify(&self, offset: u8, width: u8, value: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_modify` [INFO] [stdout] --> examples/rtic_bare5.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn test_modify() { [INFO] [stdout] | ^^^^^^^^^^^ [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[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtic_bare7.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] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/rtic_bare7.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `asm`, `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: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/pmw3389.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32f4xx_hal::stm32` [INFO] [stdout] --> examples/rtic_bare7.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use stm32f4xx_hal::stm32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/pmw3389.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [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] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `rtic_bare7` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [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] [INFO] [stdout] warning: unused imports: `dwt::Dwt`, `rcc::Clocks`, `stm32` [INFO] [stdout] --> examples/pmw3389.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | dwt::Dwt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | rcc::Clocks, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | spi::Spi, [INFO] [stdout] 21 | stm32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `pmw3389` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `rtic_bare6` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usbd_hid` [INFO] [stdout] --> examples/Project_Mouse.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use usbd_hid::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `usbd_hid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usbd_hid` [INFO] [stdout] --> examples/Project_Mouse.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use usbd_hid::descriptor::SerializedDescriptor; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `usbd_hid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usbd_hid` [INFO] [stdout] --> examples/Project_Mouse.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use usbd_hid::descriptor::AsInputReport; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `usbd_hid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usbd_hid` [INFO] [stdout] --> examples/Project_Mouse.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use usbd_hid::descriptor::gen_hid_descriptor; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `usbd_hid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rtic::cyccnt`, `panic_rtt_target`, `rtt_target`, `usbd_hid::descriptor::MouseReport`, `usbd_hid::hid_class::HIDClass`, `usbd_hid::descriptor::SerializedDescriptor`, `usbd_hid::descriptor::AsInputReport`, `usbd_hid::descriptor::gen_hid_descriptor`, `super`, `super`, `super`, `super` [INFO] [stdout] --> examples/Project_Mouse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use panic_rtt_target as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | use rtt_target as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | descriptor::{generator_prelude::*, MouseReport}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | hid_class::HIDClass [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | use usbd_hid::descriptor::SerializedDescriptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | use usbd_hid::descriptor::AsInputReport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | use usbd_hid::descriptor::gen_hid_descriptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] ... [INFO] [stdout] 96 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: 5 warnings emitted [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] [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] [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] [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] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `rtt_rtic_usb_mouse` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_rtt_target`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> examples/rtt-pwm-sine-timer-task.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use rtic::cyccnt::{Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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`, `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`, `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: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `asm`, `peripheral::DWT` [INFO] [stdout] --> examples/rtt-pwm-sine-timer-task.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | 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-sine-timer-task.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pwm, stm32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `rtt_pwm_sine_task` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `gen_hid_descriptor` in this scope [INFO] [stdout] --> examples/Project_Mouse.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[gen_hid_descriptor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HIDClass` [INFO] [stdout] --> examples/Project_Mouse.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | let hid = HIDClass::new(USB_BUS.as_ref().unwrap(), PMouseReport::desc(), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HIDClass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> examples/Project_Mouse.rs:96:62 [INFO] [stdout] | [INFO] [stdout] 96 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `rtt_pwm_sine_timer_task` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDClass` in this scope [INFO] [stdout] --> examples/Project_Mouse.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | hid: HIDClass<'static, UsbBusType>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `asm::delay` [INFO] [stdout] --> examples/Project_Mouse.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use cortex_m::{asm::delay, peripheral::DWT}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpio` [INFO] [stdout] --> examples/Project_Mouse.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Register`, `pmw3389e` [INFO] [stdout] --> examples/Project_Mouse.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | use app::{DwtDelay, pmw3389::{self, Register}, pmw3389e}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dwt::Dwt`, `prelude::*`, `rcc::Clocks`, `stm32` [INFO] [stdout] --> examples/Project_Mouse.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | dwt::Dwt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | rcc::Clocks, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | spi::Spi, [INFO] [stdout] 68 | stm32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stm32f4xx_hal::nb::block` [INFO] [stdout] --> examples/Project_Mouse.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use stm32f4xx_hal::nb::block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> examples/Project_Mouse.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> examples/Project_Mouse.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | if (cx.resources.scl_plus.is_high().unwrap() && !*cx.resources.Scale_modify){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> examples/Project_Mouse.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 238 | if (cx.resources.scl_minus.is_high().unwrap() && !*cx.resources.Scale_modify){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_rtt_target` (which `Project_Mouse` depends on) [INFO] [stdout] = note: first definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-0b66843915973941.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std`. [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1a95cddb5b8aaf6b.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-be90995f81654c0e.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtt_rtic_blinky.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | cx.schedule.toggle(now + 8_000_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/rtic_blinky.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | cx.schedule.toggle(now + 8_000_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/rtt_rtic_blinky.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | .toggle(cx.scheduled + 8_000_000.cycles()) [INFO] [stdout] | ^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/rtt_rtic_blinky.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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[E0599]: no method named `cycles` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/rtic_blinky.rs:69:46 [INFO] [stdout] | [INFO] [stdout] 69 | .toggle(cx.scheduled + 8_000_000.cycles()) [INFO] [stdout] | ^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/rtic_blinky.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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[E0599]: no method named `cycles` found for type `{integer}` in the current scope [INFO] [stdout] --> examples/pmw3389.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | cx.schedule.poll(now + 16_000.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/pmw3389.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let (x, _y) = cx.resources.pmw3389.read_status().unwrap(); [INFO] [stdout] | ^^^^^^^ ------------------------------------------- this expression has type `()` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/rtic_bare7.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | 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/pmw3389.rs:125:51 [INFO] [stdout] | [INFO] [stdout] 125 | .poll(cx.scheduled + (RATIO * 16_000).cycles()) [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: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[E0282]: type annotations needed [INFO] [stdout] --> examples/pmw3389.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/rtic_bare7.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | cx.schedule.toggle(cx.scheduled + OFFSET.cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/rtic_bare7.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `desc` found for struct `PMouseReport` in the current scope [INFO] [stdout] --> examples/Project_Mouse.rs:158:74 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PMouseReport { [INFO] [stdout] | ----------------------- function or associated item `desc` not found for this [INFO] [stdout] ... [INFO] [stdout] 158 | let hid = HIDClass::new(USB_BUS.as_ref().unwrap(), PMouseReport::desc(), 1); [INFO] [stdout] | ^^^^ function or associated item not found in `PMouseReport` [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/Project_Mouse.rs:192:51 [INFO] [stdout] | [INFO] [stdout] 192 | cx.schedule.toggle_speed(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: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[E0308]: mismatched types [INFO] [stdout] --> examples/Project_Mouse.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let (x, y) = cx.resources.pmw3389.read_status().unwrap(); [INFO] [stdout] | ^^^^^^ ------------------------------------------- this expression has type `()` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> examples/Project_Mouse.rs:254:60 [INFO] [stdout] | [INFO] [stdout] 254 | cx.schedule.toggle_speed(cx.scheduled + ((OFFSET)).cycles()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/Project_Mouse.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | #[rtic::app(device = stm32f4xx_hal::stm32, monotonic = rtic::cyccnt::CYCCNT, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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: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[E0282]: type annotations needed [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [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]: the trait bound `Hertz: From<{integer}>` is not satisfied [INFO] [stdout] --> examples/rtt-pwm-sine-timer-task.rs:142:44 [INFO] [stdout] | [INFO] [stdout] 142 | let mut tim2: Timer = Timer::tim2(dp.TIM2, 48000, clocks); [INFO] [stdout] | ^^^^^^^^^^^ the trait `From<{integer}>` is not implemented for `Hertz` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/stm32f4xx-hal-0.8.3/src/timer.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | / hal! { [INFO] [stdout] 343 | | TIM2: (tim2, tim2en, tim2rst, apb1enr, apb1rstr, pclk1, ppre1), [INFO] [stdout] 344 | | TIM3: (tim3, tim3en, tim3rst, apb1enr, apb1rstr, pclk1, ppre1), [INFO] [stdout] 345 | | TIM4: (tim4, tim4en, tim4rst, apb1enr, apb1rstr, pclk1, ppre1), [INFO] [stdout] 346 | | TIM10: (tim10, tim10en, tim10rst, apb2enr, apb2rstr, pclk2, ppre2), [INFO] [stdout] 347 | | } [INFO] [stdout] | |_- required by this bound in `Timer::::tim2` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c556562eb07c6ca6b27c0891b742bad9c30fe56b1115e7f12691d5a9131534f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c556562eb07c6ca6b27c0891b742bad9c30fe56b1115e7f12691d5a9131534f5", kill_on_drop: false }` [INFO] [stdout] c556562eb07c6ca6b27c0891b742bad9c30fe56b1115e7f12691d5a9131534f5