[INFO] cloning repository https://github.com/madninja/helium-crypto-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/madninja/helium-crypto-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadninja%2Fhelium-crypto-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadninja%2Fhelium-crypto-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c197d1982f316c79ffd17e3e20d4e4ed598d002 [INFO] checking madninja/helium-crypto-rs/8c197d1982f316c79ffd17e3e20d4e4ed598d002 against master#9d28fe39763974a96d61232e96ac856735e4cdd6 for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmadninja%2Fhelium-crypto-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/madninja/helium-crypto-rs on toolchain 9d28fe39763974a96d61232e96ac856735e4cdd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/madninja/helium-crypto-rs [INFO] finished tweaking git repo https://github.com/madninja/helium-crypto-rs [INFO] tweaked toml for git repo https://github.com/madninja/helium-crypto-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 397 packages to latest compatible versions [INFO] [stderr] Adding ed25519 v2.2.2 (available: v2.2.3) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] [stderr] Adding k256 v0.10.4 (available: v0.13.4) [INFO] [stderr] Adding multihash v0.18.1 (available: v0.19.3) [INFO] [stderr] Adding p256 v0.10.1 (available: v0.13.2) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding rsa v0.4.1 (available: v0.9.8) [INFO] [stderr] Adding signature v1.4.0 (available: v1.6.4) [INFO] [stderr] Adding solana-sdk v1.18.26 (available: v2.2.2) [INFO] [stderr] Adding sqlx v0.8.0 (available: v0.8.3) [INFO] [stderr] Adding sqlx-core v0.8.0 (available: v0.8.3) [INFO] [stderr] Adding sqlx-macros v0.8.0 (available: v0.8.3) [INFO] [stderr] Adding sqlx-macros-core v0.8.0 (available: v0.8.3) [INFO] [stderr] Adding sqlx-postgres v0.8.0 (available: v0.8.3) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mbox v0.7.1 [INFO] [stderr] Downloaded serde_bytes v0.11.17 [INFO] [stderr] Downloaded oid v0.2.1 [INFO] [stderr] Downloaded picky-asn1 v0.8.0 [INFO] [stderr] Downloaded picky-asn1-der v0.4.1 [INFO] [stderr] Downloaded sqlx v0.8.0 [INFO] [stderr] Downloaded bitfield-macros v0.19.0 [INFO] [stderr] Downloaded drop_guard v0.3.0 [INFO] [stderr] Downloaded resize-slice v0.1.3 [INFO] [stderr] Downloaded sqlx-macros v0.8.0 [INFO] [stderr] Downloaded tss-esapi-sys v0.5.0 [INFO] [stderr] Downloaded bitfield v0.19.0 [INFO] [stderr] Downloaded blake2s_simd v1.0.3 [INFO] [stderr] Downloaded serialport v4.7.1 [INFO] [stderr] Downloaded ecc608-linux v0.2.3 [INFO] [stderr] Downloaded blake3 v1.8.1 [INFO] [stderr] Downloaded sqlx-core v0.8.0 [INFO] [stderr] Downloaded tss-esapi v7.6.0 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] [stderr] Downloaded num-bigint-dig v0.7.1 [INFO] [stderr] Downloaded sqlx-postgres v0.8.0 [INFO] [stderr] Downloaded picky-asn1-x509 v0.12.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.0 [INFO] [stderr] Downloaded i2c-linux-sys v0.2.1 [INFO] [stderr] Downloaded uninitialized v0.0.2 [INFO] [stderr] Downloaded i2c-linux v0.1.2 [INFO] [stderr] Downloaded unescaper v0.1.5 [INFO] [stderr] Downloaded blake2b_simd v1.0.3 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16094dc07b7b4d3b121bc9c0b4fee647e5c155166a9fdd977fd9f3d55275d362 [INFO] running `Command { std: "docker" "start" "-a" "16094dc07b7b4d3b121bc9c0b4fee647e5c155166a9fdd977fd9f3d55275d362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16094dc07b7b4d3b121bc9c0b4fee647e5c155166a9fdd977fd9f3d55275d362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16094dc07b7b4d3b121bc9c0b4fee647e5c155166a9fdd977fd9f3d55275d362", kill_on_drop: false }` [INFO] [stdout] 16094dc07b7b4d3b121bc9c0b4fee647e5c155166a9fdd977fd9f3d55275d362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5238db646b40eca59ee6757e73f0290f1eede097c6c585e5e54645991bd1c5e2 [INFO] running `Command { std: "docker" "start" "-a" "5238db646b40eca59ee6757e73f0290f1eede097c6c585e5e54645991bd1c5e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ct-codecs v1.1.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [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 hmac v0.11.0 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking simple_asn1 v0.5.4 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking rsa v0.4.1 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking helium-crypto v0.8.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/ecc_compact/mod.rs:276:59 [INFO] [stdout] | [INFO] [stdout] 276 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ecc_compact::Keypair::generate` [INFO] [stdout] --> src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 84 | where [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/ecc_compact/mod.rs:276:59 [INFO] [stdout] | [INFO] [stdout] 276 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ecc_compact::Keypair::generate` [INFO] [stdout] --> src/ecc_compact/mod.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 84 | where [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/ecc_compact/mod.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ecc_compact::Keypair::generate` [INFO] [stdout] --> src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 84 | where [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/ecc_compact/mod.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ecc_compact::Keypair::generate` [INFO] [stdout] --> src/ecc_compact/mod.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 84 | where [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/ed25519/mod.rs:272:59 [INFO] [stdout] | [INFO] [stdout] 272 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ed25519::Keypair::generate` [INFO] [stdout] --> src/ed25519/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/ed25519/mod.rs:272:59 [INFO] [stdout] | [INFO] [stdout] 272 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ed25519::Keypair::generate` [INFO] [stdout] --> src/ed25519/mod.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/ed25519/mod.rs:283:59 [INFO] [stdout] | [INFO] [stdout] 283 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ed25519::Keypair::generate` [INFO] [stdout] --> src/ed25519/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/ed25519/mod.rs:283:59 [INFO] [stdout] | [INFO] [stdout] 283 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ed25519::Keypair::generate` [INFO] [stdout] --> src/ed25519/mod.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/ed25519/mod.rs:291:59 [INFO] [stdout] | [INFO] [stdout] 291 | let keypair = Keypair::generate(Network::TestNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ed25519::Keypair::generate` [INFO] [stdout] --> src/ed25519/mod.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/ed25519/mod.rs:291:59 [INFO] [stdout] | [INFO] [stdout] 291 | let keypair = Keypair::generate(Network::TestNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ed25519::Keypair::generate` [INFO] [stdout] --> src/ed25519/mod.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/secp256k1/mod.rs:295:59 [INFO] [stdout] | [INFO] [stdout] 295 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `secp256k1::Keypair::generate` [INFO] [stdout] --> src/secp256k1/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 71 | where [INFO] [stdout] 72 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/secp256k1/mod.rs:295:59 [INFO] [stdout] | [INFO] [stdout] 295 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `secp256k1::Keypair::generate` [INFO] [stdout] --> src/secp256k1/mod.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 71 | where [INFO] [stdout] 72 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/secp256k1/mod.rs:306:59 [INFO] [stdout] | [INFO] [stdout] 306 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `secp256k1::Keypair::generate` [INFO] [stdout] --> src/secp256k1/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 71 | where [INFO] [stdout] 72 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/secp256k1/mod.rs:306:59 [INFO] [stdout] | [INFO] [stdout] 306 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `secp256k1::Keypair::generate` [INFO] [stdout] --> src/secp256k1/mod.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 71 | where [INFO] [stdout] 72 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/rsa/mod.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `rsa::Keypair::generate` [INFO] [stdout] --> src/rsa/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 78 | where [INFO] [stdout] 79 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/rsa/mod.rs:215:59 [INFO] [stdout] | [INFO] [stdout] 215 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `rsa::Keypair::generate` [INFO] [stdout] --> src/rsa/mod.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 78 | where [INFO] [stdout] 79 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/rsa/mod.rs:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `rsa::Keypair::generate` [INFO] [stdout] --> src/rsa/mod.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 78 | where [INFO] [stdout] 79 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/rsa/mod.rs:226:59 [INFO] [stdout] | [INFO] [stdout] 226 | let keypair = Keypair::generate(Network::MainNet, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `rsa::Keypair::generate` [INFO] [stdout] --> src/rsa/mod.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn generate(network: Network, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 78 | where [INFO] [stdout] 79 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/keypair.rs:247:50 [INFO] [stdout] | [INFO] [stdout] 247 | let keypair = Keypair::generate(key_tag, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/keypair.rs:247:50 [INFO] [stdout] | [INFO] [stdout] 247 | let keypair = Keypair::generate(key_tag, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/keypair.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 257 | let keypair = Keypair::generate(key_tag, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/keypair.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 257 | let keypair = Keypair::generate(key_tag, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/keypair.rs:270:50 [INFO] [stdout] | [INFO] [stdout] 270 | let keypair = Keypair::generate(key_tag, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/keypair.rs:270:50 [INFO] [stdout] | [INFO] [stdout] 270 | let keypair = Keypair::generate(key_tag, &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied [INFO] [stdout] --> src/keypair.rs:275:59 [INFO] [stdout] | [INFO] [stdout] 275 | let other = Keypair::generate(key_pair.key_tag(), &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait CryptoRng {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied [INFO] [stdout] --> src/keypair.rs:275:59 [INFO] [stdout] | [INFO] [stdout] 275 | let other = Keypair::generate(key_pair.key_tag(), &mut OsRng); [INFO] [stdout] | ----------------- ^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng` [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.6.4/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub trait RngCore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/ecc_compact/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | --------- one version of crate `rand_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 272 | use rand::rngs::OsRng; [INFO] [stdout] | ---- one version of crate `rand_core` used here, as a dependency of crate `rand` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/os.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct OsRng; [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/os.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct OsRng; [INFO] [stdout] | ---------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/block.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub trait BlockRngCore { [INFO] [stdout] | ---------------------- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `keypair::Keypair::generate` [INFO] [stdout] --> src/keypair.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(key_tag: KeyTag, csprng: &mut R) -> Keypair [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 49 | where [INFO] [stdout] 50 | R: rand_core::CryptoRng + rand_core::RngCore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Keypair::generate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `helium-crypto` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "5238db646b40eca59ee6757e73f0290f1eede097c6c585e5e54645991bd1c5e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5238db646b40eca59ee6757e73f0290f1eede097c6c585e5e54645991bd1c5e2", kill_on_drop: false }` [INFO] [stdout] 5238db646b40eca59ee6757e73f0290f1eede097c6c585e5e54645991bd1c5e2