From 46a0527ac41efdabf8e08d3794b3a33938578eb3 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Thu, 19 Mar 2026 15:02:38 +0200 Subject: [PATCH] Fix Docker build by using --locked for cargo-chef install cargo-chef's transitive dependencies (cargo-platform, cargo_metadata, guppy, target-spec) bumped their MSRV to Rust 1.86-1.88, breaking the install on our pinned Rust 1.85.0 toolchain. Using --locked forces cargo to use cargo-chef's bundled lockfile, which is tested against its supported Rust versions. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index da0cd751ee..574f6e6f00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN cat rust-toolchain.toml | grep "channel" | awk '{print $3}' | sed 's/\"//g' && rustup update $(cat toolchain.txt) \ && rustup default $(cat toolchain.txt) \ && rm toolchain.txt rust-toolchain.toml \ - && cargo install cargo-chef + && cargo install cargo-chef --locked FROM chef AS planner ARG BUILD_DEBUG=false