fix(deps): update rust crate rand to v0.9.2 #102
Annotations
22 errors and 8 warnings
the trait bound `rand_chacha::ChaCha20Rng: rand::SeedableRng` is not satisfied:
src/dleq.rs#L248
error[E0277]: the trait bound `rand_chacha::ChaCha20Rng: rand::SeedableRng` is not satisfied
--> src/dleq.rs:248:58
|
248 | let mut prng: ChaChaRng = SeedableRng::from_seed(seed);
| ^^^^ the trait `rand::SeedableRng` is not implemented for `rand_chacha::ChaCha20Rng`
|
note: there are multiple different versions of crate `rand_core` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:371:1
|
371 | pub trait SeedableRng: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/oprf.rs:3:5
|
3 | use curve25519_dalek::constants;
| ---------------- one version of crate `rand_core` used here, as a dependency of crate `curve25519_dalek`
...
10 | use rand::{CryptoRng, Rng};
| ---- one version of crate `rand_core` used here, as a dependency of crate `rand`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_chacha-0.3.1/src/chacha.rs:343:1
|
343 | chacha_impl!(ChaCha20Core, ChaCha20Rng, 10, "ChaCha with 20 rounds", abstract20);
| -------------------------------------------------------------------------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1
|
68 | pub trait BlockRngCore {
| ---------------------- this is the found trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_chacha-0.9.0/src/chacha.rs:332:1
|
332 | / chacha_impl!(
333 | | ChaCha20Core,
334 | | ChaCha20Rng,
335 | | 10,
336 | | "ChaCha with 20 rounds",
337 | | abstract20,
338 | | );
| |_- this type implements the required trait
= note: two types coming from two different versions of the same crate are different types even if they look the same
= help: you can use `cargo tree` to explore your dependency tree
|
the trait bound `rand_chacha::ChaCha20Rng: rand::SeedableRng` is not satisfied:
src/dleq.rs#L248
error[E0277]: the trait bound `rand_chacha::ChaCha20Rng: rand::SeedableRng` is not satisfied
--> src/dleq.rs:248:35
|
248 | let mut prng: ChaChaRng = SeedableRng::from_seed(seed);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rand::SeedableRng` is not implemented for `rand_chacha::ChaCha20Rng`
|
note: there are multiple different versions of crate `rand_core` in the dependency graph
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:371:1
|
371 | pub trait SeedableRng: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: src/oprf.rs:3:5
|
3 | use curve25519_dalek::constants;
| ---------------- one version of crate `rand_core` used here, as a dependency of crate `curve25519_dalek`
...
10 | use rand::{CryptoRng, Rng};
| ---- one version of crate `rand_core` used here, as a dependency of crate `rand`
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_chacha-0.3.1/src/chacha.rs:343:1
|
343 | chacha_impl!(ChaCha20Core, ChaCha20Rng, 10, "ChaCha with 20 rounds", abstract20);
| -------------------------------------------------------------------------------- this type doesn't implement the required trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1
|
68 | pub trait BlockRngCore {
| ---------------------- this is the found trait
|
::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rand_chacha-0.9.0/src/chacha.rs:332:1
|
332 | / chacha_impl!(
333 | | ChaCha20Core,
334 | | ChaCha20Rng,
335 | | 10,
336 | | "ChaCha with 20 rounds",
337 | | abstract20,
338 | | );
| |_- this type implements the required trait
= note: two types coming from two different versions of the same crate are different types even if they look the same
= help: you can use `cargo tree` to explore your dependency tree
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/dleq.rs#L50
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/dleq.rs:50:32
|
50 | let t = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::RngCore` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `RngCore`
|
48 | T: Rng + CryptoRng + rand_chacha::rand_core::RngCore,
| +++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/dleq.rs#L50
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/dleq.rs:50:32
|
50 | let t = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::CryptoRng` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `CryptoRng`
|
48 | T: Rng + CryptoRng + rand_chacha::rand_core::CryptoRng,
| +++++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/oprf.rs#L321
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/oprf.rs:321:32
|
321 | let k = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::RngCore` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `RngCore`
|
320 | pub fn random<T: Rng + CryptoRng + rand_chacha::rand_core::RngCore>(rng: &mut T) -> Self {
| +++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/oprf.rs#L321
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/oprf.rs:321:32
|
321 | let k = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::CryptoRng` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `CryptoRng`
|
320 | pub fn random<T: Rng + CryptoRng + rand_chacha::rand_core::CryptoRng>(rng: &mut T) -> Self {
| +++++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/oprf.rs#L151
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/oprf.rs:151:46
|
151 | let blinding_scalar = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::RngCore` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `RngCore`
|
149 | T: Rng + CryptoRng + rand_chacha::rand_core::RngCore,
| +++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/oprf.rs#L151
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/oprf.rs:151:46
|
151 | let blinding_scalar = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::CryptoRng` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `CryptoRng`
|
149 | T: Rng + CryptoRng + rand_chacha::rand_core::CryptoRng,
| +++++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/oprf.rs#L125
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/oprf.rs:125:46
|
125 | let blinding_scalar = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::RngCore` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `RngCore`
|
121 | T: Rng + CryptoRng + rand_chacha::rand_core::RngCore,
| +++++++++++++++++++++++++++++++++
|
the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied:
src/oprf.rs#L125
error[E0277]: the trait bound `T: rand_chacha::rand_core::CryptoRngCore` is not satisfied
--> src/oprf.rs:125:46
|
125 | let blinding_scalar = Scalar::random(rng);
| -------------- ^^^ the trait `rand_chacha::rand_core::CryptoRng` is not implemented for `T`
| |
| required by a bound introduced by this call
|
= note: required for `T` to implement `rand_chacha::rand_core::CryptoRngCore`
note: required by a bound in `curve25519_dalek::Scalar::random`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-4.1.3/src/scalar.rs:597:22
|
597 | pub fn random<R: CryptoRngCore + ?Sized>(rng: &mut R) -> Self {
| ^^^^^^^^^^^^^ required by this bound in `Scalar::random`
help: consider further restricting type parameter `T` with trait `CryptoRng`
|
121 | T: Rng + CryptoRng + rand_chacha::rand_core::CryptoRng,
| +++++++++++++++++++++++++++++++++++
|
CI (stable):
src/dleq.rs#L248
the trait bound `ChaCha20Rng: rand::SeedableRng` is not satisfied
|
CI (stable):
src/dleq.rs#L248
the trait bound `ChaCha20Rng: rand::SeedableRng` is not satisfied
|
CI (stable):
src/dleq.rs#L50
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/dleq.rs#L50
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/oprf.rs#L321
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/oprf.rs#L321
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/oprf.rs#L151
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/oprf.rs#L151
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/oprf.rs#L125
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (stable):
src/oprf.rs#L125
the trait bound `T: CryptoRngCore` is not satisfied
|
CI (nightly)
The operation was canceled.
|
CI (nightly)
The strategy configuration was canceled because "CI.stable" failed
|
CI (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
CI (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|