[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] 97c723ee9a3e036feed12b1348721b388e65e2ba [INFO] checking cwruRobotics/Magnetic_Encoder_Rust_Fw against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcwruRobotics%2FMagnetic_Encoder_Rust_Fw" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/stm32-rs/stm32f1xx-hal` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded bitrate v0.1.1 [INFO] [stderr] Downloaded defmt-macros v0.1.1 [INFO] [stderr] Downloaded semver-parser v0.10.2 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded indexmap v1.6.1 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded cortex-m v0.7.1 [INFO] [stderr] Downloaded syn v1.0.60 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded defmt v0.1.3 [INFO] [stderr] Downloaded bxcan v0.4.0 [INFO] [stderr] Downloaded usb-device v0.2.7 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded stm32-usbd v0.5.1 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded asm-delay v0.9.0 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded defmt-rtt v0.1.0 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded as-slice v0.1.4 [INFO] [stderr] Downloaded defmt-parser v0.1.0 [INFO] [stderr] Downloaded hash32 v0.1.1 [INFO] [stderr] Downloaded embedded-can v0.3.0 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d01334cfbad5893053e8b66dd1db292dacd041905730db79148af3783e2312d [INFO] running `Command { std: "docker" "start" "-a" "4d01334cfbad5893053e8b66dd1db292dacd041905730db79148af3783e2312d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d01334cfbad5893053e8b66dd1db292dacd041905730db79148af3783e2312d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d01334cfbad5893053e8b66dd1db292dacd041905730db79148af3783e2312d", kill_on_drop: false }` [INFO] [stdout] 4d01334cfbad5893053e8b66dd1db292dacd041905730db79148af3783e2312d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17ca48884e0b7f776adb6c002f65f10d2be3b91c75d925e0292459ca1959eca0 [INFO] running `Command { std: "docker" "start" "-a" "17ca48884e0b7f776adb6c002f65f10d2be3b91c75d925e0292459ca1959eca0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [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] Checking vcell v0.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling stm32-usbd v0.5.1 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking embedded-can v0.3.0 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking bitrate v0.1.1 [INFO] [stderr] Compiling mag_encoder_firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rtic-core v0.3.1 [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] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking asm-delay v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [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 defmt v0.1.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling defmt-macros v0.1.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Checking bxcan v0.4.0 [INFO] [stderr] Checking defmt-rtt v0.1.0 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 (https://github.com/stm32-rs/stm32f1xx-hal?branch=master#0f367e60) [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ------ the item is gated here [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ------ the item is gated here [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ------ the item is gated here [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [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: 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] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-rtic-0.5.5/src/lib.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(armv7m)] [INFO] [stdout] | ------ the item is gated here [INFO] [stdout] 57 | pub mod cyccnt; [INFO] [stdout] | ^^^^^^ [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] 87 | fn allocate_tx_frame(frame: bxcan::Frame) -> Box { [INFO] [stdout] | ++++++++++++++ [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] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lang_items, panic_info_message, num_as_ne_bytes)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-error` [INFO] [stdout] --> src/spi_ext.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | defmt::debug_assert!(!err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-warn` [INFO] [stdout] --> src/spi_ext.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | defmt::debug_assert!(!err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/spi_ext.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | defmt::debug_assert!(!err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-error` [INFO] [stdout] --> src/spi_ext.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | defmt::debug_assert!((ctrl >> 14) & 1 == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-warn` [INFO] [stdout] --> src/spi_ext.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | defmt::debug_assert!((ctrl >> 14) & 1 == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/spi_ext.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | defmt::debug_assert!((ctrl >> 14) & 1 == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-error` [INFO] [stdout] --> src/main.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | defmt::debug_assert!(idx < 16 && idx >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-warn` [INFO] [stdout] --> src/main.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | defmt::debug_assert!(idx < 16 && idx >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | defmt::debug_assert!(idx < 16 && idx >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::debug_assert` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::debug_assert` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | defmt::info!("Setting encoder count to {:i32}", ticks); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::info` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:565:17 [INFO] [stdout] | [INFO] [stdout] 565 | defmt::info!("Setting inversion to: {:bool}", inv); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::info` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | defmt::info!("Recieved request frame"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::info` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | defmt::info!("Setting offset to {:u16}", offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::info` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | defmt::info!("Sent Frame: {:?}", sent_frame.unwrap().deref().0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::info` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::info` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [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] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-error` [INFO] [stdout] --> src/main.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | / defmt::error!( [INFO] [stdout] 665 | | "Panic: \"{:?}\" \nin file {:str} at line {:u32}", [INFO] [stdout] 666 | | Debug2Format::(info.message().unwrap()), [INFO] [stdout] 667 | | info.location().unwrap().file(), [INFO] [stdout] 668 | | info.location().unwrap().line() [INFO] [stdout] 669 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::error` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::error` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-warn` [INFO] [stdout] --> src/main.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | / defmt::error!( [INFO] [stdout] 665 | | "Panic: \"{:?}\" \nin file {:str} at line {:u32}", [INFO] [stdout] 666 | | Debug2Format::(info.message().unwrap()), [INFO] [stdout] 667 | | info.location().unwrap().file(), [INFO] [stdout] 668 | | info.location().unwrap().line() [INFO] [stdout] 669 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::error` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::error` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `defmt-info` [INFO] [stdout] --> src/main.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | / defmt::error!( [INFO] [stdout] 665 | | "Panic: \"{:?}\" \nin file {:str} at line {:u32}", [INFO] [stdout] 666 | | Debug2Format::(info.message().unwrap()), [INFO] [stdout] 667 | | info.location().unwrap().file(), [INFO] [stdout] 668 | | info.location().unwrap().line() [INFO] [stdout] 669 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `defmt-debug`, `defmt-default`, `defmt-trace`, `has-5V`, and `wipe-mem` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `defmt::error` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `defmt::error` may come from an old version of the `defmt_macros` crate, try updating your dependency with `cargo update -p defmt_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `defmt::error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 657 | / fn core_panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 658 | | use core::fmt::Debug; [INFO] [stdout] ... | [INFO] [stdout] 670 | | loop {} [INFO] [stdout] 671 | | } [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [INFO] [stdout] = note: second definition in the local crate (`mag_encoder_firmware`) [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] Some errors have detailed explanations: E0152, E0412, E0432, E0433. [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` (bin "mag_encoder_firmware") due to 10 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "17ca48884e0b7f776adb6c002f65f10d2be3b91c75d925e0292459ca1959eca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ca48884e0b7f776adb6c002f65f10d2be3b91c75d925e0292459ca1959eca0", kill_on_drop: false }` [INFO] [stdout] 17ca48884e0b7f776adb6c002f65f10d2be3b91c75d925e0292459ca1959eca0