Skip to content

v0.11.1: bump Dockerfile Rust toolchain to 1.85 - #48

Merged
guyte149 merged 1 commit into
masterfrom
fix/dockerfile-rust-1.85-v2
May 6, 2026
Merged

v0.11.1: bump Dockerfile Rust toolchain to 1.85#48
guyte149 merged 1 commit into
masterfrom
fix/dockerfile-rust-1.85-v2

Conversation

@guyte149

@guyte149 guyte149 commented May 6, 2026

Copy link
Copy Markdown
Owner

Summary

The Docker job in v0.11.0's release workflow still failed with the same misleading "binary not found" error. The real cause is buried higher in the build log:

```
error: failed to parse manifest at .../clap_lex-1.1.0/Cargo.toml
Caused by: feature `edition2024` is required
The package requires the Cargo feature called `edition2024`, but
that feature is not stabilized in this version of Cargo (1.83.0).
```

`clap_lex 1.1.0` (and `cpufeatures 0.3.0` and a few others in the dep tree) declare `edition = "2024"` and need Cargo 1.85+. The Dockerfile was still pinned to `rust:1.83-bookworm`, so cargo couldn't even parse the manifest — the cargo build failed silently inside the BuildKit stage, surfacing only as a downstream `/usr/local/bin/rusnel: not found` during the multi-stage `COPY --from=builder`.

Bump the pin to `rust:1.85-bookworm`. One-line fix.

This is a re-roll of #46, which had the same one-line fix but was based on a now-stale 0.10.2 version (master is past v0.11.0). #46 has been closed in favour of this PR.

Versioned 0.11.0 → 0.11.1 (patch — release-infra fix only).

Made with Cursor

The Docker job in v0.11.0's release workflow still failed:

    error: failed to parse manifest at .../clap_lex-1.1.0/Cargo.toml
    Caused by: feature `edition2024` is required
    The package requires the Cargo feature called `edition2024`, but
    that feature is not stabilized in this version of Cargo (1.83.0).

`clap_lex 1.1.0` (and several other transitive deps including
`cpufeatures 0.3.0`) need Rust/Cargo 1.85+ — they declare
`edition = "2024"`. The Dockerfile was still pinned to
`rust:1.83-bookworm`, so cargo couldn't even parse the manifest;
the actual symptom that surfaced was a confusing
`/usr/local/bin/rusnel: not found` during the multi-stage
`COPY --from=builder`.

Bump the Dockerfile pin to `rust:1.85-bookworm`. v0.10.0, v0.10.1,
and v0.11.0 GHCR images don't exist for this reason; v0.11.1 will.

(This is a re-roll of the closed PR #46, which had the same
one-line fix but was based on a now-stale 0.10.2 version.)

Co-authored-by: Cursor <cursoragent@cursor.com>
@guyte149
guyte149 merged commit 4d73988 into master May 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant