[INFO] fetching crate fedimint-threshold-crypto 0.2.1... [INFO] testing fedimint-threshold-crypto-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fedimint-threshold-crypto 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fedimint-threshold-crypto 0.2.1 [INFO] finished tweaking crates.io crate fedimint-threshold-crypto 0.2.1 [INFO] tweaked toml for crates.io crate fedimint-threshold-crypto 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fedimint-threshold-crypto 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fedimint-threshold-crypto 0.2.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-svg v0.3.2 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded plotters v0.3.2 [INFO] [stderr] Downloaded bls12_381 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8631f71d31ae4894b30d7bfa7a08f0a620c81a07eac702f2cfd9dfc526ba73dd [INFO] running `Command { std: "docker" "start" "-a" "8631f71d31ae4894b30d7bfa7a08f0a620c81a07eac702f2cfd9dfc526ba73dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8631f71d31ae4894b30d7bfa7a08f0a620c81a07eac702f2cfd9dfc526ba73dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8631f71d31ae4894b30d7bfa7a08f0a620c81a07eac702f2cfd9dfc526ba73dd", kill_on_drop: false }` [INFO] [stdout] 8631f71d31ae4894b30d7bfa7a08f0a620c81a07eac702f2cfd9dfc526ba73dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d72c32f09d0d7777b0962d4aa4a4267bdf41371975d11224fc70b7f0cd9edd9 [INFO] running `Command { std: "docker" "start" "-a" "1d72c32f09d0d7777b0962d4aa4a4267bdf41371975d11224fc70b7f0cd9edd9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling pairing v0.23.0 [INFO] [stderr] Compiling bls12_381 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling fedimint-threshold-crypto v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/cmp_pairing.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use group::{Curve, Group, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pairing::group::ff::PrimeField` [INFO] [stdout] --> src/into_fr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pairing::group::ff::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitAndAssign` [INFO] [stdout] --> src/poly.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::{AddAssign, BitAnd, BitAndAssign, BitOr, Mul, MulAssign, Not, SubAssign}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `G1Affine`, `G2Affine`, and `G2Projective` [INFO] [stdout] --> src/serde_impl.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use bls12_381::{G1Affine, G2Affine, G2Projective}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Curve` [INFO] [stdout] --> src/serde_impl.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ff::PrimeField` [INFO] [stdout] --> src/serde_impl.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | use ff::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PairingCurveAffine` [INFO] [stdout] --> src/serde_impl.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | use pairing::{PairingCurveAffine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/poly.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | use group::{Curve, Group, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupEncoding` [INFO] [stdout] --> src/serde_impl.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/into_fr.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut result = ((-self) as u64).into_fr(); [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: variable does not need to be mutable [INFO] [stdout] --> src/into_fr.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut result = ((-self) as u64).into_fr(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poly.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | fn sub(self, mut rhs: Scalar) -> Self::Output { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CODE` is never used [INFO] [stdout] --> src/serde_impl.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | const ERR_CODE: &str = "deserialized bytes don't encode a group element"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from(g1: G1Projective) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter<'_, G1Projective> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/poly.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn from(coeff: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/serde_impl.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / pub fn serialize(vec: T, s: S) -> Result [INFO] [stdout] 408 | | where [INFO] [stdout] 409 | | S: Serializer, [INFO] [stdout] 410 | | C: Curve, [INFO] [stdout] 411 | | C::AffineRepr: GroupEncoding, [INFO] [stdout] 412 | | T: AsRef<[C]>, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/serde_impl.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | / pub fn deserialize<'de, D, C, T>(d: D) -> Result [INFO] [stdout] 419 | | where [INFO] [stdout] 420 | | D: Deserializer<'de>, [INFO] [stdout] 421 | | C: Curve, [INFO] [stdout] 422 | | C::AffineRepr: GroupEncoding, [INFO] [stdout] 423 | | C: From, [INFO] [stdout] 424 | | T: FromIterator, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.20s [INFO] running `Command { std: "docker" "inspect" "1d72c32f09d0d7777b0962d4aa4a4267bdf41371975d11224fc70b7f0cd9edd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d72c32f09d0d7777b0962d4aa4a4267bdf41371975d11224fc70b7f0cd9edd9", kill_on_drop: false }` [INFO] [stdout] 1d72c32f09d0d7777b0962d4aa4a4267bdf41371975d11224fc70b7f0cd9edd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5adf611fe527bcbb49c98e6ab4880d960f88b128144eaa563fe2d1759a21a92e [INFO] running `Command { std: "docker" "start" "-a" "5adf611fe527bcbb49c98e6ab4880d960f88b128144eaa563fe2d1759a21a92e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling plotters-svg v0.3.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling plotters v0.3.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/cmp_pairing.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use group::{Curve, Group, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pairing::group::ff::PrimeField` [INFO] [stdout] --> src/into_fr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pairing::group::ff::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitAndAssign` [INFO] [stdout] --> src/poly.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::{AddAssign, BitAnd, BitAndAssign, BitOr, Mul, MulAssign, Not, SubAssign}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `G1Affine`, `G2Affine`, and `G2Projective` [INFO] [stdout] --> src/serde_impl.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use bls12_381::{G1Affine, G2Affine, G2Projective}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Curve` [INFO] [stdout] --> src/serde_impl.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ff::PrimeField` [INFO] [stdout] --> src/serde_impl.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | use ff::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PairingCurveAffine` [INFO] [stdout] --> src/serde_impl.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | use pairing::{PairingCurveAffine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/poly.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | use group::{Curve, Group, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupEncoding` [INFO] [stdout] --> src/serde_impl.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/into_fr.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut result = ((-self) as u64).into_fr(); [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: variable does not need to be mutable [INFO] [stdout] --> src/into_fr.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut result = ((-self) as u64).into_fr(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poly.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | fn sub(self, mut rhs: Scalar) -> Self::Output { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CODE` is never used [INFO] [stdout] --> src/serde_impl.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | const ERR_CODE: &str = "deserialized bytes don't encode a group element"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from(g1: G1Projective) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter<'_, G1Projective> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/poly.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn from(coeff: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/serde_impl.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / pub fn serialize(vec: T, s: S) -> Result [INFO] [stdout] 408 | | where [INFO] [stdout] 409 | | S: Serializer, [INFO] [stdout] 410 | | C: Curve, [INFO] [stdout] 411 | | C::AffineRepr: GroupEncoding, [INFO] [stdout] 412 | | T: AsRef<[C]>, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/serde_impl.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | / pub fn deserialize<'de, D, C, T>(d: D) -> Result [INFO] [stdout] 419 | | where [INFO] [stdout] 420 | | D: Deserializer<'de>, [INFO] [stdout] 421 | | C: Curve, [INFO] [stdout] 422 | | C::AffineRepr: GroupEncoding, [INFO] [stdout] 423 | | C: From, [INFO] [stdout] 424 | | T: FromIterator, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling fedimint-threshold-crypto v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `threshold_crypto` [INFO] [stdout] --> examples/threshold_enc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threshold_crypto::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `threshold_crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threshold_crypto`, use `cargo add threshold_crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `threshold_crypto` [INFO] [stdout] --> examples/threshold_sig.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threshold_crypto::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `threshold_crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threshold_crypto`, use `cargo add threshold_crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `threshold_crypto` [INFO] [stdout] --> examples/basic_pkc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threshold_crypto::{PublicKey, SecretKey, Signature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `threshold_crypto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `threshold_crypto`, use `cargo add threshold_crypto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/cmp_pairing.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use group::{Curve, Group, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pairing::group::ff::PrimeField` [INFO] [stdout] --> src/into_fr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pairing::group::ff::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitAndAssign` [INFO] [stdout] --> src/poly.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::{AddAssign, BitAnd, BitAndAssign, BitOr, Mul, MulAssign, Not, SubAssign}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `G1Affine`, `G2Affine`, and `G2Projective` [INFO] [stdout] --> src/serde_impl.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use bls12_381::{G1Affine, G2Affine, G2Projective}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Curve` [INFO] [stdout] --> src/serde_impl.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ff::PrimeField` [INFO] [stdout] --> src/serde_impl.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | use ff::PrimeField; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PairingCurveAffine` [INFO] [stdout] --> src/serde_impl.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | use pairing::{PairingCurveAffine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-threshold-crypto` (example "basic_pkc") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-threshold-crypto` (example "threshold_sig") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-threshold-crypto` (example "threshold_enc") due to 1 previous error [INFO] [stdout] warning: unused import: `Group` [INFO] [stdout] --> src/poly.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | use group::{Curve, Group, GroupEncoding}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupEncoding` [INFO] [stdout] --> src/serde_impl.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use group::{Curve, GroupEncoding}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/into_fr.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut result = ((-self) as u64).into_fr(); [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: variable does not need to be mutable [INFO] [stdout] --> src/into_fr.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let mut result = ((-self) as u64).into_fr(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poly.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | fn sub(self, mut rhs: Scalar) -> Self::Output { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR_CODE` is never used [INFO] [stdout] --> src/serde_impl.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | const ERR_CODE: &str = "deserialized bytes don't encode a group element"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from(g1: G1Projective) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter<'_, G1Projective> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/poly.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn from(coeff: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/serde_impl.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / pub fn serialize(vec: T, s: S) -> Result [INFO] [stdout] 408 | | where [INFO] [stdout] 409 | | S: Serializer, [INFO] [stdout] 410 | | C: Curve, [INFO] [stdout] 411 | | C::AffineRepr: GroupEncoding, [INFO] [stdout] 412 | | T: AsRef<[C]>, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/serde_impl.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | / pub fn deserialize<'de, D, C, T>(d: D) -> Result [INFO] [stdout] 419 | | where [INFO] [stdout] 420 | | D: Deserializer<'de>, [INFO] [stdout] 421 | | C: Curve, [INFO] [stdout] 422 | | C::AffineRepr: GroupEncoding, [INFO] [stdout] 423 | | C: From, [INFO] [stdout] 424 | | T: FromIterator, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5adf611fe527bcbb49c98e6ab4880d960f88b128144eaa563fe2d1759a21a92e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5adf611fe527bcbb49c98e6ab4880d960f88b128144eaa563fe2d1759a21a92e", kill_on_drop: false }` [INFO] [stdout] 5adf611fe527bcbb49c98e6ab4880d960f88b128144eaa563fe2d1759a21a92e