[INFO] cloning repository https://github.com/team-arrow-racing/front-vehicle-controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/team-arrow-racing/front-vehicle-controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteam-arrow-racing%2Ffront-vehicle-controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteam-arrow-racing%2Ffront-vehicle-controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e91f10b3969cdc6b9906061b7714930712be536 [INFO] testing team-arrow-racing/front-vehicle-controller against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteam-arrow-racing%2Ffront-vehicle-controller" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/team-arrow-racing/front-vehicle-controller [INFO] finished tweaking git repo https://github.com/team-arrow-racing/front-vehicle-controller [INFO] tweaked toml for git repo https://github.com/team-arrow-racing/front-vehicle-controller written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/team-arrow-racing/front-vehicle-controller on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/team-arrow-racing/front-vehicle-controller 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff0f3579dcb3a670f8e0342fcc7b421868115fcd7f17fca6c5055491ce6f97e0 [INFO] running `Command { std: "docker" "start" "-a" "ff0f3579dcb3a670f8e0342fcc7b421868115fcd7f17fca6c5055491ce6f97e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff0f3579dcb3a670f8e0342fcc7b421868115fcd7f17fca6c5055491ce6f97e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0f3579dcb3a670f8e0342fcc7b421868115fcd7f17fca6c5055491ce6f97e0", kill_on_drop: false }` [INFO] [stdout] ff0f3579dcb3a670f8e0342fcc7b421868115fcd7f17fca6c5055491ce6f97e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2b5bf7db968940e8217c9baf65281440d75821012a717371c69d918f8bb2df6 [INFO] running `Command { std: "docker" "start" "-a" "a2b5bf7db968940e8217c9baf65281440d75821012a717371c69d918f8bb2df6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling defmt-macros v0.3.7 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling stm32g4 v0.15.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rtic-common v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rtic v2.1.1 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Compiling rtic-monotonics v1.5.0 [INFO] [stderr] Compiling front-vehicle-controller v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling embedded-dma v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rtic-core v1.0.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling fdcan v0.1.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rtic-time v1.3.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling rtic-macros v2.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling zerocopy v0.6.6 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling stm32g4xx-hal v0.0.2 (https://github.com/stm32-rs/stm32g4xx-hal#f8b6ff82) [INFO] [stdout] error[E0412]: cannot find type `Peripherals` in module `rtic::export` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[rtic::app(device = stm32g4xx_hal::stm32g4::stm32g431, dispatchers = [USART1, USART2])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stm32::Peripherals; [INFO] [stdout] | [INFO] [stdout] 35 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 35 + use stm32g4xx_hal::stm32::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in module `rtic::export` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[rtic::app(device = stm32g4xx_hal::stm32g4::stm32g431, dispatchers = [USART1, USART2])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in module `rtic::export` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[rtic::app(device = stm32g4xx_hal::stm32g4::stm32g431, dispatchers = [USART1, USART2])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `rtic::export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `export` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[rtic::app(device = stm32g4xx_hal::stm32g4::stm32g431, dispatchers = [USART1, USART2])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `interrupt` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stm32::interrupt; [INFO] [stdout] | [INFO] [stdout] 35 + use stm32g4xx_hal::interrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Peripherals` in `export` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[rtic::app(device = stm32g4xx_hal::stm32g4::stm32g431, dispatchers = [USART1, USART2])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `Peripherals` in `export` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stm32::Peripherals; [INFO] [stdout] | [INFO] [stdout] 35 + use cortex_m::Peripherals; [INFO] [stdout] | [INFO] [stdout] 35 + use stm32g4xx_hal::stm32::Peripherals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::digital::v2::OutputPin` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Output` and `self` [INFO] [stdout] --> src/init.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | gpio::{GpioExt as _, Output, Speed}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | rcc::{self, Config, RccExt, SysClockSrc}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameFormat`, `TxFrameHeader`, and `id::StandardId` [INFO] [stdout] --> src/init.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | frame::{FrameFormat, TxFrameHeader}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 19 | id::StandardId, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Monotonic` [INFO] [stdout] --> src/init.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Monotonic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpioExt`, `PA1`, `PA2`, `PA3`, `PB1`, and `PB2` [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | gpioa::{PA1, PA2, PA3, PA4, PA5, PA15}, [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] 21 | gpiob::{PB0, PB1, PB2, PB3, PB14, PB7}, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 22 | Output, [INFO] [stdout] 23 | GpioExt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/canbus.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn can_receive(mut cx: can_receive::Context<'_>, frame: RxFrameInfo, buffer: [u8; 8]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/canbus.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn can_receive(mut cx: can_receive::Context<'_>, frame: RxFrameInfo, buffer: [u8; 8]) { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/canbus.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let Ok(rxframe) = rxframe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/canbus.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let Ok(rxframe) = rxframe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `front-vehicle-controller` (bin "front-vehicle-controller") due to 7 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2b5bf7db968940e8217c9baf65281440d75821012a717371c69d918f8bb2df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2b5bf7db968940e8217c9baf65281440d75821012a717371c69d918f8bb2df6", kill_on_drop: false }` [INFO] [stdout] a2b5bf7db968940e8217c9baf65281440d75821012a717371c69d918f8bb2df6