ockam_node 0.46.0

Ockam Node implementation crate
Build #514442 2022-02-22 23:46:21

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.61.0-nightly (03a8cc7df 2022-02-21)

# docs.rs version docsrs 0.6.0 (3968c84 2022-02-20)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ockam_node-0.46.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ockam_node-0.46.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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220221-1.61.0-nightly-03a8cc7df\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--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] 0a29a81fbef8b0d1a9d52de932c9a96e6daa09aa07df146b36566594c4764c8f [INFO] running `Command { std: "docker" "start" "-a" "0a29a81fbef8b0d1a9d52de932c9a96e6daa09aa07df146b36566594c4764c8f", kill_on_drop: false }` [INFO] [stderr] Checking ockam_core v0.46.0 [INFO] [stderr] error[E0432]: unresolved import `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:190:13 [INFO] [stderr] | [INFO] [stderr] 190 | pub use spin::RwLock; [INFO] [stderr] | ^^^^ use of undeclared crate or module `spin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rand_pcg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:98:28 [INFO] [stderr] | [INFO] [stderr] 98 | pub struct FakeRng(rand_pcg::Lcg64Xsh32); [INFO] [stderr] | ^^^^^^^^ use of undeclared crate or module `rand_pcg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rand_pcg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:128:36 [INFO] [stderr] | [INFO] [stderr] 128 | static mut RNG: Option<rand_pcg::Lcg64Xsh32> = None; [INFO] [stderr] | ^^^^^^^^ use of undeclared crate or module `rand_pcg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rand_pcg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:131:32 [INFO] [stderr] | [INFO] [stderr] 131 | RNG = Some(rand_pcg::Pcg32::seed_from_u64(1234)); [INFO] [stderr] | ^^^^^^^^ use of undeclared crate or module `rand_pcg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `rand_pcg` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:134:32 [INFO] [stderr] | [INFO] [stderr] 134 | let lcg = unsafe { rand_pcg::Pcg32::seed_from_u64(RNG.as_mut().unwrap().gen()) }; [INFO] [stderr] | ^^^^^^^^ use of undeclared crate or module `rand_pcg` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:193:25 [INFO] [stderr] | [INFO] [stderr] 193 | pub struct Mutex<T>(spin::Mutex<T>); [INFO] [stderr] | ^^^^ use of undeclared crate or module `spin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:198:38 [INFO] [stderr] | [INFO] [stderr] 198 | pub fn lock(&self) -> Option<spin::MutexGuard<'_, T>> { [INFO] [stderr] | ^^^^ use of undeclared crate or module `spin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:203:23 [INFO] [stderr] | [INFO] [stderr] 203 | type Target = spin::Mutex<T>; [INFO] [stderr] | ^^^^ use of undeclared crate or module `spin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:204:29 [INFO] [stderr] | [INFO] [stderr] 204 | fn deref(&self) -> &spin::Mutex<T> { [INFO] [stderr] | ^^^^ use of undeclared crate or module `spin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:209:41 [INFO] [stderr] | [INFO] [stderr] 209 | fn deref_mut(&mut self) -> &mut spin::Mutex<T> { [INFO] [stderr] | ^^^^ use of undeclared crate or module `spin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ockam_core-0.46.0/src/compat.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | Mutex(spin::Mutex::new(value)) [INFO] [stderr] | ^^^^^ not found in `spin` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 189 | use futures_util::lock::Mutex; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `ockam_core` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "0a29a81fbef8b0d1a9d52de932c9a96e6daa09aa07df146b36566594c4764c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a29a81fbef8b0d1a9d52de932c9a96e6daa09aa07df146b36566594c4764c8f", kill_on_drop: false }` [INFO] [stdout] 0a29a81fbef8b0d1a9d52de932c9a96e6daa09aa07df146b36566594c4764c8f