oppiliappan/dijo

failed to select a version for the requirement `ahash = "^0.6"`

Opened this issue · 2 comments

mrusme commented

Maybe the cargo package could be updated to fix the following build issue so dijo remains usable:

    Updating crates.io index
  Installing dijo v0.2.7
    Updating crates.io index
error: failed to compile `dijo v0.2.7`, intermediate artifacts can be found at `/tmp/cargo-installWvweEn`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to select a version for the requirement `ahash = "^0.6"`
  candidate versions found which didn't match: 0.8.7, 0.8.6, 0.8.5, ...
  location searched: crates.io index
  required by package `cursive v0.16.0`
      ... which satisfies dependency `cursive = "^0.16"` of package `dijo v0.2.7`
  perhaps a crate was updated and forgotten to be re-vendored?

I'm running into this issue as well. Unsure how to fix.

I was running into this issue initially, as I was also needing to download Rust to start the Dijo download. Restarting the Terminal resolved the issue. I believe the environment variables from Rust needed to be restarted in order to load.