Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version
rustc 1.84.0-nightly (59cec72a5 2024-11-08)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/nimiq-blockchain-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/nimiq-blockchain-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241108-1.84.0-nightly-59cec72a5\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d298e21b397ab01b547249e330632624dcefa421528089f3708f2ab307ba1836
[INFO] running `Command { std: "docker" "start" "-a" "d298e21b397ab01b547249e330632624dcefa421528089f3708f2ab307ba1836", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking nimiq-keys v0.2.0
[INFO] [stderr] error[E0204]: the trait `std::marker::Copy` cannot be implemented for this type
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/errors.rs:5:17
[INFO] [stderr] |
[INFO] [stderr] 5 | #[derive(Clone, Copy, Eq, PartialEq, Hash, Debug, Fail)]
[INFO] [stderr] | ^^^^
[INFO] [stderr] 6 | #[fail(display = "{}", _0)]
[INFO] [stderr] 7 | pub struct KeysError(pub(crate) SignatureError);
[INFO] [stderr] | ------------------------- this field does not implement `std::marker::Copy`
[INFO] [stderr] |
[INFO] [stderr] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `ed25519_dalek::ed25519::Error: Clone` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/errors.rs:7:22
[INFO] [stderr] |
[INFO] [stderr] 5 | #[derive(Clone, Copy, Eq, PartialEq, Hash, Debug, Fail)]
[INFO] [stderr] | ----- in this derive macro expansion
[INFO] [stderr] 6 | #[fail(display = "{}", _0)]
[INFO] [stderr] 7 | pub struct KeysError(pub(crate) SignatureError);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ed25519_dalek::ed25519::Error`
[INFO] [stderr] |
[INFO] [stderr] note: required by a bound in `AssertParamIsClone`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/clone.rs:198:34
[INFO] [stderr] |
[INFO] [stderr] 198 | pub struct AssertParamIsClone<T: Clone + ?Sized> {
[INFO] [stderr] | ^^^^^ required by this bound in `AssertParamIsClone`
[INFO] [stderr] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `ed25519_dalek::ed25519::Error: std::cmp::Eq` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/errors.rs:7:22
[INFO] [stderr] |
[INFO] [stderr] 5 | #[derive(Clone, Copy, Eq, PartialEq, Hash, Debug, Fail)]
[INFO] [stderr] | -- in this derive macro expansion
[INFO] [stderr] 6 | #[fail(display = "{}", _0)]
[INFO] [stderr] 7 | pub struct KeysError(pub(crate) SignatureError);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `ed25519_dalek::ed25519::Error`
[INFO] [stderr] |
[INFO] [stderr] note: required by a bound in `AssertParamIsEq`
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/cmp.rs:363:31
[INFO] [stderr] |
[INFO] [stderr] 363 | pub struct AssertParamIsEq<T: Eq + ?Sized> {
[INFO] [stderr] | ^^ required by this bound in `AssertParamIsEq`
[INFO] [stderr] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `ed25519_dalek::ed25519::Error`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/errors.rs:7:22
[INFO] [stderr] |
[INFO] [stderr] 5 | #[derive(Clone, Copy, Eq, PartialEq, Hash, Debug, Fail)]
[INFO] [stderr] | --------- in this derive macro expansion
[INFO] [stderr] 6 | #[fail(display = "{}", _0)]
[INFO] [stderr] 7 | pub struct KeysError(pub(crate) SignatureError);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] note: the foreign item type `ed25519_dalek::ed25519::Error` doesn't implement `PartialEq`
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/signature-1.6.4/src/error.rs:25:1
[INFO] [stderr] |
[INFO] [stderr] 25 | pub struct Error {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^ not implement `PartialEq`
[INFO] [stderr] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `ed25519_dalek::ed25519::Error: std::hash::Hash` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/errors.rs:7:22
[INFO] [stderr] |
[INFO] [stderr] 5 | #[derive(Clone, Copy, Eq, PartialEq, Hash, Debug, Fail)]
[INFO] [stderr] | ---- in this derive macro expansion
[INFO] [stderr] 6 | #[fail(display = "{}", _0)]
[INFO] [stderr] 7 | pub struct KeysError(pub(crate) SignatureError);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::hash::Hash` is not implemented for `ed25519_dalek::ed25519::Error`
[INFO] [stderr] |
[INFO] [stderr] = note: this error originates in the derive macro `Hash` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied because the trait comes from a different crate version
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/key_pair.rs:17:57
[INFO] [stderr] |
[INFO] [stderr] 17 | let key_pair = ed25519_dalek::Keypair::generate(&mut cspring);
[INFO] [stderr] | ^^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng`
[INFO] [stderr] |
[INFO] [stderr] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:208:1
[INFO] [stderr] |
[INFO] [stderr] 208 | pub trait CryptoRng {}
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/multisig.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use rand::{rngs::OsRng, Rng};
[INFO] [stderr] | ---- one version of crate `rand_core` is used here, as a dependency of crate `rand_jitter`
[INFO] [stderr] ...
[INFO] [stderr] 7 | use ed25519_dalek::ExpandedSecretKey;
[INFO] [stderr] | ------------- one version of crate `rand_core` is used here, as a dependency of crate `curve25519_dalek`
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_os-0.1.3/src/lib.rs:157:1
[INFO] [stderr] |
[INFO] [stderr] 157 | pub struct OsRng(imp::OsRng);
[INFO] [stderr] | ---------------- this type doesn't implement the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.4.2/src/block.rs:63:1
[INFO] [stderr] |
[INFO] [stderr] 63 | pub trait BlockRngCore {
[INFO] [stderr] | ---------------------- this is the found trait
[INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied because the trait comes from a different crate version
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/key_pair.rs:17:57
[INFO] [stderr] |
[INFO] [stderr] 17 | let key_pair = ed25519_dalek::Keypair::generate(&mut cspring);
[INFO] [stderr] | ^^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng`
[INFO] [stderr] |
[INFO] [stderr] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:137:1
[INFO] [stderr] |
[INFO] [stderr] 137 | pub trait RngCore {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/multisig.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use rand::{rngs::OsRng, Rng};
[INFO] [stderr] | ---- one version of crate `rand_core` is used here, as a dependency of crate `rand_jitter`
[INFO] [stderr] ...
[INFO] [stderr] 7 | use ed25519_dalek::ExpandedSecretKey;
[INFO] [stderr] | ------------- one version of crate `rand_core` is used here, as a dependency of crate `curve25519_dalek`
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_os-0.1.3/src/lib.rs:157:1
[INFO] [stderr] |
[INFO] [stderr] 157 | pub struct OsRng(imp::OsRng);
[INFO] [stderr] | ---------------- this type doesn't implement the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.4.2/src/block.rs:63:1
[INFO] [stderr] |
[INFO] [stderr] 63 | pub trait BlockRngCore {
[INFO] [stderr] | ---------------------- this is the found trait
[INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::CryptoRng` is not satisfied because the trait comes from a different crate version
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/private_key.rs:21:55
[INFO] [stderr] |
[INFO] [stderr] 21 | PrivateKey(ed25519_dalek::SecretKey::generate(&mut cspring))
[INFO] [stderr] | ^^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `rand::rngs::OsRng`
[INFO] [stderr] |
[INFO] [stderr] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:208:1
[INFO] [stderr] |
[INFO] [stderr] 208 | pub trait CryptoRng {}
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/multisig.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use rand::{rngs::OsRng, Rng};
[INFO] [stderr] | ---- one version of crate `rand_core` is used here, as a dependency of crate `rand_jitter`
[INFO] [stderr] ...
[INFO] [stderr] 7 | use ed25519_dalek::ExpandedSecretKey;
[INFO] [stderr] | ------------- one version of crate `rand_core` is used here, as a dependency of crate `curve25519_dalek`
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_os-0.1.3/src/lib.rs:157:1
[INFO] [stderr] |
[INFO] [stderr] 157 | pub struct OsRng(imp::OsRng);
[INFO] [stderr] | ---------------- this type doesn't implement the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.4.2/src/block.rs:63:1
[INFO] [stderr] |
[INFO] [stderr] 63 | pub trait BlockRngCore {
[INFO] [stderr] | ---------------------- this is the found trait
[INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `rand::rngs::OsRng: rand_core::RngCore` is not satisfied because the trait comes from a different crate version
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/private_key.rs:21:55
[INFO] [stderr] |
[INFO] [stderr] 21 | PrivateKey(ed25519_dalek::SecretKey::generate(&mut cspring))
[INFO] [stderr] | ^^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `rand::rngs::OsRng`
[INFO] [stderr] |
[INFO] [stderr] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:137:1
[INFO] [stderr] |
[INFO] [stderr] 137 | pub trait RngCore {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this is the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/multisig.rs:1:5
[INFO] [stderr] |
[INFO] [stderr] 1 | use rand::{rngs::OsRng, Rng};
[INFO] [stderr] | ---- one version of crate `rand_core` is used here, as a dependency of crate `rand_jitter`
[INFO] [stderr] ...
[INFO] [stderr] 7 | use ed25519_dalek::ExpandedSecretKey;
[INFO] [stderr] | ------------- one version of crate `rand_core` is used here, as a dependency of crate `curve25519_dalek`
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_os-0.1.3/src/lib.rs:157:1
[INFO] [stderr] |
[INFO] [stderr] 157 | pub struct OsRng(imp::OsRng);
[INFO] [stderr] | ---------------- this type doesn't implement the required trait
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.4.2/src/block.rs:63:1
[INFO] [stderr] |
[INFO] [stderr] 63 | pub trait BlockRngCore {
[INFO] [stderr] | ---------------------- this is the found trait
[INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no method named `verify` found for reference `&ed25519_dalek::PublicKey` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nimiq-keys-0.2.0/src/public_key.rs:19:25
[INFO] [stderr] |
[INFO] [stderr] 19 | self.as_dalek().verify(data, signature.as_dalek()).is_ok()
[INFO] [stderr] | ---- ^^^^^^ method not found in `&PublicKey`
[INFO] [stderr] | |
[INFO] [stderr] | method `verify` is available on `&public_key::PublicKey`
[INFO] [stderr] |
[INFO] [stderr] = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `Verifier` which provides `verify` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr] |
[INFO] [stderr] 1 + use ed25519_dalek::Verifier;
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0204, E0277, E0369, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0204`.
[INFO] [stderr] error: could not compile `nimiq-keys` (lib) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "d298e21b397ab01b547249e330632624dcefa421528089f3708f2ab307ba1836", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d298e21b397ab01b547249e330632624dcefa421528089f3708f2ab307ba1836", kill_on_drop: false }`
[INFO] [stdout] d298e21b397ab01b547249e330632624dcefa421528089f3708f2ab307ba1836