elastic-elgamal 0.2.0

Implementation of ElGamal encryption and related zero-knowledge proofs with pluggable crypto backend
Build #5751132022-06-13T09:57:08.913201+00:00
# rustc version
rustc 1.63.0-nightly (546c826f0 2022-06-12)# docs.rs version
docsrs 0.6.0 (c280b04 2022-05-30)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/elastic-elgamal-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/elastic-elgamal-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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220612-1.63.0-nightly-546c826f0\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-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] 9f1a983f0fd0f99577d5c1d1459d9d37819c1e6f698594ccf18c2c11b5c5006c
[INFO] running `Command { std: "docker" "start" "-a" "9f1a983f0fd0f99577d5c1d1459d9d37819c1e6f698594ccf18c2c11b5c5006c", kill_on_drop: false }`
[INFO] [stderr]  Documenting elastic-elgamal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0407]: method `visit_byte_buf` is not a member of trait `Visitor`
[INFO] [stderr]   --> src/serde.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |           fn visit_byte_buf<E: DeError>(self, value: Vec<u8>) -> Result<Self::Value, E> {
[INFO] [stderr]    |           ^  -------------- help: there is an associated function with a similar name: `visit_bytes`
[INFO] [stderr]    |  _________|
[INFO] [stderr]    | |
[INFO] [stderr] 52 | |             Ok(value)
[INFO] [stderr] 53 | |         }
[INFO] [stderr]    | |_________^ not a member of trait `Visitor`
[INFO] [stderr] 
[INFO] [stderr] error[E0407]: method `visit_byte_buf` is not a member of trait `Visitor`
[INFO] [stderr]   --> src/serde.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |           fn visit_byte_buf<E: DeError>(self, value: Vec<u8>) -> Result<Self::Value, E> {
[INFO] [stderr]    |           ^  -------------- help: there is an associated function with a similar name: `visit_bytes`
[INFO] [stderr]    |  _________|
[INFO] [stderr]    | |
[INFO] [stderr] 70 | |             Ok(value)
[INFO] [stderr] 71 | |         }
[INFO] [stderr]    | |_________^ not a member of trait `Visitor`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Content` in module `_serde::__private::de`
[INFO] [stderr]    --> src/proofs/range.rs:441:49
[INFO] [stderr]     |
[INFO] [stderr] 441 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
[INFO] [stderr]     |                                                 ^^^^^^^^^^^ not found in `_serde::__private::de`
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0407, E0412.
[INFO] [stderr] For more information about an error, try `rustc --explain E0407`.
[INFO] [stderr] error: could not document `elastic-elgamal`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name elastic_elgamal src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="default"' --cfg 'feature="hashbrown"' --cfg 'feature="serde"' --cfg 'feature="std"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=5076731ce5962057 -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern base64ct=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbase64ct-a8a039a86d8128a8.rmeta --extern curve25519_dalek=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcurve25519_dalek-1846b0c652d8c226.rmeta --extern elliptic_curve=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libelliptic_curve-496de19dc0bdfc81.rmeta --extern hashbrown=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libhashbrown-80139857b1df5b44.rmeta --extern merlin=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmerlin-5e45d786eb070f05.rmeta --extern rand_chacha=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librand_chacha-6fa9320e6c52a37a.rmeta --extern rand_core=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librand_core-f618f22d63c8ce68.rmeta --extern serde=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde-9d4db47d29cb5976.rmeta --extern subtle=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsubtle-953966102c2f9e87.rmeta --extern zeroize=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libzeroize-41517fc7b63e0001.rmeta --extern-html-root-url 'base64ct=https://docs.rs/base64ct/1.5.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'curve25519_dalek=https://docs.rs/curve25519-dalek/3.2.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'elliptic_curve=https://docs.rs/elliptic-curve/0.12.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'hashbrown=https://docs.rs/hashbrown/0.12.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'merlin=https://docs.rs/merlin/3.0.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'rand_chacha=https://docs.rs/rand_chacha/0.3.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'rand_core=https://docs.rs/rand_core/0.6.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.137/x86_64-unknown-linux-gnu' --extern-html-root-url 'subtle=https://docs.rs/subtle/2.4.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'zeroize=https://docs.rs/zeroize/1.5.5/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20220612-1.63.0-nightly-546c826f0 --static-root-path / --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.2.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "9f1a983f0fd0f99577d5c1d1459d9d37819c1e6f698594ccf18c2c11b5c5006c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f1a983f0fd0f99577d5c1d1459d9d37819c1e6f698594ccf18c2c11b5c5006c", kill_on_drop: false }`
[INFO] [stdout] 9f1a983f0fd0f99577d5c1d1459d9d37819c1e6f698594ccf18c2c11b5c5006c