polysig-node-bindings 0.8.0

Nodejs bindings for the polysig library
Documentation

Build #3354218 2026-05-22 16:31:56

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.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.97.0-nightly (e96c36b6f 2026-05-21)

# docs.rs version docsrs 0.0.0 (e50152ed411bb913753b1dfd203f22cb8711f097 2026-05-17 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "f989d5612af32136630f083a6e18bc7539917dc128a2c72783c35d5a82ebc836" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260521-1.97.0-nightly-e96c36b6f\", \"--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: 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: there are multiple different versions of crate `crypto_bigint` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-bigint-0.6.1/src/traits.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | / pub trait Integer: [INFO] [stderr] 82 | | 'static [INFO] [stderr] 83 | | + Add<Output = Self> [INFO] [stderr] 84 | | + for<'a> Add<&'a Self, Output = Self> [INFO] [stderr] ... | [INFO] [stderr] 157 | | + WrappingShr [INFO] [stderr] 158 | | + Zero [INFO] [stderr] | |__________^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-bigint-0.5.5/src/traits.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / pub trait Integer: [INFO] [stderr] 16 | | 'static [INFO] [stderr] 17 | | + AsRef<[Limb]> [INFO] [stderr] 18 | | + BitAnd<Output = Self> [INFO] [stderr] ... | [INFO] [stderr] 41 | | + Sync [INFO] [stderr] 42 | | + Zero [INFO] [stderr] | |__________- this is the trait that was imported [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [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: there are multiple different versions of crate `crypto_bigint` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-bigint-0.6.1/src/traits.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub trait Bounded { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crypto-bigint-0.5.5/src/traits.rs:236:1 [INFO] [stderr] | [INFO] [stderr] 236 | pub trait Bounded { [INFO] [stderr] | ----------------- this is the trait that was imported [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [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" "f989d5612af32136630f083a6e18bc7539917dc128a2c72783c35d5a82ebc836", kill_on_drop: false }`