[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] bc525688cb51e7fb655763010a6b56ec73f27551 [INFO] checking Decending/E7020E_tasks against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDecending%2FE7020E_tasks" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Decending/E7020E_tasks on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-1/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9afcc2a8149e3fe353b080bad94f9323bf81792daf0daa94bba7b9f7a73a479c [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" "9afcc2a8149e3fe353b080bad94f9323bf81792daf0daa94bba7b9f7a73a479c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9afcc2a8149e3fe353b080bad94f9323bf81792daf0daa94bba7b9f7a73a479c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9afcc2a8149e3fe353b080bad94f9323bf81792daf0daa94bba7b9f7a73a479c", kill_on_drop: false }` [INFO] [stdout] 9afcc2a8149e3fe353b080bad94f9323bf81792daf0daa94bba7b9f7a73a479c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 568678e3603783031795ba05b17e592caa4dd6c3cc54818be311d16b3cbac1ba [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" "568678e3603783031795ba05b17e592caa4dd6c3cc54818be311d16b3cbac1ba", kill_on_drop: false }` [INFO] [stderr] Compiling cortex-m v0.7.1 [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] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32ral v0.3.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling synopsys-usb-otg v0.1.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 generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking rtt-target v0.2.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking typenum v1.12.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 embedded-hal v0.2.4 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking panic-itm v0.4.2 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking heapless v0.5.6 [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] [stderr] error: could not compile `app` [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[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: 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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-24659b27b9400c41.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-24659b27b9400c41.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-c146e18e710f8a12.rmeta [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 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[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[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[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::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] 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 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: 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-24659b27b9400c41.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-c146e18e710f8a12.rmeta [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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-24659b27b9400c41.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-24659b27b9400c41.rmeta [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-c146e18e710f8a12.rmeta [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: 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[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] 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/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] 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: aborting due to 2 previous errors [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-24659b27b9400c41.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-c146e18e710f8a12.rmeta [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning 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: aborting due to previous error; 3 warnings emitted [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: 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-c146e18e710f8a12.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_rtt_target` loaded from /opt/rustwide/target/debug/deps/libpanic_rtt_target-24659b27b9400c41.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] 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[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_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-24659b27b9400c41.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-c146e18e710f8a12.rmeta [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[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/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: 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-24659b27b9400c41.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.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/b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3d933644112ba794.rlib [INFO] [stdout] = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-c146e18e710f8a12.rmeta [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 an attribute macro (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_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[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/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 an attribute macro (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[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 an attribute macro (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/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 an attribute macro (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[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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [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[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" "568678e3603783031795ba05b17e592caa4dd6c3cc54818be311d16b3cbac1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568678e3603783031795ba05b17e592caa4dd6c3cc54818be311d16b3cbac1ba", kill_on_drop: false }` [INFO] [stdout] 568678e3603783031795ba05b17e592caa4dd6c3cc54818be311d16b3cbac1ba