Update rand requirement from 0.8.4 to 0.9.0 #695
Annotations
8 errors and 5 warnings
Run giraffate/clippy-action@v1:
examples/shapes_demo/main.rs#L263
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find function `thread_rng` in this scope
--> examples/shapes_demo/main.rs:263:24
|
263 | let mut random_gen = thread_rng();
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
6 + use rand::thread_rng;
|
Raw Output:
examples/shapes_demo/main.rs:263:24:e:error[E0425]: cannot find function `thread_rng` in this scope
--> examples/shapes_demo/main.rs:263:24
|
263 | let mut random_gen = thread_rng();
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
6 + use rand::thread_rng;
|
__END__
|
Run giraffate/clippy-action@v1:
examples/shapes_demo_mio_08/main.rs#L233
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find function `thread_rng` in this scope
--> examples/shapes_demo_mio_08/main.rs:233:24
|
233 | let mut random_gen = thread_rng();
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
7 + use rand::thread_rng;
|
Raw Output:
examples/shapes_demo_mio_08/main.rs:233:24:e:error[E0425]: cannot find function `thread_rng` in this scope
--> examples/shapes_demo_mio_08/main.rs:233:24
|
233 | let mut random_gen = thread_rng();
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
7 + use rand::thread_rng;
|
__END__
|
Run giraffate/clippy-action@v1:
examples/shapes_demo_mio_08/main.rs#L235
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo_mio_08/main.rs:235:22
|
235 | let mut x_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
7 + use std::random::random;
|
7 + use rand::random;
|
Raw Output:
examples/shapes_demo_mio_08/main.rs:235:22:e:error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo_mio_08/main.rs:235:22
|
235 | let mut x_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
7 + use std::random::random;
|
7 + use rand::random;
|
__END__
|
Run giraffate/clippy-action@v1:
examples/shapes_demo_mio_08/main.rs#L240
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo_mio_08/main.rs:240:22
|
240 | let mut y_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
7 + use std::random::random;
|
7 + use rand::random;
|
Raw Output:
examples/shapes_demo_mio_08/main.rs:240:22:e:error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo_mio_08/main.rs:240:22
|
240 | let mut y_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
7 + use std::random::random;
|
7 + use rand::random;
|
__END__
|
Run giraffate/clippy-action@v1:
examples/shapes_demo/main.rs#L265
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo/main.rs:265:22
|
265 | let mut x_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
6 + use std::random::random;
|
6 + use rand::random;
|
Raw Output:
examples/shapes_demo/main.rs:265:22:e:error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo/main.rs:265:22
|
265 | let mut x_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
6 + use std::random::random;
|
6 + use rand::random;
|
__END__
|
Run giraffate/clippy-action@v1
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
Run giraffate/clippy-action@v1:
examples/shapes_demo/main.rs#L270
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo/main.rs:270:22
|
270 | let mut y_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
6 + use std::random::random;
|
6 + use rand::random;
|
Raw Output:
examples/shapes_demo/main.rs:270:22:e:error[E0425]: cannot find function `random` in this scope
--> examples/shapes_demo/main.rs:270:22
|
270 | let mut y_vel = if random() {
| ^^^^^^ not found in this scope
|
help: consider importing one of these functions
|
6 + use std::random::random;
|
6 + use rand::random;
|
__END__
|
Run giraffate/clippy-action@v1
reviewdog exited with status code: 1
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run giraffate/clippy-action@v1:
src/dds/key.rs#L230
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> src/dds/key.rs:230:25
|
230 | let mut rng = rand::thread_rng();
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Raw Output:
src/dds/key.rs:230:25:w:warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
--> src/dds/key.rs:230:25
|
230 | let mut rng = rand::thread_rng();
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
__END__
|
Run giraffate/clippy-action@v1:
src/dds/key.rs#L232
[clippy] reported by reviewdog 🐶
warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> src/dds/key.rs:232:19
|
232 | value: [rng.gen(), rng.gen(), rng.gen()],
| ^^^
Raw Output:
src/dds/key.rs:232:19:w:warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> src/dds/key.rs:232:19
|
232 | value: [rng.gen(), rng.gen(), rng.gen()],
| ^^^
__END__
|
Run giraffate/clippy-action@v1:
src/dds/key.rs#L232
[clippy] reported by reviewdog 🐶
warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> src/dds/key.rs:232:30
|
232 | value: [rng.gen(), rng.gen(), rng.gen()],
| ^^^
Raw Output:
src/dds/key.rs:232:30:w:warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> src/dds/key.rs:232:30
|
232 | value: [rng.gen(), rng.gen(), rng.gen()],
| ^^^
__END__
|
Run giraffate/clippy-action@v1:
src/dds/key.rs#L232
[clippy] reported by reviewdog 🐶
warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> src/dds/key.rs:232:41
|
232 | value: [rng.gen(), rng.gen(), rng.gen()],
| ^^^
Raw Output:
src/dds/key.rs:232:41:w:warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024.
--> src/dds/key.rs:232:41
|
232 | value: [rng.gen(), rng.gen(), rng.gen()],
| ^^^
__END__
|
Loading