-
Notifications
You must be signed in to change notification settings - Fork 289
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
Dependent crates with lesser versions are being used by rust-skeptic #542
Comments
I've determined that nightly is picking up the build-dependency skeptic having tempdir having rand 4 as a dependency and using an older version (not a newer one like previously thought). Could be a bug in the rust-skeptic internals. |
Looks like tempdir is deprecated in favor of tempfile (which uses rand 0.7). I'm going to fork skeptic and try and make it work with tempfile. |
now its |
Currently we are working around this issue by ignoring the nondeterministic failures. |
6 | use rand::distributions::Alphanumeric;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no
Alphanumeric
indistributions
error[E0599]: no method named
sample
found for typerand::ThreadRng
in the current scope--> /tmp/rust-skeptic.lV2m9aQedOqB/test.rs:13:29
|
13 | *p = (0..5).map(|_| rng.sample(&Alphanumeric)).collect()
| ^^^^^^
5 | use rand::distributions::{Distribution, Uniform};
| ^^^^^^^^^^^^ ^^^^^^^ no
Uniform
indistributions
| |
| no
Distribution
indistributions
warning: unused import:
Rng
--> /tmp/rust-skeptic.NnKO8W2SxQw2/test.rs:4:24
|
4 | use rand::{thread_rng, Rng};
| ^^^
|
= note:
#[warn(unused_imports)]
on by defaulterror[E0599]: no method named
sample_iter
found for typerand::ThreadRng
in the current scope--> /tmp/rust-skeptic.NnKO8W2SxQw2/test.rs:9:10
|
9 | .sample_iter(&Alphanumeric)
|
The text was updated successfully, but these errors were encountered: