-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Yank rand 0.7.1 due to failure to compile with unresolved rand_core::OsRng import #890
Comments
Also just ran into it, and I agree with @joshsleeper's assessment. Dependabot compatibility for the release is only 33%: https://dependabot.com/compatibility-score/?dependency-name=rand&package-manager=cargo&previous-version=0.7.0&new-version=0.7.1. |
Aha. Thanks for the report; sounds like we should fix this asap! |
I've pushed the version bump into #888. Since this only adds tests, it should be fine adding this into the release. |
Note: rand 0.7.1 has been yanked because of this bug which presents a significant trip hazard when updating |
Common issues
Problem: rand 0.7.1 is failing to compile with the following error:
Quick solutions:
cargo update
OR
cargo update --package rand_core
to force justrand_core
to updateDetails: A quick look and test makes me think (if I'm reading
Cargo.toml
correctly) this might be due torand 0.7.1
requiring changes fromrand_core 0.5.1
, but only technically depending onrand_core 0.5
?rand_core
dep requirement inCargo.toml
: https://github.com/rust-random/rand/blob/master/Cargo.toml#L57rand_core 0.5.1
changelog: https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#051---2019-08-28The text was updated successfully, but these errors were encountered: