Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

invalid serialized PackageId for key package.dependencies #80

Closed
brenzi opened this issue Sep 30, 2019 · 4 comments
Closed

invalid serialized PackageId for key package.dependencies #80

brenzi opened this issue Sep 30, 2019 · 4 comments

Comments

@brenzi
Copy link

brenzi commented Sep 30, 2019

cargo tree fails with

error: failed to parse lock file at: /home/abrenzikofer/test_no_std/Cargo.lock

Caused by:
  invalid serialized PackageId for key `package.dependencies`

for the following crate:
scs/test-no-std@e584d57

@Rua
Copy link

Rua commented Nov 5, 2019

This happened to me as well.

@jplatte
Copy link

jplatte commented Dec 11, 2019

Just a guess, but this might have to do with rust-lang/cargo#7579. Does deleting the lock file and re-generating it with an older cargo fix the issue?

@est31
Copy link
Contributor

est31 commented Dec 19, 2019

#85 will fix this. You can use @lzutao 's fork for the meantime:

cargo install --force --git https://github.com/lzutao/cargo-tree --branch bump-deps

@est31
Copy link
Contributor

est31 commented Dec 26, 2019

Fixed as of release 0.28.0. ping @sfackler issue can be closed.

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

No branches or pull requests

5 participants