[INFO] fetching crate lms-signature 0.0.1... [INFO] checking lms-signature-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate lms-signature 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate lms-signature 0.0.1 [INFO] finished tweaking crates.io crate lms-signature 0.0.1 [INFO] tweaked toml for crates.io crate lms-signature 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lms-signature 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding digest v0.11.0-pre.10 (available: v0.11.0-rc.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.2.0) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.3 [INFO] [stderr] Downloaded hybrid-array v0.3.1 [INFO] [stderr] Downloaded digest v0.11.0-pre.10 [INFO] [stderr] Downloaded signature v2.3.0-pre.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9d3cc000c97a78da6110dead2fb9782eff63b826defe1bd15ec3d816bb6e409 [INFO] running `Command { std: "docker" "start" "-a" "e9d3cc000c97a78da6110dead2fb9782eff63b826defe1bd15ec3d816bb6e409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9d3cc000c97a78da6110dead2fb9782eff63b826defe1bd15ec3d816bb6e409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d3cc000c97a78da6110dead2fb9782eff63b826defe1bd15ec3d816bb6e409", kill_on_drop: false }` [INFO] [stdout] e9d3cc000c97a78da6110dead2fb9782eff63b826defe1bd15ec3d816bb6e409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7e16ba774b2c35d04b89a37982893854e4fef8ea1fd9477af74a8a5d971070 [INFO] running `Command { std: "docker" "start" "-a" "0c7e16ba774b2c35d04b89a37982893854e4fef8ea1fd9477af74a8a5d971070", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hybrid-array v0.3.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crypto-common v0.2.0-rc.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking digest v0.11.0-pre.10 [INFO] [stderr] Checking signature v2.3.0-pre.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lms-signature v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ots/modes.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|&x| ((1u16 << Self::W) - 1 - (x as u16))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - .map(|&x| ((1u16 << Self::W) - 1 - (x as u16))) [INFO] [stdout] 57 + .map(|&x| (1u16 << Self::W) - 1 - (x as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0643]: method `try_sign_with_rng` has incompatible signature for trait [INFO] [stdout] --> src/lms/private.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | rng: &mut impl rand_core::CryptoRngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected generic parameter, found `impl Trait` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | - declaration in trait here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ots/modes.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|&x| ((1u16 << Self::W) - 1 - (x as u16))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - .map(|&x| ((1u16 << Self::W) - 1 - (x as u16))) [INFO] [stdout] 57 + .map(|&x| (1u16 << Self::W) - 1 - (x as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0643]: method `try_sign_with_rng` has incompatible signature for trait [INFO] [stdout] --> src/lms/private.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | rng: &mut impl rand_core::CryptoRngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected generic parameter, found `impl Trait` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | - declaration in trait here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0643]: method `try_sign_with_rng` has incompatible signature for trait [INFO] [stdout] --> src/ots/private.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | rng: &mut impl CryptoRngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected generic parameter, found `impl Trait` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | - declaration in trait here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl rand_core::CryptoRngCore: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/lms/private.rs:119:54 [INFO] [stdout] | [INFO] [stdout] 119 | let ots_sig = ots_priv_key.try_sign_with_rng(rng, msg)?; [INFO] [stdout] | ----------------- ^^^ the trait `DerefMut` is not implemented for `impl rand_core::CryptoRngCore` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `impl rand_core::CryptoRngCore` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `impl rand_core::CryptoRngCore` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] help: consider restricting opaque type `impl rand_core::CryptoRngCore` with trait `DerefMut` [INFO] [stdout] | [INFO] [stdout] 110 | rng: &mut impl rand_core::CryptoRngCore + std::ops::DerefMut, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0643]: method `try_sign_with_rng` has incompatible signature for trait [INFO] [stdout] --> src/ots/private.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | rng: &mut impl CryptoRngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected generic parameter, found `impl Trait` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | - declaration in trait here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl rand_core::CryptoRngCore: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/lms/private.rs:119:54 [INFO] [stdout] | [INFO] [stdout] 119 | let ots_sig = ots_priv_key.try_sign_with_rng(rng, msg)?; [INFO] [stdout] | ----------------- ^^^ the trait `DerefMut` is not implemented for `impl rand_core::CryptoRngCore` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `impl rand_core::CryptoRngCore` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `impl rand_core::CryptoRngCore` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] help: consider restricting opaque type `impl rand_core::CryptoRngCore` with trait `DerefMut` [INFO] [stdout] | [INFO] [stdout] 110 | rng: &mut impl rand_core::CryptoRngCore + std::ops::DerefMut, [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConstantRng<'_>: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/lms/private.rs:353:32 [INFO] [stdout] | [INFO] [stdout] 353 | .try_sign_with_rng(&mut rng, msg) [INFO] [stdout] | ----------------- ^^^^^^^^ the trait `DerefMut` is not implemented for `ConstantRng<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub trait TryCryptoRng: TryRngCore {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lms/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use signature::Keypair; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a dependency of crate `signature` [INFO] [stdout] | [INFO] [stdout] ::: src/ots/private.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_core::CryptoRngCore; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/ots/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ConstantRng<'a>(pub &'a [u8]); [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `ConstantRng<'_>` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `ConstantRng<'_>` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0643. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lms-signature` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: signature::rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/lms/signature.rs:273:36 [INFO] [stdout] | [INFO] [stdout] 273 | let sig = sk.sign_with_rng(&mut rng, msg); [INFO] [stdout] | ------------- ^^^^^^^^ the trait `DerefMut` is not implemented for `ThreadRng` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait CryptoRng: RngCore {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lms/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use signature::Keypair; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a dependency of crate `signature` [INFO] [stdout] | [INFO] [stdout] ::: src/ots/private.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_core::CryptoRngCore; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `ThreadRng` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | fn sign_with_rng(&mut self, rng: &mut R, msg: &[u8]) -> S { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RandomizedSignerMut::sign_with_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/lms/mod.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | let sig = sk.try_sign_with_rng(&mut rng, msg); [INFO] [stdout] | ----------------- ^^^^^^^^ the trait `DerefMut` is not implemented for `ThreadRng` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub trait TryCryptoRng: TryRngCore {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lms/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use signature::Keypair; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a dependency of crate `signature` [INFO] [stdout] | [INFO] [stdout] ::: src/ots/private.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_core::CryptoRngCore; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `ThreadRng` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `ThreadRng` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/ots/mod.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | let sig = sk.try_sign_with_rng(&mut rng, msg); [INFO] [stdout] | ----------------- ^^^^^^^^ the trait `DerefMut` is not implemented for `ThreadRng` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub trait TryCryptoRng: TryRngCore {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lms/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use signature::Keypair; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a dependency of crate `signature` [INFO] [stdout] | [INFO] [stdout] ::: src/ots/private.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_core::CryptoRngCore; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `ThreadRng` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `ThreadRng` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/ots/mod.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | let sig = sk.try_sign_with_rng(&mut rng, msg); [INFO] [stdout] | ----------------- ^^^^^^^^ the trait `DerefMut` is not implemented for `ThreadRng` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub trait TryCryptoRng: TryRngCore {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lms/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use signature::Keypair; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a dependency of crate `signature` [INFO] [stdout] | [INFO] [stdout] ::: src/ots/private.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_core::CryptoRngCore; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/thread.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ThreadRng { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `ThreadRng` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `ThreadRng` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConstantRng<'_>: TryCryptoRng` is not satisfied [INFO] [stdout] --> src/ots/mod.rs:176:40 [INFO] [stdout] | [INFO] [stdout] 176 | let sig = sk.try_sign_with_rng(&mut rng, msg).unwrap(); [INFO] [stdout] | ----------------- ^^^^^^^^ the trait `DerefMut` is not implemented for `ConstantRng<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub trait TryCryptoRng: TryRngCore {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lms/keypair.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use signature::Keypair; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a dependency of crate `signature` [INFO] [stdout] | [INFO] [stdout] ::: src/ots/private.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand_core::CryptoRngCore; [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/ots/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ConstantRng<'a>(pub &'a [u8]); [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `ConstantRng<'_>` to implement `signature::rand_core::CryptoRng` [INFO] [stdout] = note: required for `ConstantRng<'_>` to implement `TryCryptoRng` [INFO] [stdout] note: required by a bound in `signature::RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/signature-2.3.0-pre.7/src/signer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | fn try_sign_with_rng( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `RandomizedSignerMut::try_sign_with_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lms-signature` (lib test) due to 9 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0277, E0643. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c7e16ba774b2c35d04b89a37982893854e4fef8ea1fd9477af74a8a5d971070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7e16ba774b2c35d04b89a37982893854e4fef8ea1fd9477af74a8a5d971070", kill_on_drop: false }` [INFO] [stdout] 0c7e16ba774b2c35d04b89a37982893854e4fef8ea1fd9477af74a8a5d971070