build(deps): bump rand from 0.8.5 to 0.9.0 #1278
Annotations
11 errors
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L6
error: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> linkerd/exp-backoff/src/lib.rs:6:28
|
6 | use rand::{rngs::SmallRng, thread_rng, SeedableRng};
| ^^^^^^^^^^
|
= note: requested on the command line with `-D deprecated`
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L6
error: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> linkerd/exp-backoff/src/lib.rs:6:28
|
6 | use rand::{rngs::SmallRng, thread_rng, SeedableRng};
| ^^^^^^^^^^
|
= note: requested on the command line with `-D deprecated`
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L77
error: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> linkerd/exp-backoff/src/lib.rs:77:42
|
77 | rng: SmallRng::from_rng(&mut thread_rng()).expect("RNG must be valid"),
| ^^^^^^^^^^
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L77
error: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> linkerd/exp-backoff/src/lib.rs:77:42
|
77 | rng: SmallRng::from_rng(&mut thread_rng()).expect("RNG must be valid"),
| ^^^^^^^^^^
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L215
error: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> linkerd/exp-backoff/src/lib.rs:215:53
|
215 | let j = backoff.jitter(base, &mut rand::thread_rng());
| ^^^^^^^^^^
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L77
error[E0599]: no method named `expect` found for struct `SmallRng` in the current scope
--> linkerd/exp-backoff/src/lib.rs:77:56
|
77 | rng: SmallRng::from_rng(&mut thread_rng()).expect("RNG must be valid"),
| ^^^^^^ method not found in `SmallRng`
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L106
error: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> linkerd/exp-backoff/src/lib.rs:106:37
|
106 | let jitter_factor = rng.gen::<f64>();
| ^^^
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L77
error[E0599]: no method named `expect` found for struct `SmallRng` in the current scope
--> linkerd/exp-backoff/src/lib.rs:77:56
|
77 | rng: SmallRng::from_rng(&mut thread_rng()).expect("RNG must be valid"),
| ^^^^^^ method not found in `SmallRng`
|
Run just check-crate linkerd-exp-backoff:
linkerd/exp-backoff/src/lib.rs#L106
error: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> linkerd/exp-backoff/src/lib.rs:106:37
|
106 | let jitter_factor = rng.gen::<f64>();
| ^^^
|
Run just check-crate linkerd-exp-backoff
Process completed with exit code 1.
|
Loading