[INFO] cloning repository https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcwruRobotics%2FMagnetic_Encoder_Rust_Fw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcwruRobotics%2FMagnetic_Encoder_Rust_Fw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 126fe0b2f3680cb75062781afc93cd763579283e [INFO] checking cwruRobotics/Magnetic_Encoder_Rust_Fw against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcwruRobotics%2FMagnetic_Encoder_Rust_Fw" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw [INFO] finished tweaking git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw [INFO] tweaked toml for git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.5 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded defmt-parser v0.1.0 [INFO] [stderr] Downloaded bitrate v0.1.1 [INFO] [stderr] Downloaded asm-delay v0.9.0 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded defmt-rtt v0.1.0 [INFO] [stderr] Downloaded embedded-can v0.3.0 [INFO] [stderr] Downloaded defmt v0.1.3 [INFO] [stderr] Downloaded defmt-macros v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 118fc81263044d2ddb4383b6d50b5032ad2f08331118f312d9df5f2a1d3a55c7 [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" "118fc81263044d2ddb4383b6d50b5032ad2f08331118f312d9df5f2a1d3a55c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "118fc81263044d2ddb4383b6d50b5032ad2f08331118f312d9df5f2a1d3a55c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118fc81263044d2ddb4383b6d50b5032ad2f08331118f312d9df5f2a1d3a55c7", kill_on_drop: false }` [INFO] [stdout] 118fc81263044d2ddb4383b6d50b5032ad2f08331118f312d9df5f2a1d3a55c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeb687ecc6f82cf43ddb87597c835f0a79fee9c1f3057295e7478d62a93b579f [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" "aeb687ecc6f82cf43ddb87597c835f0a79fee9c1f3057295e7478d62a93b579f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.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 syn v1.0.60 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling stm32-usbd v0.5.1 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Checking bitrate v0.1.1 [INFO] [stderr] Checking rtic-core v0.3.1 [INFO] [stderr] Compiling mag_encoder_firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking volatile v0.3.0 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-can v0.3.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking asm-delay v0.9.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling defmt v0.1.3 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling defmt-macros v0.1.1 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Checking bxcan v0.4.0 (https://github.com/stm32-rs/bxcan#52ac30cb) [INFO] [stderr] Checking defmt-rtt v0.1.0 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 (https://github.com/timokroeger/stm32f1xx-hal?branch=bxcan#fb2d0ec6) [INFO] [stdout] error[E0583]: file not found for module `can_types` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod can_types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `can_types`, create file "src/can_types.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `error_codes` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod error_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `error_codes`, create file "src/error_codes.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `spi_ext` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod spi_ext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `spi_ext`, create file "src/spi_ext.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> src/memory.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use rtic::cyccnt::Instant; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> src/memory.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use rtic::cyccnt::U32Ext as _; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use rtic::cyccnt::{Duration, Instant, U32Ext as _}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spi_ext::Address` [INFO] [stdout] --> src/main.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | use spi_ext::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Address` in `spi_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spi_ext::SpiExt` [INFO] [stdout] --> src/main.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | use spi_ext::SpiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `SpiExt` in `spi_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `can_types::IntoWithId` [INFO] [stdout] --> src/main.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | use can_types::IntoWithId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `IntoWithId` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `can_types::IntoWithId` [INFO] [stdout] --> src/main.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | use can_types::IntoWithId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `IntoWithId` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spi_ext::Address` [INFO] [stdout] --> src/main.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | use spi_ext::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Address` in `spi_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spi_ext::SpiExt` [INFO] [stdout] --> src/main.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 486 | use spi_ext::SpiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `SpiExt` in `spi_ext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `can_types::IncomingFrame` [INFO] [stdout] --> src/main.rs:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | use can_types::IncomingFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `IncomingFrame` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `can_types::IncomingFrame` [INFO] [stdout] --> src/main.rs:553:24 [INFO] [stdout] | [INFO] [stdout] 553 | use can_types::IncomingFrame::*; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `IncomingFrame` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `pool` in `heapless` [INFO] [stdout] --> src/main.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | heapless::pool!( [INFO] [stdout] | ^^^^ could not find `pool` in `heapless` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CanFramePool` [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let b = CanFramePool::alloc().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CanFramePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CanFramePool` [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | CanFramePool::grow(cortex_m::singleton!(: [u8;1024] = [0; 1024]).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CanFramePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OutgoingFrame` in `can_types` [INFO] [stdout] --> src/main.rs:463:40 [INFO] [stdout] | [INFO] [stdout] 463 | ... can_types::OutgoingFrame::Error(2).into_with_id(*cx.resources.can_id), [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `OutgoingFrame` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OutgoingFrame` in `can_types` [INFO] [stdout] --> src/main.rs:496:28 [INFO] [stdout] | [INFO] [stdout] 496 | can_types::OutgoingFrame::Update { [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `OutgoingFrame` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OutgoingFrame` in `can_types` [INFO] [stdout] --> src/main.rs:512:32 [INFO] [stdout] | [INFO] [stdout] 512 | can_types::OutgoingFrame::Error(1).into_with_id(*cx.resources.can_id), [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `OutgoingFrame` in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> src/main.rs:97:72 [INFO] [stdout] | [INFO] [stdout] 97 | #[app(device=stm32f1xx_hal::stm32, peripherals = true, monotonic=rtic::cyccnt::CYCCNT)] [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CanFramePool` in this scope [INFO] [stdout] --> src/main.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | fn allocate_tx_frame(frame: bxcan::Frame) -> Box { [INFO] [stdout] | - ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PriorityFrame` in module `can_types` [INFO] [stdout] --> src/main.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | b.init(can_types::PriorityFrame(frame)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `can_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SetTicks` in this scope [INFO] [stdout] --> src/main.rs:558:16 [INFO] [stdout] | [INFO] [stdout] 558 | Ok(SetTicks(ticks)) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Invert` in this scope [INFO] [stdout] --> src/main.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | Ok(Invert(inv)) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `SetAbsOffset` in this scope [INFO] [stdout] --> src/main.rs:569:16 [INFO] [stdout] | [INFO] [stdout] 569 | Ok(SetAbsOffset(offset)) => { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CanFramePool` in this scope [INFO] [stdout] --> src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | Box, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:655:1 [INFO] [stdout] | [INFO] [stdout] 655 | fn core_panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `defmt` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6f5658153d127ddd.rlib [INFO] [stdout] = note: second definition in the local crate (`mag_encoder_firmware`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/main.rs:677:1 [INFO] [stdout] | [INFO] [stdout] 677 | extern "C" fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b69e89b2ef7e009e.rlib [INFO] [stdout] = note: second definition in the local crate (`mag_encoder_firmware`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> src/main.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | cx.schedule.can_tx(now + CAN_TX_PD.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] --> src/main.rs:383:51 [INFO] [stdout] | [INFO] [stdout] 383 | cx.schedule.encoder_data(now + ABS_POS_PD.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] --> src/main.rs:386:46 [INFO] [stdout] | [INFO] [stdout] 386 | .update_leds(now + LED_UPDATE_PD.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] --> src/main.rs:536:55 [INFO] [stdout] | [INFO] [stdout] 536 | .encoder_data(Instant::now() + ABS_POS_PD.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] --> src/main.rs:546:57 [INFO] [stdout] | [INFO] [stdout] 546 | .update_leds(Instant::now() + LED_UPDATE_PD.cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `core::option::Option<_>` [INFO] [stdout] --> src/main.rs:585:36 [INFO] [stdout] | [INFO] [stdout] 585 | let can_ok = last_rx.lock(|last_rx| { [INFO] [stdout] | ^^^^^^^ consider giving this closure parameter the explicit type `core::option::Option<_>`, with the type parameters specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cycles` found for type `u32` in the current scope [INFO] [stdout] --> src/main.rs:588:46 [INFO] [stdout] | [INFO] [stdout] 588 | !(t.elapsed() > SYS_CLOCK_HZ.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] --> src/main.rs:619:48 [INFO] [stdout] | [INFO] [stdout] 619 | .can_tx(Instant::now() + CAN_TX_PD.cycles()) [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | #[app(device=stm32f1xx_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[E0282]: type annotations needed [INFO] [stdout] --> src/memory.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | last_op: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0282, E0412, E0425, E0432, E0433, E0531, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mag_encoder_firmware` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "aeb687ecc6f82cf43ddb87597c835f0a79fee9c1f3057295e7478d62a93b579f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb687ecc6f82cf43ddb87597c835f0a79fee9c1f3057295e7478d62a93b579f", kill_on_drop: false }` [INFO] [stdout] aeb687ecc6f82cf43ddb87597c835f0a79fee9c1f3057295e7478d62a93b579f