You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my projects, I check for MSRV by installing Rust nightly, the minimum Rust version I support and then running the following command-line (more or less):
A few days ago, I started seeing failures with a message like this:
info: running `cargo hack check --target-dir target-minimal --workspace --lib --bins --all-features`
running `cargo check --target-dir target-minimal --lib --bins --all-features` on mini_exercism (1/1)
warning: unused manifest key: lints
error: failed to parse lock file at: /home/runner/work/mini_exercism/mini_exercism/Cargo.lock
Caused by:
lock file version `4` was found, but this version of Cargo does not understand this lock file, perhaps Cargo needs to be updated?
It looks like they switched to a new lockfile version in Nightly, which probably means that the lockfile generated by cargo-minimal-versions is incompatible with pre-1.78 Rust (if I understand correctly).
My questions:
Is my interpretation correct?
If it is, is this something that I need to fix on my end, or does it require a change in cargo-minimal-versions?
Thanks for this excellent tool btw. 🙂
The text was updated successfully, but these errors were encountered:
In my projects, I check for MSRV by installing Rust nightly, the minimum Rust version I support and then running the following command-line (more or less):
A few days ago, I started seeing failures with a message like this:
Example: https://github.com/clechasseur/mini_exercism/actions/runs/11097764447/job/30829476960
I tried to run this locally by reverting to the Nightly build from 2024-09-24 and the error disappeared.
I'm not an expert but I think this may be caused by this: rust-lang/cargo@cf781da
It looks like they switched to a new lockfile version in Nightly, which probably means that the lockfile generated by cargo-minimal-versions is incompatible with pre-1.78 Rust (if I understand correctly).
My questions:
Thanks for this excellent tool btw. 🙂
The text was updated successfully, but these errors were encountered: