Problem
The nightly CI has been failing since the Backend fmt step due to cargo fmt --check mismatches in two files:
backend/src/font_handlers.rs:182
- let result = tokio::task::spawn_blocking(move || process_font(&original_path_clone, &glyphs_dir_clone)).await;
+ let result = tokio::task::spawn_blocking(move || {
+ process_font(&original_path_clone, &glyphs_dir_clone)
+ })
+ .await;
backend/src/icon_handlers.rs:413
- Ok(data) => Ok((
- StatusCode::OK,
- [(header::CONTENT_TYPE, content_type)],
- data,
- )),
+ Ok(data) => Ok((StatusCode::OK, [(header::CONTENT_TYPE, content_type)], data)),
This is caused by a newer version of rustfmt (via actions-rust-lang/setup-rust-toolchain) enforcing different line-length wrapping rules than what was used when these files were last formatted.
Impact
- All 8 open PRs are blocked — CI fails on
verify job before any real checks run
- Nightly CI has been failing continuously since at least 2026-04-29
- Security CI (
cargo audit + npm audit) also fails but is masked by the fmt failure
Fix
Run cargo fmt --manifest-path backend/Cargo.toml --all locally and commit the changes. This is a one-command fix.
Related
Problem
The nightly CI has been failing since the
Backend fmtstep due tocargo fmt --checkmismatches in two files:backend/src/font_handlers.rs:182backend/src/icon_handlers.rs:413This is caused by a newer version of
rustfmt(viaactions-rust-lang/setup-rust-toolchain) enforcing different line-length wrapping rules than what was used when these files were last formatted.Impact
verifyjob before any real checks runcargo audit+npm audit) also fails but is masked by the fmt failureFix
Run
cargo fmt --manifest-path backend/Cargo.toml --alllocally and commit the changes. This is a one-command fix.Related