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

duplicate key: version #48

Open
herrgahr opened this issue Feb 28, 2019 · 2 comments
Open

duplicate key: version #48

herrgahr opened this issue Feb 28, 2019 · 2 comments

Comments

@herrgahr
Copy link

Hi!
I wanted to generate a dependency graph for mn mnemonic but cargo-graph gives me the error

File { fd: 3, path: "/home/swym/tmp/mnemonic/Cargo.toml", read: true, write: false }:11:1-11:8 duplicate key: version

I failed to find a duplicate version key manually and also tomlcheck confirms that Cargo.lock seems fine.

gh won't let me attach Cargo.lock but you should be able to reproduce by git cloning mnemonic...

@remram44
Copy link
Contributor

cargo-graph is way out of date, so unless you are using an old version of cargo, it won't work for you. See also #40, this might be the same issue.

@m-cat has a fork, cargo-deps, that is maintained and up-to-date: you should check whether that works for you.

@mrcnski
Copy link

mrcnski commented Feb 28, 2019

Hmm, I can't reproduce that error on that crate using cargo-graph, did you modify Cargo.toml or Cargo.lock locally? What is the full command you are running?

But yeah, generally you should encounter fewer errors if you use cargo-deps. And if you do happen to find an error, let me know.

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

3 participants