[INFO] fetching crate polysig-node-bindings 0.8.0... [INFO] testing polysig-node-bindings-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate polysig-node-bindings 0.8.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate polysig-node-bindings 0.8.0 [INFO] finished tweaking crates.io crate polysig-node-bindings 0.8.0 [INFO] tweaked toml for crates.io crate polysig-node-bindings 0.8.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polysig-node-bindings 0.8.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 225 packages to latest compatible versions [INFO] [stderr] Adding napi-build v1.2.1 (available: v2.2.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd70049ddd71a95da902bd10887251c83476afec080239fb572117b7f82f16b3 [INFO] running `Command { std: "docker" "start" "-a" "bd70049ddd71a95da902bd10887251c83476afec080239fb572117b7f82f16b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd70049ddd71a95da902bd10887251c83476afec080239fb572117b7f82f16b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd70049ddd71a95da902bd10887251c83476afec080239fb572117b7f82f16b3", kill_on_drop: false }` [INFO] [stdout] bd70049ddd71a95da902bd10887251c83476afec080239fb572117b7f82f16b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6638ecd06bebb8a0275bcbc5ed234c37ee57bbe22acfa8c8ed54d860994c6daf [INFO] running `Command { std: "docker" "start" "-a" "6638ecd06bebb8a0275bcbc5ed234c37ee57bbe22acfa8c8ed54d860994c6daf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling debugless-unwrap v0.0.4 [INFO] [stderr] Compiling const-crc32-nostd v1.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling dtor v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling binary-stream v9.1.0 [INFO] [stderr] Compiling polysig-protocol v0.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling polysig-driver v0.8.0 [INFO] [stderr] Compiling napi-build v2.2.3 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling polysig-client v0.8.0 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling napi-sys v3.0.0 [INFO] [stderr] Compiling napi v3.2.4 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling ctor v0.5.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling polysig-node-bindings v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling napi-derive-backend v2.1.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling visibility v0.1.1 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling napi-derive v3.2.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serdect v0.3.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling hashing-serializer v0.1.1 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling crypto-bigint v0.6.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling serde-encoded-bytes v0.1.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling frost-core v2.2.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling frost-rerandomized v2.2.0 [INFO] [stderr] Compiling bip32 v0.5.3 [INFO] [stderr] Compiling frost-ed25519 v2.2.0 [INFO] [stderr] Compiling crypto-primes v0.6.2 [INFO] [stderr] Compiling synedrion v0.2.0 [INFO] [stdout] error[E0425]: cannot find function `decode_borrowed_from_slice` in module `bincode::serde` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/sessions/type_erased.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | bincode::serde::decode_borrowed_from_slice(message_bytes, bincode::config::standard()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bincode::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `<
::Uint as InvMod>::Output: crypto_bigint::Integer` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/paillier/keys.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | let inv_modulus = Bounded::new( [INFO] [stdout] | ------------ required by a bound introduced by this call [INFO] [stdout] 99 | / modulus [INFO] [stdout] 100 | | .inv_mod(totient.as_ref()) [INFO] [stdout] 101 | | .expect("pq is invertible mod ϕ(pq) because gcd(pq, (p-1)(q-1)) = 1"), [INFO] [stdout] | |_____________________________________________________________________________________^ the trait `crypto_bigint::Integer` is not implemented for `<
::Uint as InvMod>::Output`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `bounded::Bounded:: where < ::Uint as InvMod>::Output: crypto_bigint::Integer {
[INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `< ::Uint as InvMod>::Output: crypto_bigint::Bounded` is not satisfied
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/paillier/keys.rs:99:13
[INFO] [stdout] |
[INFO] [stdout] 98 | let inv_modulus = Bounded::new(
[INFO] [stdout] | ------------ required by a bound introduced by this call
[INFO] [stdout] 99 | / modulus
[INFO] [stdout] 100 | | .inv_mod(totient.as_ref())
[INFO] [stdout] 101 | | .expect("pq is invertible mod ϕ(pq) because gcd(pq, (p-1)(q-1)) = 1"),
[INFO] [stdout] | |_____________________________________________________________________________________^ the trait `crypto_bigint::Bounded` is not implemented for `< ::Uint as InvMod>::Output`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `bounded::Bounded:: where < ::Uint as InvMod>::Output: crypto_bigint::Bounded {
[INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/synedrion-0.2.0/src/paillier/keys.rs:143:13
[INFO] [stdout] |
[INFO] [stdout] 143 | inv_modulus,
[INFO] [stdout] | ^^^^^^^^^^^ expected `PaillierParams::Uint`, found `crypto_bigint::InvMod::Output`
[INFO] [stdout] |
[INFO] [stdout] = note: expected struct `bounded::Bounded< ::Uint>`
[INFO] [stdout] found struct `bounded::Bounded<< ::Uint as InvMod>::Output>`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `synedrion` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "6638ecd06bebb8a0275bcbc5ed234c37ee57bbe22acfa8c8ed54d860994c6daf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6638ecd06bebb8a0275bcbc5ed234c37ee57bbe22acfa8c8ed54d860994c6daf", kill_on_drop: false }`
[INFO] [stdout] 6638ecd06bebb8a0275bcbc5ed234c37ee57bbe22acfa8c8ed54d860994c6daf