fix(ci): Flatpak release build fails — locked dep MSRV rose above pinned Rust 1.85.0 #301

Closed
opened 2026-06-26 23:07:49 +00:00 by james · 0 comments
Owner

Context

The release-flatpak.yml build (run 758, "Build and attach .flatpak") 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
  ...
Either upgrade rustc or select compatible dependency versions

The workflow pins RUST_TOOLCHAIN: 1.85.0. The locked Cargo dependency tree's
MSRV has since risen to 1.88.0, and because the build uses --locked it can't
fall back to older crate versions. This is a recurrence of the same class of
failure fixed in #293 / PR #294 (which bumped 1.77 → 1.85).

Fix

Bump RUST_TOOLCHAIN to 1.88.0 (the highest MSRV in the current lockfile).

Acceptance criteria

  • The Flatpak release build resolves and compiles the Tauri binary under
    the pinned toolchain.

Out of scope

  • Auto-bumping the toolchain on Renovate cadence (the pin is deliberately
    manual — see the comment in release-flatpak.yml).
  • The custom self-hosted runner image with deps preinstalled (#227).
## Context The `release-flatpak.yml` build (run [758](https://forge.wynning.tech/james/carol/actions/runs/758/jobs/0/attempt/1), "Build and attach .flatpak") 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 ... Either upgrade rustc or select compatible dependency versions ``` The workflow pins `RUST_TOOLCHAIN: 1.85.0`. The locked Cargo dependency tree's MSRV has since risen to 1.88.0, and because the build uses `--locked` it can't fall back to older crate versions. This is a recurrence of the same class of failure fixed in #293 / PR #294 (which bumped 1.77 → 1.85). ## Fix Bump `RUST_TOOLCHAIN` to `1.88.0` (the highest MSRV in the current lockfile). ## Acceptance criteria - [ ] The Flatpak release build resolves and compiles the Tauri binary under the pinned toolchain. ## Out of scope - Auto-bumping the toolchain on Renovate cadence (the pin is deliberately manual — see the comment in `release-flatpak.yml`). - The custom self-hosted runner image with deps preinstalled (#227).
james closed this issue 2026-06-26 23:14:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
james/carol#301
No description provided.