perseus icon indicating copy to clipboard operation
perseus copied to clipboard

Perseus can't process latest Cargo.lock format version `4`

Open menjaraz opened this issue 10 months ago • 2 comments

I'm working both on a LMDE 6 Faye and Windows 10.

I've successfully installed Perseus and can create a new project using the CLI tool without any fuss.

Unfortunately perseus serve -w doesn't work because apparently the new format is not taken yet in charge.

PS C:\Users\####\Desktop\my-perseus> perseus serve -w
  🔏 Generating Cargo lockfile...✅
Error: couldn't load `Cargo.lock` from workspace root

Caused by:
        parse error: parse error: invalid Cargo.lock format version: `4`

Projects including Cargo.lock in the right format can be built and work like charm.

menjaraz avatar Mar 14 '25 04:03 menjaraz

This repo is set up to triage issues with Tribble, but this issue couldn't be processed. If you deliberately didn't use Tribble to report this issue, you can safely ignore this warning. If you did, something's gone wrong here.

github-actions[bot] avatar Mar 14 '25 04:03 github-actions[bot]

Thanks for the report, I'm aware of this issue but haven't had a second to fix it yet. Should just be an update to cargo_toml that's needed to process the new version, would you be open to writing a PR for this? As a short-term fix you can downgrade Rust to 1.82.

arctic-hen7 avatar Mar 14 '25 23:03 arctic-hen7