pontem-network / dove

šŸ› ļø Diem/Pontem Move package manager
MIT License
35 stars 13 forks source link

"cargo install --path dove" broke recently #127

Closed villesundell closed 3 years ago

villesundell commented 3 years ago

Hello! Until recently, I was able to install Dove by running: cargo install --path dove. However, it does not work anymore, resulting:

āžœ  move-tools git:(9283954) āœ— cargo install --path dove
  Installing dove v1.3.0 (/home/ville/projects/move-tools/dove)
    Updating crates.io index
    Updating git repository `https://github.com/pontem-network/diem.git`
    Updating git repository `https://github.com/scs/substrate-api-client.git`
error: failed to compile `dove v1.3.0 (/home/ville/projects/move-tools/dove)`, intermediate artifacts can be found at `/home/ville/projects/move-tools/target`

Caused by:
  failed to select a version for the requirement `crypto-mac = "^0.7"`
  candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
  location searched: crates.io index
  required by package `hmac v0.7.0`
      ... which is depended on by `hmac-drbg v0.2.0`
      ... which is depended on by `libsecp256k1 v0.3.4`
      ... which is depended on by `sp-io v2.0.0`
      ... which is depended on by `substrate-api-client v0.4.9-sub2.0.0 (https://github.com/scs/substrate-api-client.git?rev=62afbac0be1928681d8c70565fa0cc39a92cf4c8#62afbac0)`
      ... which is depended on by `net v0.1.0 (/home/ville/projects/move-tools/net)`
      ... which is depended on by `dove v1.3.0 (/home/ville/projects/move-tools/dove)`

However, this does not seem to be problem with move-tools since this does not work on tag 1.2.8, which used to work just fine. I have now tried 1.3.0, 1.2.8 and 44c7e88 but to no avail. 1.2.8 and 44c7e88 used to work, I even have 44c7e88 installed:

āžœ  taohe git:(master) āœ— dove --version
Dove 1.3.0-44c7e88

But as said, this does not seem to be move-tools problem, but just reporting this, in case you guys can do something about it :slightly_smiling_face:

vladimirovmm commented 3 years ago

Thank you for your feedback. We are solving this problem.