Skip to content

Update rand requirement from 0.9 to 0.10 #897

Update rand requirement from 0.9 to 0.10

Update rand requirement from 0.9 to 0.10 #897

Triggered via pull request February 9, 2026 07:13
Status Failure
Total duration 1m 50s
Artifacts

main.yml

on: pull_request
Matrix: CI
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Lint
Process completed with exit code 1.
no method named `random` found for struct `rand: tendril/examples/fuzz.rs#L80
prelude::ThreadRng` in the current scope::error[E0599]: no method named `random` found for struct `rand::prelude::ThreadRng` in the current scope --> tendril/examples/fuzz.rs:80:29 | 80 | let c = rng.random(); | ^^^^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.0/src/rng.rs:93:8 | 93 | fn random<T>(&mut self) -> T | ------ the method is available for `rand::prelude::ThreadRng` here | = help: items from traits can only be used if the trait is in scope help: there is a method `random_bool` with a similar name, but with different arguments --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.10.0/src/rng.rs:189:5 | 189 | fn random_bool(&mut self, p: f64) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: trait `RngExt` which provides `random` is implemented but not in scope; perhaps you want to import it | 11 + use rand::RngExt; |
CI (stable)
Process completed with exit code 101.
CI (beta)
The strategy configuration was canceled because "build-and-test.stable" failed
CI (beta)
The operation was canceled.