axodotdev / axodotdev/cargo-dist

Step “host” fails in CI for rust edition 2024

Open
#1,769 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

When trying to create binaries using the fresh-off-the-press rust edition 2024, [CI fails during step `dist host`](https://github.com/TritonVM/triton-cli/actions/runs/13452113587/job/37588794403). Apparently, the rust version in use is 1.84.1 (checksum 66221abde, release date 2024-11-19), which won't work for rust edition 2024. Could it be that the artifact that's loaded during step `Install cached dist` is out of date?

Locally, `dist plan`, `dist build`, and `dist host` all succeed.

Contributor guide

Open the contributing guide

Research direction

Start with the linked CI run, focusing on the `Install cached dist` and `dist host` steps, then compare them with the locally successful `dist plan`, `dist build`, and `dist host` commands. Done means the CI path uses a Rust toolchain or cached artifact compatible with edition 2024 and the `dist host` step succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
build-system, ci-cd, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.