Skip to content

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

Description

@vanch

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions