From 41f3be5340a98f17863e08207da8918bbb2585eb Mon Sep 17 00:00:00 2001 From: Michael Dong Date: Thu, 5 Feb 2026 18:37:26 +0800 Subject: [PATCH] Downgrade home crate for Rust 1.85 compatibility Co-Authored-By: Claude Opus 4.5 --- backend_rust/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend_rust/Dockerfile b/backend_rust/Dockerfile index 2486423..c4137f8 100644 --- a/backend_rust/Dockerfile +++ b/backend_rust/Dockerfile @@ -22,6 +22,9 @@ COPY migration/Cargo.toml ./migration/ RUN mkdir src && echo "fn main() {}" > src/main.rs RUN mkdir -p migration/src && echo "fn main() {}" > migration/src/main.rs && echo "" > migration/src/lib.rs +# Downgrade home crate to version compatible with Rust 1.85 +RUN cargo update home@0.5.12 --precise 0.5.9 || true + # Build dependencies only RUN cargo build --release