[INFO] cloning repository https://github.com/w060530/wfyusart2new
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/w060530/wfyusart2new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw060530%2Fwfyusart2new", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw060530%2Fwfyusart2new'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 23f1421c1e1f195a31837cbb32caee54a0afa586
[INFO] checking w060530/wfyusart2new against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fw060530%2Fwfyusart2new" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/w060530/wfyusart2new
[INFO] finished tweaking git repo https://github.com/w060530/wfyusart2new
[INFO] tweaked toml for git repo https://github.com/w060530/wfyusart2new written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/w060530/wfyusart2new on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/w060530/wfyusart2new 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.7.6
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.6
[INFO] [stderr]   Downloaded cortex-m v0.7.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6
[INFO] running `Command { std: "docker" "start" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling defmt v1.1.1
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling defmt-macros v1.1.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling cortex-m v0.7.8
[INFO] [stderr]    Compiling cortex-m-macros v0.7.8
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling cortex-m-rt v0.7.6
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling heapless v0.9.3
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]     Checking futures-core v0.3.34
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling embedded-io-async v0.6.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling embassy-sync v0.8.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling stm32-metapac v21.0.0
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling embassy-time-queue-utils v0.3.2
[INFO] [stderr]    Compiling portable-atomic v1.15.0
[INFO] [stderr]     Checking embedded-io v0.6.1
[INFO] [stderr]    Compiling embassy-hal-internal v0.4.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking futures-sink v0.3.34
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]     Checking embedded-storage v0.3.1
[INFO] [stderr]    Compiling embassy-hal-internal v0.5.0
[INFO] [stderr]     Checking embassy-executor-timer-queue v0.1.0
[INFO] [stderr]     Checking embedded-storage-async v0.4.1
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking embassy-futures v0.1.2
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling defmt-rtt v1.3.0
[INFO] [stderr]    Compiling embassy-executor v0.10.0
[INFO] [stderr]    Compiling panic-probe v1.0.0
[INFO] [stderr]     Checking futures-task v0.3.34
[INFO] [stderr]     Checking block-device-driver v0.2.0
[INFO] [stderr]     Checking embedded-hal-nb v1.0.0
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]     Checking stm32-fmc v0.4.0
[INFO] [stderr]     Checking embedded-can v0.4.1
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking cordyceps v0.3.5
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking sdio-host v0.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling trait-set v0.3.0
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.6
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling defmt v0.3.100
[INFO] [stderr]     Checking embedded-io v0.7.1
[INFO] [stderr]     Checking embassy-time v0.5.1
[INFO] [stderr]     Checking embassy-net-driver v0.2.0
[INFO] [stderr]     Checking embedded-io-async v0.7.0
[INFO] [stderr]     Checking embassy-usb-driver v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling embassy-executor-macros v0.8.0
[INFO] [stderr]    Compiling embassy-stm32 v0.6.0
[INFO] [stderr]     Checking embassy-embedded-hal v0.6.0
[INFO] [stderr]     Checking embassy-usb-synopsys-otg v0.3.3
[INFO] [stderr]     Checking usartscreen v0.1.0 (/opt/rustwide/workdir)
[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: value assigned to `dirs` is never read
[INFO] [stdout]    --> src/chassis/mod.rs:287:24
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let mut dirs = [false; 4];  // false=CW, true=CCW
[INFO] [stdout]     |                        ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 293 |                 dirs = [false, true, false, true];
[INFO] [stdout]     |                 --------------------------------- `dirs` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `motor_pulses` is never read
[INFO] [stdout]    --> src/chassis/mod.rs:288:32
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let mut motor_pulses = [0u32; 4];
[INFO] [stdout]     |                                ^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 294 |                 motor_pulses = [pulses; 4];
[INFO] [stdout]     |                 -------------------------- `motor_pulses` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dirs` is never read
[INFO] [stdout]    --> src/chassis/mod.rs:287:24
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let mut dirs = [false; 4];  // false=CW, true=CCW
[INFO] [stdout]     |                        ^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 293 |                 dirs = [false, true, false, true];
[INFO] [stdout]     |                 --------------------------------- `dirs` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `motor_pulses` is never read
[INFO] [stdout]    --> src/chassis/mod.rs:288:32
[INFO] [stdout]     |
[INFO] [stdout] 288 |         let mut motor_pulses = [0u32; 4];
[INFO] [stdout]     |                                ^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 294 |                 motor_pulses = [pulses; 4];
[INFO] [stdout]     |                 -------------------------- `motor_pulses` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RightForward`, `LeftForward`, `RightBackward`, and `LeftBackward` are never constructed
[INFO] [stdout]   --> src/chassis/mod.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum MoveDirection {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     RightForward,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 24 |     LeftForward,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     RightBackward,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 26 |     LeftBackward,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MoveDirection` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/chassis/mod.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl<'d> ChassisController<'d> {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn motors(&self) -> &[MotorHandle; 4] {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub async fn send_cmd(&mut self, command: &Command) {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn mm_to_pulses(distance_mm: f32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub async fn move_forward(&mut self, distance_mm: f32, vel: u16, acc: u8) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn move_backward(&mut self, distance_mm: f32, vel: u16, acc: u8) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub async fn move_left(&mut self, distance_mm: f32, vel: u16, acc: u8) {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub async fn move_right(&mut self, distance_mm: f32, vel: u16, acc: u8) {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     async fn send_motion_commands(&mut self, commands: &[Command; 4]) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn calculate_track_direction(&self, dx: i16, dy: i16, dead_zone: i16) -> (i8, i8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub async fn track_step(&mut self, dx: i16, dy: i16, step_distance: f32, vel: u16, acc: u8, dead_zone: i16) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_velocity` is never used
[INFO] [stdout]   --> src/chassis/motor.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MotorHandle {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn set_velocity(&self, dir: bool, sync: bool, acc: u8, velocity: u16) -> Command {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_position_command` is never used
[INFO] [stdout]    --> src/chassis/motor.rs:175:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl MultiMotorCommand {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn new_position_command(dirs: [bool; 4], vel: u16, acc: u8, pulses: [u32; 4], sync: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_write_index` is never used
[INFO] [stdout]    --> src/command.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl RingBuffer {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn update_write_index(&mut self, dma_remaining: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `refresh` is never used
[INFO] [stdout]   --> src/screen.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub trait SerialHandle<const N: usize, const T: usize> {
[INFO] [stdout]    |           ------------ method in this trait
[INFO] [stdout] 37 |     fn refresh(&mut self, objs: &[Object<'_,T>; N]) -> Result<(), ()>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RefreshOne` is never used
[INFO] [stdout]   --> src/screen.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub trait RefreshOne<const T: usize> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rx` is never read
[INFO] [stdout]   --> src/screen.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct UsartHandle<'d> {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 48 |     pub tx: UartTx<'d, Async>,
[INFO] [stdout] 49 |     pub rx: UartRx<'d, Async>,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `usartscreen` (bin "usartscreen") due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6", kill_on_drop: false }`
[INFO] [stdout] d360966c0fb9616721d49eec2291ec4e4f456b8f5e3cfb60a5ebf001e92d87c6
