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

installation (dependency) issue from cargo test --release #8

Closed
pdimens opened this issue Feb 1, 2021 · 2 comments
Closed

installation (dependency) issue from cargo test --release #8

pdimens opened this issue Feb 1, 2021 · 2 comments

Comments

@pdimens
Copy link

pdimens commented Feb 1, 2021

I created a conda environment with rust and cargo in it and when following the installation instructions I was hit with a dependency error. Is this something you have seen before?

> cargo test --release
warning: unused manifest key: package.edition
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: An unknown error occurred

Caused by:
  Feature `std_rng` depends on `rand_hc` which is not an optional dependency.
Consider adding `optional = true` to the dependency

To learn more, run the command again with --verbose.
@holtjma
Copy link
Member

holtjma commented Feb 1, 2021

I have not, but this looks like some sort of issue with cargo, the network, or maybe the environment. Maybe try some of the things in this thread like deleting the registry?

@pdimens
Copy link
Author

pdimens commented Feb 2, 2021

It seems to work with a system-wide rust/cargo install, but not with the directions of the thread, likely because I didn't clear the right registry and couldnt hunt down the alternative. Thanks!

@pdimens pdimens closed this as completed Feb 2, 2021
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

2 participants