[INFO] cloning repository https://github.com/thor314/ts-fk-around [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thor314/ts-fk-around" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fts-fk-around", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fts-fk-around'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf9fe2dfd8c31c1f62eaf2b5a72c288747bb65fb [INFO] testing thor314/ts-fk-around against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthor314%2Fts-fk-around" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thor314/ts-fk-around on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thor314/ts-fk-around [INFO] finished tweaking git repo https://github.com/thor314/ts-fk-around [INFO] tweaked toml for git repo https://github.com/thor314/ts-fk-around written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/thor314/ts-fk-around already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/axelarnetwork/tofn.git` [INFO] [stderr] Updating git repository `https://github.com/axelarnetwork/paillier-rs` [INFO] [stderr] Updating git repository `https://github.com/axelarnetwork/unknown_order` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded round-based v0.1.6 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded rust-gmp v0.5.0 [INFO] [stderr] Downloaded serde_bare v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c85ed95e10ca661febb098f3e7b50a5494de925fe706fd0fbf65c79c508c3000 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c85ed95e10ca661febb098f3e7b50a5494de925fe706fd0fbf65c79c508c3000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c85ed95e10ca661febb098f3e7b50a5494de925fe706fd0fbf65c79c508c3000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85ed95e10ca661febb098f3e7b50a5494de925fe706fd0fbf65c79c508c3000", kill_on_drop: false }` [INFO] [stdout] c85ed95e10ca661febb098f3e7b50a5494de925fe706fd0fbf65c79c508c3000 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 540b98b1f0220ca918e233d59a730217816e7e9dc5dca407051bb841684c4d9b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "540b98b1f0220ca918e233d59a730217816e7e9dc5dca407051bb841684c4d9b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling sha2-asm v0.6.2 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling curl-sys v0.4.53+curl-7.82.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rust-gmp v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling async-global-executor v2.0.3 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_bare v0.4.0 [INFO] [stderr] Compiling unknown_order v0.2.3 (https://github.com/axelarnetwork/unknown_order#0f841f81) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling round-based v0.1.6 [INFO] [stderr] Compiling libpaillier v0.2.1 (https://github.com/axelarnetwork/paillier-rs#2d965b16) [INFO] [stderr] Compiling tofn v0.1.0 (https://github.com/axelarnetwork/tofn.git#702a8b03) [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling ts-fuck-around v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ecdsa::elliptic_curve::Field` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ecdsa::elliptic_curve::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::THRESHOLD` [INFO] [stdout] --> src/central_keygen.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::THRESHOLD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::execute::execute_protocol` [INFO] [stdout] --> src/central_keygen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::execute::execute_protocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tofn_common::keygen::initialize_honest_parties` [INFO] [stdout] --> src/central_keygen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::tofn_common::keygen::initialize_honest_parties; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `elliptic_curve::sec1::FromEncodedPoint`, `hazmat::VerifyPrimitive` [INFO] [stdout] --> src/central_keygen.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use ecdsa::{elliptic_curve::sec1::FromEncodedPoint, hazmat::VerifyPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tofn::gg20::keygen::KeygenPartyId` [INFO] [stdout] --> src/central_keygen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tofn::gg20::keygen::KeygenPartyId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tofn::gg20::keygen::KeygenProtocol` [INFO] [stdout] --> src/central_keygen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tofn::gg20::keygen::KeygenProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageDigest`, `SignParties`, `SignShareId`, `new_sign` [INFO] [stdout] --> src/central_keygen.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use tofn::gg20::sign::{new_sign, MessageDigest, SignParties, SignShareId}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeygenShareId`, `PartyShareCounts`, `Protocol`, `SecretKeyShare`, `TypedUsize`, `VecMap` [INFO] [stdout] --> src/central_keygen.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | collections::{TypedUsize, VecMap}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | gg20::keygen::{KeygenShareId, SecretKeyShare}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | sdk::api::{PartyShareCounts, Protocol}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/central_keygen.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/central_keygen.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 63 | y: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 64 | all_shares: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 68 | index: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 69 | dk: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `share` [INFO] [stdout] --> src/lib.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | keygen_shares.into_iter().map(|share| todo!()).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_share` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_share_info` [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let secret_share_info: VecMap = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_share_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_public_info` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let group_public_info = GroupPublicInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_public_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `share_secret_info` [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let share_secret_info = ShareSecretInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_share_secret_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key_shares` [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let secret_key_shares: VecMap = secret_share_info [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key_shares` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_to_file` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let write_to_file = todo!(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_to_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/central_keygen.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn call_vss_with_secret_key(n: usize, t: usize, secret_key: k256::Scalar) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/central_keygen.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn call_vss_with_secret_key(n: usize, t: usize, secret_key: k256::Scalar) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/central_keygen.rs:20:60 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn call_vss_with_secret_key(n: usize, t: usize, secret_key: k256::Scalar) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | threshold: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut vss = crate::vss::Vss::new_byok(THRESHOLD, secret_key); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_vss_with_secret_key` [INFO] [stdout] --> src/central_keygen.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn call_vss_with_secret_key(n: usize, t: usize, secret_key: k256::Scalar) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_with_thread_rng` [INFO] [stdout] --> src/k256_serde.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn random_with_thread_rng() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random` [INFO] [stdout] --> src/k256_serde.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn random(rng: impl CryptoRng + RngCore) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/k256_serde.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn to_bytes(&self) -> [u8; 33] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/k256_serde.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn from_bytes(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `point_to_bytes` [INFO] [stdout] --> src/k256_serde.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn point_to_bytes(p: &k256::ProjectivePoint) -> [u8; 33] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_array33` [INFO] [stdout] --> src/k256_serde.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn to_array33(g: GenericArray) -> [u8; 33] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/vss.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(threshold: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_secret` [INFO] [stdout] --> src/vss.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_secret(&self) -> &k256::Scalar { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `commit` [INFO] [stdout] --> src/vss.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn commit(&self) -> Commit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/vss.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `share_commit` [INFO] [stdout] --> src/vss.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn share_commit(&self, index: usize) -> k256::ProjectivePoint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_commit` [INFO] [stdout] --> src/vss.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn secret_commit(&self) -> &k256::ProjectivePoint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_share_commit` [INFO] [stdout] --> src/vss.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn validate_share_commit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_share` [INFO] [stdout] --> src/vss.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn validate_share(&self, share: &Share) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_scalar` [INFO] [stdout] --> src/vss.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn from_scalar(scalar: k256::Scalar, index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_scalar` [INFO] [stdout] --> src/vss.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_scalar(&self) -> &k256::Scalar { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> src/vss.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_point` [INFO] [stdout] --> src/vss.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn from_point(index: usize, point: k256_serde::ProjectivePoint) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recover_secret_commit` [INFO] [stdout] --> src/vss.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn recover_secret_commit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lagrange_coefficient` [INFO] [stdout] --> src/vss.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn lagrange_coefficient(i: usize, indices: &[usize]) -> TofnResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `party_share_counts` of struct `tofn::gg20::keygen::GroupPublicInfo` is private [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | party_share_counts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `threshold` of struct `tofn::gg20::keygen::GroupPublicInfo` is private [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | threshold: THRESHOLD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `y` of struct `tofn::gg20::keygen::GroupPublicInfo` is private [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | y: todo!(), [INFO] [stdout] | ^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `all_shares` of struct `tofn::gg20::keygen::GroupPublicInfo` is private [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | all_shares: todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `index` of struct `tofn::gg20::keygen::ShareSecretInfo` is private [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | index: todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `dk` of struct `tofn::gg20::keygen::ShareSecretInfo` is private [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | dk: todo!(), [INFO] [stdout] | ^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `x_i` of struct `tofn::gg20::keygen::ShareSecretInfo` is private [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | x_i: todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `group` of struct `tofn::gg20::keygen::SecretKeyShare` is private [INFO] [stdout] --> src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | group: group_public_info.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0451]: field `share` of struct `tofn::gg20::keygen::SecretKeyShare` is private [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | share: share.1, [INFO] [stdout] | ^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0451`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-fuck-around` due to 10 previous errors; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "540b98b1f0220ca918e233d59a730217816e7e9dc5dca407051bb841684c4d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540b98b1f0220ca918e233d59a730217816e7e9dc5dca407051bb841684c4d9b", kill_on_drop: false }` [INFO] [stdout] 540b98b1f0220ca918e233d59a730217816e7e9dc5dca407051bb841684c4d9b