[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#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Decending/E7020E_tasks on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4953fed9aaf53600b6222f7902f4bed78b594c2e4f4ab1fbf0b65b3c4fc3963 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4953fed9aaf53600b6222f7902f4bed78b594c2e4f4ab1fbf0b65b3c4fc3963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4953fed9aaf53600b6222f7902f4bed78b594c2e4f4ab1fbf0b65b3c4fc3963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4953fed9aaf53600b6222f7902f4bed78b594c2e4f4ab1fbf0b65b3c4fc3963", kill_on_drop: false }` [INFO] [stdout] b4953fed9aaf53600b6222f7902f4bed78b594c2e4f4ab1fbf0b65b3c4fc3963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7f3027984d7cc71f90ba4ea5eb1fe6ee85743f86fe8613278d31916902e0eed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b7f3027984d7cc71f90ba4ea5eb1fe6ee85743f86fe8613278d31916902e0eed", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling stm32ral v0.3.1 [INFO] [stderr] Compiling synopsys-usb-otg v0.1.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stm32f4 v0.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rtt-target v0.2.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.60 [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 as-slice v0.1.4 [INFO] [stderr] Checking panic-semihosting v0.5.6 [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 cortex-m-rt v0.6.13 [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] 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] [stderr] error: could not compile `app` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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[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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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: 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: language item required, but not found: `eh_personality` [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 `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] [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: aborting due to 2 previous errors [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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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] 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: 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[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: 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-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 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[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: 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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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: language item required, but not found: `eh_personality` [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[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] 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: 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] 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: 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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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] 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: 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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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/ddfd70ee3c3748e597b32f416b0d15a4f6e37685/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.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 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: 5 warnings emitted [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/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[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 [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 `{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 `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_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/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: 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 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[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 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" "b7f3027984d7cc71f90ba4ea5eb1fe6ee85743f86fe8613278d31916902e0eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f3027984d7cc71f90ba4ea5eb1fe6ee85743f86fe8613278d31916902e0eed", kill_on_drop: false }` [INFO] [stdout] b7f3027984d7cc71f90ba4ea5eb1fe6ee85743f86fe8613278d31916902e0eed