[INFO] cloning repository https://github.com/NFT-Share/ThresholdSignatureNetwork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NFT-Share/ThresholdSignatureNetwork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNFT-Share%2FThresholdSignatureNetwork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNFT-Share%2FThresholdSignatureNetwork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71e160b015235ed1ddf1e5b8f6b42634bd10a7ac [INFO] checking NFT-Share/ThresholdSignatureNetwork against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNFT-Share%2FThresholdSignatureNetwork" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NFT-Share/ThresholdSignatureNetwork [INFO] finished tweaking git repo https://github.com/NFT-Share/ThresholdSignatureNetwork [INFO] tweaked toml for git repo https://github.com/NFT-Share/ThresholdSignatureNetwork written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NFT-Share/ThresholdSignatureNetwork on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NFT-Share/ThresholdSignatureNetwork already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce06092e6a178f22eddd7b30e1bc8eef7c5ad29dfd474f10c95924054b848a26 [INFO] running `Command { std: "docker" "start" "-a" "ce06092e6a178f22eddd7b30e1bc8eef7c5ad29dfd474f10c95924054b848a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce06092e6a178f22eddd7b30e1bc8eef7c5ad29dfd474f10c95924054b848a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce06092e6a178f22eddd7b30e1bc8eef7c5ad29dfd474f10c95924054b848a26", kill_on_drop: false }` [INFO] [stdout] ce06092e6a178f22eddd7b30e1bc8eef7c5ad29dfd474f10c95924054b848a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99bc611d521c8b3e566d7b3946154675095a6d0d1ad8a1b9b9c1f5118ea31276 [INFO] running `Command { std: "docker" "start" "-a" "99bc611d521c8b3e566d7b3946154675095a6d0d1ad8a1b9b9c1f5118ea31276", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking tsn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/core/threshold.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `compute_group_public_key` is private [INFO] [stdout] --> src/demo/demo.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | dkg.compute_group_public_key()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/core/dkg.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fn compute_group_public_key(&mut self) -> Result<()> { [INFO] [stdout] | ---------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `compute_group_public_key` is private [INFO] [stdout] --> src/demo/demo.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | dkg.compute_group_public_key()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/core/dkg.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fn compute_group_public_key(&mut self) -> Result<()> { [INFO] [stdout] | ---------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/threshold.rs:164:59 [INFO] [stdout] | [INFO] [stdout] 164 | let signer = ThresholdSigner::new(1, private_key, public_key); [INFO] [stdout] | -------------------- ^^^^^^^^^^ expected `VerifyingKey`, found `&VerifyingKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] found reference `&ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/threshold.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(node_id: u32, private_share: SigningKey, group_public_key: VerifyingKey) -> Self { [INFO] [stdout] | ^^^ ------------------------------ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 164 | let signer = ThresholdSigner::new(1, private_key, *public_key); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/threshold.rs:179:59 [INFO] [stdout] | [INFO] [stdout] 179 | let signer = ThresholdSigner::new(1, private_key, public_key); [INFO] [stdout] | -------------------- ^^^^^^^^^^ expected `VerifyingKey`, found `&VerifyingKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] found reference `&ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/threshold.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(node_id: u32, private_share: SigningKey, group_public_key: VerifyingKey) -> Self { [INFO] [stdout] | ^^^ ------------------------------ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 179 | let signer = ThresholdSigner::new(1, private_key, *public_key); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/threshold.rs:194:59 [INFO] [stdout] | [INFO] [stdout] 194 | let signer = ThresholdSigner::new(1, private_key, public_key); [INFO] [stdout] | -------------------- ^^^^^^^^^^ expected `VerifyingKey`, found `&VerifyingKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] found reference `&ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/threshold.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(node_id: u32, private_share: SigningKey, group_public_key: VerifyingKey) -> Self { [INFO] [stdout] | ^^^ ------------------------------ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 194 | let signer = ThresholdSigner::new(1, private_key, *public_key); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/threshold.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | let aggregator = SignatureAggregator::new(public_key); [INFO] [stdout] | ------------------------ ^^^^^^^^^^ expected `VerifyingKey`, found `&VerifyingKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] found reference `&ecdsa::verifying::VerifyingKey<_>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/core/threshold.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(group_public_key: VerifyingKey) -> Self { [INFO] [stdout] | ^^^ ------------------------------ [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 195 | let aggregator = SignatureAggregator::new(*public_key); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsn` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tsn` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "99bc611d521c8b3e566d7b3946154675095a6d0d1ad8a1b9b9c1f5118ea31276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99bc611d521c8b3e566d7b3946154675095a6d0d1ad8a1b9b9c1f5118ea31276", kill_on_drop: false }` [INFO] [stdout] 99bc611d521c8b3e566d7b3946154675095a6d0d1ad8a1b9b9c1f5118ea31276