Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build v1.6.0 with instructions in the README.md #294

Closed
haxwithaxe opened this issue Dec 25, 2023 · 1 comment · Fixed by #295
Closed

Can't build v1.6.0 with instructions in the README.md #294

haxwithaxe opened this issue Dec 25, 2023 · 1 comment · Fixed by #295

Comments

@haxwithaxe
Copy link

haxwithaxe commented Dec 25, 2023

This is just a heads-up/notes for anyone else who hits this. It's fixed in main. It looks like one of the dependencies pulled the version required by this project or one of it's dependencies.

hax@debian-12:~$ cargo install --git https://github.com/tonarino/innernet --tag v1.6.0 server
    Updating git repository `https://github.com/tonarino/innernet`
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
  Installing server v1.6.0 (https://github.com/tonarino/innernet?tag=v1.6.0#8d058c8d)
    Updating crates.io index
error: failed to compile `server v1.6.0 (https://github.com/tonarino/innernet?tag=v1.6.0#8d058c8d)`, intermediate artifacts can be found at `/tmp/cargo-installUNtsMJ`.
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 `x25519-dalek = "=2.0.0-rc.2"`
  candidate versions found which didn't match: 2.0.0, 2.0.0-rc.3, 2.0.0-pre.1, ...
  location searched: crates.io index
  required by package `wireguard-control v1.6.0 (/home/hax/.cargo/git/checkouts/innernet-e473261454a9fbf4/8d058c8/wireguard-control)`
      ... which satisfies path dependency `wireguard-control` of package `server v1.6.0 (/home/hax/.cargo/git/checkouts/innernet-e473261454a9fbf4/8d058c8/server)`
  if you are looking for the prerelease package it needs to be specified explicitly
      x25519-dalek = { version = "2.0.0-rc.3" }
  perhaps a crate was updated and forgotten to be re-vendored?

The workaround I used is cargo install --git https://github.com/tonarino/innernet --branch main server.

A patch release would be nice but obviously there are other options for people to install this.

This looks like a nice project so far. This is as far as I've gotten so I can't say much more. Thanks for making this :)

@haxwithaxe haxwithaxe changed the title Can't build v1.60.0 with instructions in the README.md Can't build v1.6.0 with instructions in the README.md Dec 25, 2023
@bschwind
Copy link
Member

Thanks for the issue report! I actually ran into this recently as well, and I very irresponsibly didn't file an issue 😅

I'll try to get a patch release published soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants