Dockerfile: ARG RUST_VERSION=1.85 (the default build-arg) -> a current Rust.
The Docker build base is too old to compile the committed Cargo.lock. The resolved transitive tree (e.g. time@0.3.53 needs rustc 1.88, icu_* 2.2.0 need 1.86 — pulled via the edgecommons dependency) fails on rust:1.85 with rustc 1.85.1 is not supported, which blocks producing the runnable image (and the identical k8s image).
Policy: use the latest Rust compiler unless there's a specific reason not to. Bump the Docker build base to a current Rust — config-component already uses rust:1.96-bookworm; rust:1-slim/rust:1-bookworm tracks the latest stable.
Note: this is the Docker build base image only — separate from the rust-version / MSRV in Cargo.toml (leave the MSRV as-is). Found while building edgecommons/ethernet-ip-adapter (scaffolded from the same Rust template), where the Dockerfile was bumped to rust:1.88-slim.
Dockerfile:ARG RUST_VERSION=1.85(the default build-arg) -> a current Rust.The Docker build base is too old to compile the committed
Cargo.lock. The resolved transitive tree (e.g.time@0.3.53needs rustc 1.88,icu_* 2.2.0need 1.86 — pulled via theedgecommonsdependency) fails onrust:1.85withrustc 1.85.1 is not supported, which blocks producing the runnable image (and the identical k8s image).Policy: use the latest Rust compiler unless there's a specific reason not to. Bump the Docker build base to a current Rust —
config-componentalready usesrust:1.96-bookworm;rust:1-slim/rust:1-bookwormtracks the latest stable.Note: this is the Docker build base image only — separate from the
rust-version/ MSRV inCargo.toml(leave the MSRV as-is). Found while buildingedgecommons/ethernet-ip-adapter(scaffolded from the same Rust template), where the Dockerfile was bumped torust:1.88-slim.