Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

cargo cannot resolve dependency #597

Closed
goldkehlchen opened this issue Oct 28, 2020 · 3 comments
Closed

cargo cannot resolve dependency #597

goldkehlchen opened this issue Oct 28, 2020 · 3 comments

Comments

@goldkehlchen
Copy link

goldkehlchen commented Oct 28, 2020

Unfortunately cargo install lucetc fails immediately:

Updating crates.io index
Installing lucetc v0.6.1
error: failed to compile `lucetc v0.6.1`, intermediate artifacts can be found at `/tmp/cargo-installg4Nr8d`

Caused by:
  failed to select a version for the requirement `wabt = "^0.9.2"`
  candidate versions found which didn't match: 0.10.0, 0.9.1, 0.9.0, ...
  location searched: crates.io index
  required by package `lucetc v0.6.1`
@jedisct1
Copy link
Contributor

If you recently updated the main repository, you should update the submodules as well:

git submodule update --init

@jedisct1
Copy link
Contributor

Scratch that. If you used cargo install, the issue is rather that we forgot to update some packages on crates.io, oops!

Thanks for reporting this. It will be fixed as soon as possible.

Meanwhile the easiest way to install Lucet is to clone this repository and use make install.

@jedisct1
Copy link
Contributor

Update: wabt 0.9.2, that lucetc depends on, was yanked by its author.

In the current development version of lucet, that dependency was changed back to version 0.9.1. So, compiling directly from this directory should work as expected.

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

2 participants