axodotdev / axodotdev/cargo-dist

Workflow fails because the rustc version is too old

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

Description

I have a scrunkly little project that I tried setting up a GH action for. Yesterday, it worked using rust 1.77.2, but it keeps failing now that I set the project's `rust-version` to `1.78.0`:

```
error: package `realpha v1.0.2 (/Users/runner/work/realpha/realpha)` cannot be built because it requires rustc 1.78.0 or newer, while the currently active rustc version is 1.77.2
```

Rust 1.78 basically *just* came out. Is this a situation where I just have to wait for something upstream to get updated or is this something I can fix?

All the relevant files are here: [release.yml](https://github.com/SamusAranX/realpha/blob/4faea3219ae20b3a984c18cb732eb932459b93cf/.github/workflows/release.yml), [Cargo.toml](https://github.com/SamusAranX/realpha/blob/4faea3219ae20b3a984c18cb732eb932459b93cf/Cargo.toml)

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/release.yml and Cargo.toml, comparing the workflow's selected rustc version with the project's rust-version setting. Trace where rustc 1.77.2 is chosen and check whether the workflow can use Rust 1.78.0 or newer. Done means the release workflow builds the project without the reported compiler-version error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.