[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] 5334682fcd4820ac7d75a2038d14f8562a96b521 [INFO] checking cwruRobotics/Magnetic_Encoder_Rust_Fw against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcwruRobotics%2FMagnetic_Encoder_Rust_Fw" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cwruRobotics/Magnetic_Encoder_Rust_Fw on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc3b9766f5d92d98cb2fe4b7aae7ae84df0f9152ace756ff276af696fa0e216c [INFO] running `Command { std: "docker" "start" "-a" "dc3b9766f5d92d98cb2fe4b7aae7ae84df0f9152ace756ff276af696fa0e216c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3b9766f5d92d98cb2fe4b7aae7ae84df0f9152ace756ff276af696fa0e216c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3b9766f5d92d98cb2fe4b7aae7ae84df0f9152ace756ff276af696fa0e216c", kill_on_drop: false }` [INFO] [stdout] dc3b9766f5d92d98cb2fe4b7aae7ae84df0f9152ace756ff276af696fa0e216c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a806ead207385546428961d7e8784776ec5b5a81dc57eaebb6177ffa76c919f [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" "4a806ead207385546428961d7e8784776ec5b5a81dc57eaebb6177ffa76c919f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling defmt-parser v0.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling stm32-usbd v0.5.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Compiling mag_encoder_firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking bitrate v0.1.1 [INFO] [stderr] Checking rtic-core v0.3.1 [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 embedded-hal v0.2.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling semver-parser v0.10.1 [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] Compiling semver v0.11.0 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking asm-delay v0.9.0 [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.2.3 (https://github.com/stm32-rs/bxcan#bb9a31de) [INFO] [stderr] Checking defmt-rtt v0.1.0 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 (https://github.com/timokroeger/stm32f1xx-hal?branch=bxcan#20de8b25) [INFO] [stdout] error[E0432]: unresolved import `rtic::cyccnt` [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | 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 `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:357:19 [INFO] [stdout] | [INFO] [stdout] 357 | use rtic::cyccnt::{Instant, U32Ext}; [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pool` in this scope [INFO] [stdout] --> src/main.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pool!( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> src/main.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | fn times_per_second(times: u32) -> rtic::cyccnt::Duration { [INFO] [stdout] | ^^^^^^ could not find `cyccnt` in `rtic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CanFramePool` [INFO] [stdout] --> src/main.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | 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:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | CanFramePool::grow(CAN_TX_MEM); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CanFramePool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `cyccnt` in `rtic` [INFO] [stdout] --> src/main.rs:143:70 [INFO] [stdout] | [INFO] [stdout] 143 | #[app(device=stm32f1xx_hal::pac, 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:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | fn allocate_tx_frame(frame: 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[E0412]: cannot find type `CanFramePool` in this scope [INFO] [stdout] --> src/main.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | can_tx_queue: BinaryHeap, U16, Max>, [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:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | 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/a609fb45efad59dfd459c76e50899be9f0583b5a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-25c6acf8063a3802.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:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | 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/a609fb45efad59dfd459c76e50899be9f0583b5a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-539f13c9442f1597.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:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | (SYS_CLOCK_HZ / times).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:524:42 [INFO] [stdout] | [INFO] [stdout] 524 | if t.elapsed() > CAN_TIMEOUT.cycles() { [INFO] [stdout] | ^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | tx_queue.lock(|q| { [INFO] [stdout] | ^ consider giving this closure parameter a type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | #[app(device=stm32f1xx_hal::pac, 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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0282, E0412, E0432, E0433, 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" "4a806ead207385546428961d7e8784776ec5b5a81dc57eaebb6177ffa76c919f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a806ead207385546428961d7e8784776ec5b5a81dc57eaebb6177ffa76c919f", kill_on_drop: false }` [INFO] [stdout] 4a806ead207385546428961d7e8784776ec5b5a81dc57eaebb6177ffa76c919f