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

Can't run migration due to cargo.lock issues #20

Open
vanch opened this issue Jun 9, 2021 · 0 comments
Open

Can't run migration due to cargo.lock issues #20

vanch opened this issue Jun 9, 2021 · 0 comments

Comments

@vanch
Copy link

vanch commented Jun 9, 2021

I've tried that on ubuntu 18.04, 20.04.

ii  llvm                                 1:10.0-50~exp1                        amd64        Low-Level Virtual Machine (LLVM)
ii  clang                                1:10.0-50~exp1                        amd64        C, C++ and Objective-C compiler (LLVM based)
ii  cargo                                0.47.0-1~exp1ubuntu1~20.04.1          amd64        Rust package manager
ii  rustc                                1.47.0+dfsg1+llvm-1ubuntu1~20.04.1    amd64        Rust systems programming language

When running
cargo -vv run "$PARITY_PATH/chains/ethereum/db/906a34e69aec8c0d/overlayrecent"
I'm getting:

error: failed to parse lock file at: /tmp/3.1-db-upgrade-tool/Cargo.lock

Caused by:
  invalid serialized PackageId for key `package.dependencies`
git rev-parse HEAD
cfd6838a0c750b881a251f67ed886725408cf3c6

I am not experienced with cargo or Rust, so the message have not much useful info for me. Can someone help me to fix it?

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

1 participant