As of rust-lang/cargo#14595 and rust-lang/rust#130929 (nightly-2024-09-29), Cargo is generating version = 4 in Cargo.lock by default.
$ cargo new repro
$ cd repro/
$ cargo build
$ cargo outdated
error: failed to parse lock file at: /path/to/repro/Cargo.lock
Caused by:
lock file version 4 requires `-Znext-lockfile-bump`
Ironically, cargo-outdated's cargo dependency is outdated. I expect that adopting a newer version of the cargo library would resolve this issue.
As of rust-lang/cargo#14595 and rust-lang/rust#130929 (nightly-2024-09-29), Cargo is generating
version = 4in Cargo.lock by default.Ironically, cargo-outdated's
cargodependency is outdated. I expect that adopting a newer version of thecargolibrary would resolve this issue.cargo-outdated/Cargo.toml
Line 30 in d3a7df3