entropy-testing-utils 0.4.0

Utilities for testing the Entropy Threshold Signature Server
Build #2214831 2025-06-10 07:52:16

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.89.0-nightly (d13a431a6 2025-06-09)# docs.rs version
docsrs 0.6.0 (d2911047 2025-05-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/entropy-testing-utils-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/entropy-testing-utils-0.4.0/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250609-1.89.0-nightly-d13a431a6\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 316e42bba71527965dcc900722664c0f3490cf9a55e7a5e744a19c39495efa04
[INFO] running `Command { std: "docker" "start" "-a" "316e42bba71527965dcc900722664c0f3490cf9a55e7a5e744a19c39495efa04", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking synedrion v0.2.0
[INFO] [stderr] error[E0425]: cannot find function `decode_borrowed_from_slice` in module `bincode::serde`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/sessions/type_erased.rs:29:21
[INFO] [stderr]    |
[INFO] [stderr] 29 |     bincode::serde::decode_borrowed_from_slice(message_bytes, bincode::config::standard())
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bincode::serde`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `<<P as PaillierParams>::Uint as InvMod>::Output: crypto_bigint::Integer` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/paillier/keys.rs:99:13
[INFO] [stderr]     |
[INFO] [stderr] 98  |           let inv_modulus = Bounded::new(
[INFO] [stderr]     |                             ------------ required by a bound introduced by this call
[INFO] [stderr] 99  | /             modulus
[INFO] [stderr] 100 | |                 .inv_mod(totient.as_ref())
[INFO] [stderr] 101 | |                 .expect("pq is invertible mod ϕ(pq) because gcd(pq, (p-1)(q-1)) = 1"),
[INFO] [stderr]     | |_____________________________________________________________________________________^ the trait `crypto_bigint::Integer` is not implemented for `<<P as PaillierParams>::Uint as InvMod>::Output`
[INFO] [stderr]     |
[INFO] [stderr] note: required by a bound in `bounded::Bounded::<T>::new`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/uint/bounded.rs:79:8
[INFO] [stderr]     |
[INFO] [stderr] 79  |     T: Integer + crypto_bigint::Bounded,
[INFO] [stderr]     |        ^^^^^^^ required by this bound in `Bounded::<T>::new`
[INFO] [stderr] ...
[INFO] [stderr] 95  |     pub fn new(value: T, bound: u32) -> Option<Self> {
[INFO] [stderr]     |            --- required by a bound in this associated function
[INFO] [stderr] help: consider further restricting the associated type
[INFO] [stderr]     |
[INFO] [stderr] 59  |     pub fn to_precomputed(&self) -> SecretKeyPaillierPrecomputed<P> where <<P as PaillierParams>::Uint as InvMod>::Output: crypto_bigint::Integer {
[INFO] [stderr]     |                                                                     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `<<P as PaillierParams>::Uint as InvMod>::Output: crypto_bigint::Bounded` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/paillier/keys.rs:99:13
[INFO] [stderr]     |
[INFO] [stderr] 98  |           let inv_modulus = Bounded::new(
[INFO] [stderr]     |                             ------------ required by a bound introduced by this call
[INFO] [stderr] 99  | /             modulus
[INFO] [stderr] 100 | |                 .inv_mod(totient.as_ref())
[INFO] [stderr] 101 | |                 .expect("pq is invertible mod ϕ(pq) because gcd(pq, (p-1)(q-1)) = 1"),
[INFO] [stderr]     | |_____________________________________________________________________________________^ the trait `crypto_bigint::Bounded` is not implemented for `<<P as PaillierParams>::Uint as InvMod>::Output`
[INFO] [stderr]     |
[INFO] [stderr] note: required by a bound in `bounded::Bounded::<T>::new`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/uint/bounded.rs:79:18
[INFO] [stderr]     |
[INFO] [stderr] 79  |     T: Integer + crypto_bigint::Bounded,
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Bounded::<T>::new`
[INFO] [stderr] ...
[INFO] [stderr] 95  |     pub fn new(value: T, bound: u32) -> Option<Self> {
[INFO] [stderr]     |            --- required by a bound in this associated function
[INFO] [stderr] help: consider further restricting the associated type
[INFO] [stderr]     |
[INFO] [stderr] 59  |     pub fn to_precomputed(&self) -> SecretKeyPaillierPrecomputed<P> where <<P as PaillierParams>::Uint as InvMod>::Output: crypto_bigint::Bounded {
[INFO] [stderr]     |                                                                     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/paillier/keys.rs:143:13
[INFO] [stderr]     |
[INFO] [stderr] 143 |             inv_modulus,
[INFO] [stderr]     |             ^^^^^^^^^^^ expected `PaillierParams::Uint`, found `crypto_bigint::InvMod::Output`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected struct `bounded::Bounded<<P as PaillierParams>::Uint>`
[INFO] [stderr]                found struct `bounded::Bounded<<<P as PaillierParams>::Uint as InvMod>::Output>`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `synedrion` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "316e42bba71527965dcc900722664c0f3490cf9a55e7a5e744a19c39495efa04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "316e42bba71527965dcc900722664c0f3490cf9a55e7a5e744a19c39495efa04", kill_on_drop: false }`
[INFO] [stdout] 316e42bba71527965dcc900722664c0f3490cf9a55e7a5e744a19c39495efa04