Skip to content

Upgrade rust-simple Dockerfile to latest stable Rust for dependency compatibility #4413

@indurireddy-TF

Description

@indurireddy-TF

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.

Metadata

Metadata

Labels

area/examplesExamples. Usually found in the `examples` directorykind/cleanupRefactoring code, fixing up documentation, etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions