fix(ci): bump Flatpak Rust toolchain to 1.88.0 (#301) #302

Merged
james merged 1 commit from flatpak-rust-toolchain-188 into main 2026-06-26 23:14:52 +00:00
Owner

Closes #301.

Problem

The Flatpak release build (run 758) fails at cargo build --locked:

error: rustc 1.85.0 is not supported by the following packages:
  darling@0.23.0 requires rustc 1.88.0
  serde_with@3.21.0 requires rustc 1.88
  plist@1.9.0 requires rustc 1.88.0
  time@0.3.49 requires rustc 1.88.0
  icu_*@2.2.0 / idna_adapter@1.2.2 require rustc 1.86

release-flatpak.yml pins RUST_TOOLCHAIN: 1.85.0, but the locked Cargo
dependency tree's MSRV has risen to 1.88.0. Because the build uses
--locked, cargo can't fall back to older crate versions — the toolchain must
satisfy the highest MSRV in the lockfile. Same class of failure as #293 / PR
#294 (1.77 → 1.85); the comment there anticipated this ("Bump deliberately if
the lockfile's MSRV rises again").

Fix

Bump RUST_TOOLCHAIN to 1.88.0 and refresh the explanatory comment to cite
the current binding crates (darling, serde_with, plist, time at 1.88;
icu_*/idna_adapter at 1.86).

Verification

  • actionlint clean on the edited workflow.
  • The toolchain pin (1.88.0) now meets the highest MSRV the error reported, so
    cargo build --locked resolution will succeed. Full end-to-end is the
    Flatpak release job itself, which runs on tag push.

🤖 Generated with Claude Code

Closes #301. ## Problem The Flatpak release build (run [758](https://forge.wynning.tech/james/carol/actions/runs/758/jobs/0/attempt/1)) fails at `cargo build --locked`: ``` error: rustc 1.85.0 is not supported by the following packages: darling@0.23.0 requires rustc 1.88.0 serde_with@3.21.0 requires rustc 1.88 plist@1.9.0 requires rustc 1.88.0 time@0.3.49 requires rustc 1.88.0 icu_*@2.2.0 / idna_adapter@1.2.2 require rustc 1.86 ``` `release-flatpak.yml` pins `RUST_TOOLCHAIN: 1.85.0`, but the locked Cargo dependency tree's MSRV has risen to **1.88.0**. Because the build uses `--locked`, cargo can't fall back to older crate versions — the toolchain must satisfy the highest MSRV in the lockfile. Same class of failure as #293 / PR #294 (1.77 → 1.85); the comment there anticipated this ("Bump deliberately if the lockfile's MSRV rises again"). ## Fix Bump `RUST_TOOLCHAIN` to `1.88.0` and refresh the explanatory comment to cite the current binding crates (`darling`, `serde_with`, `plist`, `time` at 1.88; `icu_*`/`idna_adapter` at 1.86). ## Verification - `actionlint` clean on the edited workflow. - The toolchain pin (1.88.0) now meets the highest MSRV the error reported, so `cargo build --locked` resolution will succeed. Full end-to-end is the Flatpak release job itself, which runs on tag push. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(ci): bump Flatpak Rust toolchain to 1.88.0
All checks were successful
Commits / Conventional Commits (pull_request) Successful in 6s
PR / OpenAPI (pull_request) Successful in 2m7s
PR / Static analysis (pull_request) Successful in 2m10s
PR / Client (web export smoke) (pull_request) Successful in 3m15s
PR / Lint (pull_request) Successful in 3m23s
PR / OSV-Scanner (pull_request) Successful in 56s
PR / Package age policy (soft) (pull_request) Successful in 20s
Secrets / gitleaks (pull_request) Successful in 24s
PR / Test (postgres) (pull_request) Successful in 4m0s
PR / Typecheck (pull_request) Successful in 4m9s
PR / Test (sqlite) (pull_request) Successful in 4m20s
PR / Build (pull_request) Successful in 4m45s
PR / Trivy (image) (pull_request) Successful in 2m26s
PR / pnpm audit (pull_request) Successful in 3m16s
PR / Coverage (soft) (pull_request) Successful in 3m16s
1edb076c39
The locked Cargo dependency tree's MSRV rose above 1.85.0: darling
0.23.0, serde_with 3.21.0, plist 1.9.0, and time 0.3.49 now require
rustc 1.88.0 (icu_* 2.2.0 / idna_adapter 1.2.2 need 1.86). Since the
Flatpak build runs `cargo build --locked`, the toolchain must satisfy
the highest MSRV in the lockfile or resolution fails with
"rustc 1.85.0 is not supported by the following packages".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

📊 Test coverage

Patch coverage: no testable lines changed.

Overall (app/, lib/, db/, excluding UI per ADR-0019):

Metric Value Soft target
Lines 81.6% ≥ 50%
Branches 72.8% ⚠️ ≥ 75%
Functions 91.1% informational

Soft thresholds per ADR-0019. Coverage is informational and does not block merge.

<!-- coverage-comment --> ## 📊 Test coverage **Patch coverage:** no testable lines changed. **Overall** (`app/`, `lib/`, `db/`, excluding UI per ADR-0019): | Metric | Value | Soft target | |---|---|---| | Lines | 81.6% ✅ | ≥ 50% | | Branches | 72.8% ⚠️ | ≥ 75% | | Functions | 91.1% | informational | Soft thresholds per [ADR-0019](docs/adr/0019-coverage-soft-targets.md). Coverage is informational and does not block merge.
james merged commit 7f8198d5c7 into main 2026-06-26 23:14:52 +00:00
james deleted branch flatpak-rust-toolchain-188 2026-06-26 23:14:52 +00:00
Sign in to join this conversation.
No description provided.