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

Build Auxin-cli Error: failed to select a version for the requirement curve25519-dalek = "^2.0.0" #219

Open
YuPototo opened this issue May 22, 2022 · 5 comments

Comments

@YuPototo
Copy link

YuPototo commented May 22, 2022

when I run cargo build --release, follow error happens:

error: failed to select a version for the requirement curve25519-dalek = "^2.0.0"
candidate versions found which didn't match: 3.2.1
location searched: Git repository https://github.com/signalapp/curve25519-dalek.git?branch=lizard2
required by package zkgroup v0.9.0 (https://github.com/signalapp/zkgroup?tag=v0.9.0#e6e53bf6)
... which satisfies git dependency zkgroup of package auxin v0.2.0 (/Users/qinyu/job/alf/singal_bot/auxin/auxin)

I have tried both Mac and Linux, same error.
What can I do?

@cxloe
Copy link
Contributor

cxloe commented May 23, 2022

Are you using rust nightly?
rustup default nightly

@YuPototo
Copy link
Author

YuPototo commented May 23, 2022 via email

@trunkafunk
Copy link

trunkafunk commented May 23, 2022 via email

@cxloe
Copy link
Contributor

cxloe commented May 30, 2022

Oh! you're probably building from the auxin_cli folder. Use cargo run to start it from the root directory.

@i-infra
Copy link
Contributor

i-infra commented Dec 8, 2023

Last line of Cargo.toml should read:

"curve25519-dalek" = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.0.0' }

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

No branches or pull requests

4 participants