From cb3a90be3587316903f5b13a823c70a1705da7f4 Mon Sep 17 00:00:00 2001 From: hibna Date: Sun, 2 Aug 2026 21:48:33 +0300 Subject: [PATCH] Build the daemon with Rust 1.97 Dependencies now ship edition 2024, which Cargo 1.83 refuses to parse: feature `edition2024` is required ... not stabilized in this version of Cargo (1.83.0) The pin lived in two places and both had to move, or the daemon image would have failed the same way the CI job did. --- .github/workflows/ci.yml | 5 ++++- apps/daemon/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 892382e..a570d17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,10 @@ on: env: NODE_VERSION: "20" PNPM_VERSION: "9.15.4" - RUST_TOOLCHAIN: "1.83" + # 1.85 is the floor: dependencies now ship edition 2024, which older + # Cargo refuses to even parse. Keep this in step with the toolchain + # pinned in apps/daemon/Dockerfile. + RUST_TOOLCHAIN: "1.97" jobs: # --- Lint + TypeScript Check --- diff --git a/apps/daemon/Dockerfile b/apps/daemon/Dockerfile index 189dc8c..47f6fd2 100644 --- a/apps/daemon/Dockerfile +++ b/apps/daemon/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.83-bookworm AS build +FROM rust:1.97-bookworm AS build # Install protoc RUN apt-get update && apt-get install -y protobuf-compiler && rm -rf /var/lib/apt/lists/*