zero-network 0.1.10

Zero network privacy-preserving blockchain
Documentation
Build #2040669 2025-04-26 00:09:19

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.88.0-nightly (d7ea436a0 2025-04-24)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/zero-network-0.1.10/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/zero-network-0.1.10/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250424-1.88.0-nightly-d7ea436a0\", \"--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] [stdout] 7ab4400eb3dde8bc348f77d91f40c5b4a4eec9b56b8b2efa1837a11501dfa331
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7ab4400eb3dde8bc348f77d91f40c5b4a4eec9b56b8b2efa1837a11501dfa331", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: confidential_transfer, pallet_plonk
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking zero-plonk v0.1.10
[INFO] [stderr] error[E0432]: unresolved imports `zero_jubjub::JubJubAffine`, `zero_jubjub::JubJubExtended`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/composer.rs:17:39
[INFO] [stderr]    |
[INFO] [stderr] 17 | use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubJubExtended};
[INFO] [stderr]    |                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `JubJubExtended` in the root
[INFO] [stderr]    |                                       |
[INFO] [stderr]    |                                       no `JubJubAffine` in the root
[INFO] [stderr]    |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 17 - use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubJubExtended};
[INFO] [stderr] 17 + use zero_jubjub::{Fp as JubJubScalar, JubjubAffine, JubJubExtended};
[INFO] [stderr]    |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 17 - use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubJubExtended};
[INFO] [stderr] 17 + use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubjubExtended};
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `zero_bls12_381::msm_variable_base`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/commitment_scheme/kzg10/key.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     msm_variable_base, Fr as BlsScalar, G1Affine, G1Projective, G2Affine,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ no `msm_variable_base` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `zero_jubjub::JubJubAffine`, `zero_jubjub::JubJubExtended`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/prelude.rs:21:43
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubJubExtended};
[INFO] [stderr]    |                                           ^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `JubJubExtended` in the root
[INFO] [stderr]    |                                           |
[INFO] [stderr]    |                                           no `JubJubAffine` in the root
[INFO] [stderr]    |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 21 - pub use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubJubExtended};
[INFO] [stderr] 21 + pub use zero_jubjub::{Fp as JubJubScalar, JubjubAffine, JubJubExtended};
[INFO] [stderr]    |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 21 - pub use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubJubExtended};
[INFO] [stderr] 21 + pub use zero_jubjub::{Fp as JubJubScalar, JubJubAffine, JubjubExtended};
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `zero_bls12_381::msm_variable_base`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/proof_system/proof.rs:185:22
[INFO] [stderr]     |
[INFO] [stderr] 185 | use zero_bls12_381::{msm_variable_base, Fr as BlsScalar, G1Affine};
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^ no `msm_variable_base` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `batch_normalize` in crate `zero_jubjub`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/composer.rs:260:26
[INFO] [stderr]     |
[INFO] [stderr] 260 |             zero_jubjub::batch_normalize(&mut multiples).collect()
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^ not found in `zero_jubjub`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_bytes_wide` found for struct `Fr` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/transcript.rs:55:20
[INFO] [stderr]     |
[INFO] [stderr] 55  |         BlsScalar::from_bytes_wide(&buf)
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^ function or associated item not found in `Fr`
[INFO] [stderr]     |
[INFO] [stderr] note: if you're trying to build a new `Fr` consider using one of the following associated functions:
[INFO] [stderr]       Fr::to_mont_form
[INFO] [stderr]       Fr::zero
[INFO] [stderr]       Fr::one
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-bls12-381-0.1.11/src/fr.rs:142:1
[INFO] [stderr]     |
[INFO] [stderr] 67  |       pub const fn to_mont_form(val: [u64; 4]) -> Self {
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 142 | / fft_field_operation!(
[INFO] [stderr] 143 | |     Fr,
[INFO] [stderr] 144 | |     MODULUS,
[INFO] [stderr] 145 | |     GENERATOR,
[INFO] [stderr] ...   |
[INFO] [stderr] 152 | |     S
[INFO] [stderr] 153 | | );
[INFO] [stderr]     | |_^
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: this error originates in the macro `group_operation` which comes from the expansion of the macro `fft_field_operation` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: trait `FftField` which provides `from_bytes_wide` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]     |
[INFO] [stderr] 10  + use zero_crypto::behave::FftField;
[INFO] [stderr]     |
[INFO] [stderr] help: there is an associated function `from_bytes` with a similar name
[INFO] [stderr]     |
[INFO] [stderr] 55  -         BlsScalar::from_bytes_wide(&buf)
[INFO] [stderr] 55  +         BlsScalar::from_bytes(&buf)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `ADDITIVE_GENERATOR` found for struct `G1Projective` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/util.rs:51:19
[INFO] [stderr]    |
[INFO] [stderr] 51 |     G1Projective::ADDITIVE_GENERATOR * random_scalar(rng)
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^ associated item not found in `G1Projective`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `CurveGroup` which provides `ADDITIVE_GENERATOR` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]    |
[INFO] [stderr] 7  + use zero_crypto::behave::CurveGroup;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `ADDITIVE_GENERATOR` found for struct `G2Projective` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/util.rs:55:19
[INFO] [stderr]    |
[INFO] [stderr] 55 |     G2Projective::ADDITIVE_GENERATOR * random_scalar(rng)
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^ associated item not found in `G2Projective`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `CurveGroup` which provides `ADDITIVE_GENERATOR` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]    |
[INFO] [stderr] 7  + use zero_crypto::behave::CurveGroup;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `compute_windowed_naf` found for struct `zero_jubjub::Fp` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/composer.rs:272:35
[INFO] [stderr]     |
[INFO] [stderr] 272 |         let wnaf_entries = scalar.compute_windowed_naf(width);
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^^^^^^ method not found in `Fp`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `pow_of_2` found for struct `Fr` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/composer.rs:746:38
[INFO] [stderr]     |
[INFO] [stderr] 746 |                     .left(BlsScalar::pow_of_2(i as u64))
[INFO] [stderr]     |                                      ^^^^^^^^ function or associated item not found in `Fr`
[INFO] [stderr]     |
[INFO] [stderr] note: if you're trying to build a new `Fr` consider using one of the following associated functions:
[INFO] [stderr]       Fr::to_mont_form
[INFO] [stderr]       Fr::zero
[INFO] [stderr]       Fr::one
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-bls12-381-0.1.11/src/fr.rs:142:1
[INFO] [stderr]     |
[INFO] [stderr] 67  |       pub const fn to_mont_form(val: [u64; 4]) -> Self {
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 142 | / fft_field_operation!(
[INFO] [stderr] 143 | |     Fr,
[INFO] [stderr] 144 | |     MODULUS,
[INFO] [stderr] 145 | |     GENERATOR,
[INFO] [stderr] ...   |
[INFO] [stderr] 152 | |     S
[INFO] [stderr] 153 | | );
[INFO] [stderr]     | |_^
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: this error originates in the macro `group_operation` which comes from the expansion of the macro `fft_field_operation` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: trait `FftField` which provides `pow_of_2` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]     |
[INFO] [stderr] 9   + use zero_crypto::behave::FftField;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `ADDITIVE_IDENTITY` found for struct `G1Projective` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/commitment_scheme/kzg10/key.rs:294:41
[INFO] [stderr]     |
[INFO] [stderr] 294 |         let mut total_c = G1Projective::ADDITIVE_IDENTITY;
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^ associated item not found in `G1Projective`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `CurveGroup` which provides `ADDITIVE_IDENTITY` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]     |
[INFO] [stderr] 10  + use zero_crypto::behave::CurveGroup;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `ADDITIVE_IDENTITY` found for struct `G1Projective` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/commitment_scheme/kzg10/key.rs:295:41
[INFO] [stderr]     |
[INFO] [stderr] 295 |         let mut total_w = G1Projective::ADDITIVE_IDENTITY;
[INFO] [stderr]     |                                         ^^^^^^^^^^^^^^^^^ associated item not found in `G1Projective`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `CurveGroup` which provides `ADDITIVE_IDENTITY` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]     |
[INFO] [stderr] 10  + use zero_crypto::behave::CurveGroup;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `ADDITIVE_IDENTITY` found for struct `G1Affine` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/commitment_scheme/kzg10/srs.rs:85:28
[INFO] [stderr]    |
[INFO] [stderr] 85 |             vec![G1Affine::ADDITIVE_IDENTITY; max_degree + 1];
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^ associated item not found in `G1Affine`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `CurveGroup` which provides `ADDITIVE_IDENTITY` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]    |
[INFO] [stderr] 9  + use zero_crypto::behave::CurveGroup;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `ADDITIVE_IDENTITY` found for struct `G1Affine` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zero-plonk-0.1.10/src/commitment_scheme/kzg10/commitment.rs:64:30
[INFO] [stderr]    |
[INFO] [stderr] 64 |         Commitment(G1Affine::ADDITIVE_IDENTITY)
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^ associated item not found in `G1Affine`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: trait `CurveGroup` which provides `ADDITIVE_IDENTITY` is implemented but not in scope; perhaps you want to import it
[INFO] [stderr]    |
[INFO] [stderr] 8  + use zero_crypto::behave::CurveGroup;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `zero-plonk` (lib) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "7ab4400eb3dde8bc348f77d91f40c5b4a4eec9b56b8b2efa1837a11501dfa331", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ab4400eb3dde8bc348f77d91f40c5b4a4eec9b56b8b2efa1837a11501dfa331", kill_on_drop: false }`
[INFO] [stdout] 7ab4400eb3dde8bc348f77d91f40c5b4a4eec9b56b8b2efa1837a11501dfa331