build(deps): bump rand from 0.8.5 to 0.9.0 #1278
Annotations
11 errors
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L29
error[E0432]: unresolved import `rand::distributions`
--> linkerd/http/route/src/http/filter/inject_failure.rs:29:19
|
29 | use rand::distributions::Distribution;
| ^^^^^^^^^^^^^ could not find `distributions` in `rand`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L29
error[E0432]: unresolved import `rand::distributions`
--> linkerd/http/route/src/http/filter/inject_failure.rs:29:19
|
29 | use rand::distributions::Distribution;
| ^^^^^^^^^^^^^ could not find `distributions` in `rand`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L22
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:22:18
|
22 | inner: rand::distributions::Bernoulli,
| ^^^^^^^^^^^^^
| |
| could not find `distributions` in `rand`
| help: a trait with a similar name exists: `Distribution`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L46
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:46:29
|
46 | ) -> Result<Self, rand::distributions::BernoulliError> {
| ^^^^^^^^^^^^^
| |
| could not find `distributions` in `rand`
| help: a trait with a similar name exists: `Distribution`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L62
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:62:12
|
62 | impl rand::distributions::Distribution<bool> for Distribution {
| ^^^^^^^^^^^^^
| |
| could not find `distributions` in `rand`
| help: a trait with a similar name exists: `Distribution`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L47
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:47:27
|
47 | let inner = rand::distributions::Bernoulli::from_ratio(numerator, denominator)?;
| ^^^^^^^^^^^^^ could not find `distributions` in `rand`
|
help: consider importing this struct
|
1 + use rand::distr::Bernoulli;
|
help: if you import `Bernoulli`, refer to it directly
|
47 - let inner = rand::distributions::Bernoulli::from_ratio(numerator, denominator)?;
47 + let inner = Bernoulli::from_ratio(numerator, denominator)?;
|
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L22
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:22:18
|
22 | inner: rand::distributions::Bernoulli,
| ^^^^^^^^^^^^^
| |
| could not find `distributions` in `rand`
| help: a trait with a similar name exists: `Distribution`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L46
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:46:29
|
46 | ) -> Result<Self, rand::distributions::BernoulliError> {
| ^^^^^^^^^^^^^
| |
| could not find `distributions` in `rand`
| help: a trait with a similar name exists: `Distribution`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L62
error[E0433]: failed to resolve: could not find `distributions` in `rand`
--> linkerd/http/route/src/http/filter/inject_failure.rs:62:12
|
62 | impl rand::distributions::Distribution<bool> for Distribution {
| ^^^^^^^^^^^^^
| |
| could not find `distributions` in `rand`
| help: a trait with a similar name exists: `Distribution`
|
Run just check-crate linkerd-http-route:
linkerd/http/route/src/http/filter/inject_failure.rs#L31
error: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> linkerd/http/route/src/http/filter/inject_failure.rs:31:48
|
31 | if self.distribution.sample(&mut rand::thread_rng()) {
| ^^^^^^^^^^
|
= note: requested on the command line with `-D deprecated`
|
Loading