Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

cargo install subkey fails #9874

Closed
TriplEight opened this issue Sep 27, 2021 · 3 comments · Fixed by #9900
Closed

cargo install subkey fails #9874

TriplEight opened this issue Sep 27, 2021 · 3 comments · Fixed by #9900
Assignees
Labels
I6-documentation Documentation needs fixing, improving or augmenting.

Comments

@TriplEight
Copy link
Contributor

Rust versions:

   stable-x86_64-unknown-linux-gnu updated - rustc 1.55.0 (c8dfcfe04 2021-09-06) (from rustc 1.54.0 (a178d0322 2021-07-26))
  nightly-x86_64-unknown-linux-gnu updated - rustc 1.57.0-nightly (05044c2e6 2021-09-26) (from rustc 1.56.0-nightly (ae90dcf02 2021-08-09))

Output:

$ cargo install subkey                                                                                                                                                                               

    Updating crates.io index
  Installing subkey v2.0.1
error: failed to compile `subkey v2.0.1`, intermediate artifacts can be found at `/tmp/cargo-installLQeE0M`

Caused by:
  failed to select a version for `snow`.
      ... required by package `libp2p-noise v0.29.0`
      ... which satisfies dependency `libp2p-noise = "^0.29.0"` of package `libp2p v0.34.0`
      ... which satisfies dependency `libp2p = "^0.34.0"` of package `sc-cli v0.9.0`
      ... which satisfies dependency `sc-cli = "^0.9.0"` of package `subkey v2.0.1`
  versions that meet the requirements `^0.7.1` are: 0.7.2, 0.7.1

  all possible versions conflict with previously selected packages.

    previously selected package `snow v0.7.1`
      ... which satisfies dependency `snow = "^0.7.1"` of package `libp2p-noise v0.29.0`
      ... which satisfies dependency `libp2p-noise = "^0.29.0"` of package `libp2p v0.34.0`
      ... which satisfies dependency `libp2p = "^0.34.0"` of package `sc-cli v0.9.0`
      ... which satisfies dependency `sc-cli = "^0.9.0"` of package `subkey v2.0.1`

  failed to select a version for `snow` which could resolve this conflict
@TriplEight TriplEight added the I3-bug The node fails to follow expected behavior. label Sep 27, 2021
@bkchr
Copy link
Member

bkchr commented Sep 27, 2021

You need to install it from git.

cargo install --git https://github.com/paritytech/substrate.git --locked subkey

@bkchr bkchr removed the I3-bug The node fails to follow expected behavior. label Sep 27, 2021
@TriplEight TriplEight added the I6-documentation Documentation needs fixing, improving or augmenting. label Sep 28, 2021
@TriplEight
Copy link
Contributor Author

Neither of the installation methods is mentioned in the manual

@bkchr
Copy link
Member

bkchr commented Sep 28, 2021

Yeah than open a pr to add this please.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I6-documentation Documentation needs fixing, improving or augmenting.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants