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 for Cargo.lock format version 4 #71

Closed
joamag opened this issue Sep 30, 2024 · 2 comments
Closed

Support for Cargo.lock format version 4 #71

joamag opened this issue Sep 30, 2024 · 2 comments

Comments

@joamag
Copy link

joamag commented Sep 30, 2024

I'm getting compilation errors in Rust nightly due to the built's lack of support for the new Cargo.lock version 4.

Caused by:
  process didn't exit successfully: `/.../build/boytacean-d1602522edb07f70/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/built-0.7.4/src/dependencies.rs:151:59:
  Failed to parse lockfile: Parse("parse error: invalid Cargo.lock format version: `4`\n")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@lukaslueg
Copy link
Owner

Thanks for the heads-up. This is due to rust-lang/cargo#14595. We use cargo-audit's parser for Cargo.lock-files, the switch to v4 is tracked in rustsec/rustsec#1249.

@tarcieri
Copy link

Open PR here. Feedback appreciated: rustsec/rustsec#1206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants