disarray-network 0.1.20

This crate implements the networking features required for the hybrid blockchain network, Disarray
Documentation
Build #1636362 2025-01-17 14:39:58

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.86.0-nightly (99db2737c 2025-01-16)# docs.rs version
docsrs 0.6.0 (13d4ccea 2025-01-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/disarray-network-0.1.20/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/disarray-network-0.1.20/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250116-1.86.0-nightly-99db2737c\", \"--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] 16071324db5629b1dc67dcf98a5d41028bce02742d9ce2bf2a045f0e104df10a
[INFO] running `Command { std: "docker" "start" "-a" "16071324db5629b1dc67dcf98a5d41028bce02742d9ce2bf2a045f0e104df10a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking algae-merkle v0.1.19
[INFO] [stderr]     Checking scsys-actors v0.1.42
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking libp2p-mplex v0.37.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr] error[E0425]: cannot find function `hash_serialize` in module `decanter::hash`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/algae-merkle-0.1.19/src/payloads.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     Hashable,
[INFO] [stderr]    |     ^^^^^^^^ not found in `decanter::hash`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the derive macro `Hashable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `decanter::crypto::Hashable`, `decanter::Hash`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/scsys-actors-0.1.42/src/catalysts/catalyst.rs:7:16
[INFO] [stderr]   |
[INFO] [stderr] 7 | use decanter::{crypto::Hashable, Hash};
[INFO] [stderr]   |                ^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stderr]   |                |                 |
[INFO] [stderr]   |                |                 no `Hash` in the root
[INFO] [stderr]   |                |                 help: a similar name exists in the module: `hash`
[INFO] [stderr]   |                no `Hashable` in the root
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider importing this trait instead:
[INFO] [stderr]           decanter::prelude::Hashable
[INFO] [stderr]   = help: consider importing this trait instead:
[INFO] [stderr]           std::hash::Hash
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `decanter::crypto::Hashable`, `decanter::Hash`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/scsys-actors-0.1.42/src/messages/message.rs:7:16
[INFO] [stderr]   |
[INFO] [stderr] 7 | use decanter::{crypto::Hashable, Hash};
[INFO] [stderr]   |                ^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stderr]   |                |                 |
[INFO] [stderr]   |                |                 no `Hash` in the root
[INFO] [stderr]   |                |                 help: a similar name exists in the module: `hash`
[INFO] [stderr]   |                no `Hashable` in the root
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider importing this trait instead:
[INFO] [stderr]           decanter::prelude::Hashable
[INFO] [stderr]   = help: consider importing this trait instead:
[INFO] [stderr]           std::hash::Hash
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `decanter::prelude::Hash`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/scsys-actors-0.1.42/src/states/state.rs:10:25
[INFO] [stderr]    |
[INFO] [stderr] 10 | use decanter::prelude::{Hash, Hashable, H256};
[INFO] [stderr]    |                         ^^^^
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         no `Hash` in `prelude`
[INFO] [stderr]    |                         help: a similar name exists in the module: `hash`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider importing this trait instead:
[INFO] [stderr]            std::hash::Hash
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `decanter::crypto::Hashable`, `decanter::Hash`
[INFO] [stderr]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/scsys-actors-0.1.42/src/direction.rs:6:16
[INFO] [stderr]   |
[INFO] [stderr] 6 | use decanter::{crypto::Hashable, Hash};
[INFO] [stderr]   |                ^^^^^^^^^^^^^^^^  ^^^^
[INFO] [stderr]   |                |                 |
[INFO] [stderr]   |                |                 no `Hash` in the root
[INFO] [stderr]   |                |                 help: a similar name exists in the module: `hash`
[INFO] [stderr]   |                no `Hashable` in the root
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider importing this trait instead:
[INFO] [stderr]           decanter::prelude::Hashable
[INFO] [stderr]   = help: consider importing this trait instead:
[INFO] [stderr]           std::hash::Hash
[INFO] [stderr] 
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking libp2p-floodsub v0.40.1
[INFO] [stderr] For more information about this error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `algae-merkle` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0277]: the trait bound `context::Context<Cnf>: AsRef<[u8]>` is not satisfied
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/scsys-actors-0.1.42/src/contexts/context.rs:23:16
[INFO] [stderr]    |
[INFO] [stderr] 23 |         hasher(self).into()
[INFO] [stderr]    |         ------ ^^^^ the trait `AsRef<[u8]>` is not implemented for `context::Context<Cnf>`
[INFO] [stderr]    |         |
[INFO] [stderr]    |         required by a bound introduced by this call
[INFO] [stderr]    |
[INFO] [stderr]    = note: required for `&context::Context<Cnf>` to implement `AsRef<[u8]>`
[INFO] [stderr] note: required by a bound in `hasher`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/decanter-0.1.5/src/hash/mod.rs:57:26
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn hasher(data: impl AsRef<[u8]>) -> GenericHash {
[INFO] [stderr]    |                          ^^^^^^^^^^^ required by this bound in `hasher`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `scsys-actors` (lib) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "16071324db5629b1dc67dcf98a5d41028bce02742d9ce2bf2a045f0e104df10a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16071324db5629b1dc67dcf98a5d41028bce02742d9ce2bf2a045f0e104df10a", kill_on_drop: false }`
[INFO] [stdout] 16071324db5629b1dc67dcf98a5d41028bce02742d9ce2bf2a045f0e104df10a