-
Notifications
You must be signed in to change notification settings - Fork 898
Upgrade rust-simple Dockerfile to latest stable Rust for dependency compatibility #4413
Copy link
Copy link
Closed
Labels
area/examplesExamples. Usually found in the `examples` directoryExamples. Usually found in the `examples` directorykind/cleanupRefactoring code, fixing up documentation, etcRefactoring code, fixing up documentation, etc
Description
The rust-simple example fails to build because the version of Rust in the Dockerfile is too old for the current project dependencies.
The build is currently locked to Rust 1.71.0, but several required libraries (like indexmap) now require at least Rust 1.92.0. This causes the Docker build to crash immediately during the "push".
error: package indexmap v2.13.0 cannot be built because it requires rustc 1.82 or newer, while the currently active rustc version is 1.71.0
Fix:
Update the Dockerfile to use Rust 1.92.0. This provides the latest stable compiler and ensures that all modern dependencies can compile correctly without version conflicts.
Changes:
File: examples/rust-simple/Dockerfile
Action: Update base image from rust:1.71.0 to rust:1.92.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/examplesExamples. Usually found in the `examples` directoryExamples. Usually found in the `examples` directorykind/cleanupRefactoring code, fixing up documentation, etcRefactoring code, fixing up documentation, etc