Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Rust 2024 edition (Dependabot's Rust version is too old) #11691

Closed
1 task done
edmorley opened this issue Feb 27, 2025 · 3 comments
Closed
1 task done

Support Rust 2024 edition (Dependabot's Rust version is too old) #11691

edmorley opened this issue Feb 27, 2025 · 3 comments
Labels
L: go:modules Golang modules L: rust:cargo Rust crates via cargo T: feature-request Requests for new features

Comments

@edmorley
Copy link

edmorley commented Feb 27, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

We switched our project to use the new Rust 2024 edition (edition = "2024" in Cargo.toml), however, Dependabot is now failing with:

updater | 2025/02/27 18:59:08 INFO <job_971756424> Handled error whilst updating ureq: dependency_file_not_resolvable {:message=>"error: failed to parse manifest at `dependabot_tmp_dir/Cargo.toml`\n\nCaused by:\n  feature `edition2024` is required\n\n  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.82.0 (8f40fc59f 2024-08-21)).\n  Consider trying a newer version of Cargo (this may require the nightly release).\n  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information about the status of this feature."}

Specifically:

The package requires the Cargo feature called edition2024, but that feature is not stabilized in this version of Cargo (1.82.0 (8f40fc59f 2024-08-21)). Consider trying a newer version of Cargo

It looks like the Dependabot image is using an out of date version of Rust (1.82.0)?

The latest version (and the first to support 2024 edition) is 1.85.0.

Please could you upgrade the Rust version in the Dependabot image?

See:
https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html

@edmorley edmorley added the T: feature-request Requests for new features label Feb 27, 2025
@github-actions github-actions bot added L: go:modules Golang modules L: rust:cargo Rust crates via cargo labels Feb 27, 2025
@edmorley
Copy link
Author

Ah PR #11662 is open for upgrading Rust.

@robaiken
Copy link
Contributor

We have updated to Rust 1.8.5 in the previously mentioned pr #11662. Thank you for your report!

@edmorley
Copy link
Author

edmorley commented Mar 1, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: go:modules Golang modules L: rust:cargo Rust crates via cargo T: feature-request Requests for new features
Projects
Status: Done
Development

No branches or pull requests

2 participants