[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Decending/E7020E_tasks on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synopsys-usb-otg v0.1.0 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded as-slice v0.1.4 [INFO] [stderr] Downloaded usb-device v0.2.7 [INFO] [stderr] Downloaded panic-itm v0.4.2 [INFO] [stderr] Downloaded panic-semihosting v0.5.6 [INFO] [stderr] Downloaded panic-rtt-target v0.1.1 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.7 [INFO] [stderr] Downloaded rtt-target v0.2.2 [INFO] [stderr] Downloaded rtt-target v0.3.0 [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.11.0 [INFO] [stderr] Downloaded stm32f4 v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6010fa0add93f630477edba10e3c5576341e03e91d286f7fc9f02585cef0a8e9 [INFO] running `Command { std: "docker" "start" "-a" "6010fa0add93f630477edba10e3c5576341e03e91d286f7fc9f02585cef0a8e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6010fa0add93f630477edba10e3c5576341e03e91d286f7fc9f02585cef0a8e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6010fa0add93f630477edba10e3c5576341e03e91d286f7fc9f02585cef0a8e9", kill_on_drop: false }` [INFO] [stdout] 6010fa0add93f630477edba10e3c5576341e03e91d286f7fc9f02585cef0a8e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c1ce0bd03b81974f89f01880b0377e7671286f9e9a39bd5c7b54783db34300c [INFO] running `Command { std: "docker" "start" "-a" "4c1ce0bd03b81974f89f01880b0377e7671286f9e9a39bd5c7b54783db34300c", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cortex-m v0.7.1 [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 stable_deref_trait v1.2.0 [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] Checking r0 v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling stm32ral v0.3.1 [INFO] [stderr] Checking typenum v1.12.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling synopsys-usb-otg v0.1.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [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] 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-halt v0.2.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking panic-itm v0.4.2 [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 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] warning: the item `stm32f4` is imported redundantly [INFO] [stdout] --> examples/itm_rtic_hello.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32f4; [INFO] [stdout] | ^^^^^^^ the item `stm32f4` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stm32f4` is imported redundantly [INFO] [stdout] --> examples/rtic_crash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use stm32f4; [INFO] [stdout] | ^^^^^^^ the item `stm32f4` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stm32f4` is imported redundantly [INFO] [stdout] --> examples/rtic_bare1.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use stm32f4; [INFO] [stdout] | ^^^^^^^ the item `stm32f4` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stm32f4` is imported redundantly [INFO] [stdout] --> examples/rtic_panic.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use stm32f4; [INFO] [stdout] | ^^^^^^^ the item `stm32f4` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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] 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] [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: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stm32f4` is imported redundantly [INFO] [stdout] --> examples/rtt_rtic_hello.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use stm32f4; [INFO] [stdout] | ^^^^^^^ the item `stm32f4` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stm32f4` is imported redundantly [INFO] [stdout] --> examples/rtic_bare2.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use stm32f4; [INFO] [stdout] | ^^^^^^^ the item `stm32f4` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtic_crash") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "itm_rtic_hello") due to 2 previous errors; 1 warning emitted [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] 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] [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] [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] 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtt_rtic_hello") due to 2 previous errors; 1 warning emitted [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] 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] [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[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 import `rtic::cyccnt` [INFO] [stdout] --> examples/Project_Mouse.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | 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] [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (example "rtt-pwm-saw") due to 2 previous errors [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] 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] 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] [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; 5 warnings emitted [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] [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] [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] 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: 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[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] 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] [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] 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] [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[E0277]: the trait bound `Hertz: From<{integer}>` is not satisfied [INFO] [stdout] --> examples/rtt-pwm-sine-timer-task.rs:142:65 [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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] note: required by a bound in `Timer::::tim2` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] | | ---- required by a bound in this associated function [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] = note: this error originates in the macro `hal` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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: aborting due to 3 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: could not compile `app` (example "rtt-pwm-sine-timer-task") due to 4 previous errors; 2 warnings emitted [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] 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] 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - if (cx.resources.scl_plus.is_high().unwrap() && !*cx.resources.Scale_modify){ [INFO] [stdout] 227 + if cx.resources.scl_plus.is_high().unwrap() && !*cx.resources.Scale_modify { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - if (cx.resources.scl_minus.is_high().unwrap() && !*cx.resources.Scale_modify){ [INFO] [stdout] 238 + if cx.resources.scl_minus.is_high().unwrap() && !*cx.resources.Scale_modify { [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: 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] 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[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[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 struct [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[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 `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(_, _)` [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_blinky.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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_rtic_blinky") due to 8 previous errors [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/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: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/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[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 `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] 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: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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[E0277]: expected a `FnOnce(&mut _)` closure, found `impl FnOnce(&mut rtic::export::TimerQueue) -> R` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] 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] [stderr] error: could not compile `app` (example "pmw3389") due to 9 previous errors; 1 warning emitted [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] error: aborting due to 13 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] [stderr] error: could not compile `app` (example "Project_Mouse") due to 14 previous errors; 8 warnings emitted [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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_rtic_usb_mouse") due to 8 previous errors [INFO] [stderr] error: could not compile `app` (example "rtic_bare6") due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4c1ce0bd03b81974f89f01880b0377e7671286f9e9a39bd5c7b54783db34300c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1ce0bd03b81974f89f01880b0377e7671286f9e9a39bd5c7b54783db34300c", kill_on_drop: false }` [INFO] [stdout] 4c1ce0bd03b81974f89f01880b0377e7671286f9e9a39bd5c7b54783db34300c [INFO] checking Decending/E7020E_tasks against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Decending/E7020E_tasks on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-3-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16d3d51856fc06686a61cee7e0b2082b9dcac332cbe14db1eea2e36e3d8fd365 [INFO] running `Command { std: "docker" "start" "-a" "16d3d51856fc06686a61cee7e0b2082b9dcac332cbe14db1eea2e36e3d8fd365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d3d51856fc06686a61cee7e0b2082b9dcac332cbe14db1eea2e36e3d8fd365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d3d51856fc06686a61cee7e0b2082b9dcac332cbe14db1eea2e36e3d8fd365", kill_on_drop: false }` [INFO] [stdout] 16d3d51856fc06686a61cee7e0b2082b9dcac332cbe14db1eea2e36e3d8fd365 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26ba00c4774908dadb9b59698a6a5828b3b4911186e1cd445ba2fcb43d79a11c [INFO] running `Command { std: "docker" "start" "-a" "26ba00c4774908dadb9b59698a6a5828b3b4911186e1cd445ba2fcb43d79a11c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "26ba00c4774908dadb9b59698a6a5828b3b4911186e1cd445ba2fcb43d79a11c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ba00c4774908dadb9b59698a6a5828b3b4911186e1cd445ba2fcb43d79a11c", kill_on_drop: false }` [INFO] [stdout] 26ba00c4774908dadb9b59698a6a5828b3b4911186e1cd445ba2fcb43d79a11c