[INFO] fetching crate fedimint-threshold-crypto 0.2.1... [INFO] checking fedimint-threshold-crypto-0.2.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate fedimint-threshold-crypto 0.2.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate fedimint-threshold-crypto 0.2.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wyz v0.5.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.2.3 [INFO] [stderr] Downloaded pairing v0.23.0 [INFO] [stderr] Downloaded bls12_381 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9d66a1792e4c41ab8b82b0e3f8ce183a68e91263003a7beb684b2121121acd7 [INFO] running `Command { std: "docker" "start" "-a" "a9d66a1792e4c41ab8b82b0e3f8ce183a68e91263003a7beb684b2121121acd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9d66a1792e4c41ab8b82b0e3f8ce183a68e91263003a7beb684b2121121acd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d66a1792e4c41ab8b82b0e3f8ce183a68e91263003a7beb684b2121121acd7", kill_on_drop: false }` [INFO] [stdout] a9d66a1792e4c41ab8b82b0e3f8ce183a68e91263003a7beb684b2121121acd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5edefc677ea3ca9d9367ac176934138db52c3617f45246b352579b9f10c00f60 [INFO] running `Command { std: "docker" "start" "-a" "5edefc677ea3ca9d9367ac176934138db52c3617f45246b352579b9f10c00f60", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters v0.3.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Checking bls12_381 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking 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] [stderr] Checking csv v1.1.6 [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: 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] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `threshold_crypto` [INFO] [stdout] --> benches/bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threshold_crypto::poly::Poly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `threshold_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `threshold_crypto` [INFO] [stdout] --> benches/bench.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use threshold_crypto::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `threshold_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `threshold_crypto` [INFO] [stdout] --> benches/bench.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use threshold_crypto::SecretKeySet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `threshold_crypto` [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 undeclared crate or module `threshold_crypto` [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 undeclared crate or module `threshold_crypto` [INFO] [stdout] [INFO] [stdout] [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 undeclared crate or module `threshold_crypto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ff::Field` [INFO] [stdout] --> benches/bench.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ff::Field; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `XorShiftRng` in the current scope [INFO] [stdout] --> benches/bench.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | let mut rng = XorShiftRng::from_seed(RNG_SEED); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `XorShiftRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 289 | fn from_seed(seed: Self::Seed) -> Self; [INFO] [stdout] | --------------------------------------- the associated function is available for `XorShiftRng` here [INFO] [stdout] | [INFO] [stdout] ::: benches/bench.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::SeedableRng; [INFO] [stdout] | ----------------- `SeedableRng` imported here doesn't correspond to the right version of crate `rand_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.3/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-threshold-crypto` (example "basic_pkc") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `XorShiftRng` in the current scope [INFO] [stdout] --> benches/bench.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rng = XorShiftRng::from_seed(RNG_SEED); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `XorShiftRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 289 | fn from_seed(seed: Self::Seed) -> Self; [INFO] [stdout] | --------------------------------------- the associated function is available for `XorShiftRng` here [INFO] [stdout] | [INFO] [stdout] ::: benches/bench.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::SeedableRng; [INFO] [stdout] | ----------------- `SeedableRng` imported here doesn't correspond to the right version of crate `rand_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.3/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `XorShiftRng` in the current scope [INFO] [stdout] --> benches/bench.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | let mut rng = XorShiftRng::from_seed(RNG_SEED); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `XorShiftRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 289 | fn from_seed(seed: Self::Seed) -> Self; [INFO] [stdout] | --------------------------------------- the associated function is available for `XorShiftRng` here [INFO] [stdout] | [INFO] [stdout] ::: benches/bench.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::SeedableRng; [INFO] [stdout] | ----------------- `SeedableRng` imported here doesn't correspond to the right version of crate `rand_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.3/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [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: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `fedimint-threshold-crypto` (example "threshold_enc") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `iter` found for reference `&Vec` in the current scope [INFO] [stdout] --> examples/threshold_sig.rs:101:45 [INFO] [stdout] | [INFO] [stdout] 101 | ... let sigs = sigs.iter().cloned(); [INFO] [stdout] | ^^^^ method not found in `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `XorShiftRng` in the current scope [INFO] [stdout] --> benches/bench.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let mut rng = XorShiftRng::from_seed(RNG_SEED); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `XorShiftRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 289 | fn from_seed(seed: Self::Seed) -> Self; [INFO] [stdout] | --------------------------------------- the associated function is available for `XorShiftRng` here [INFO] [stdout] | [INFO] [stdout] ::: benches/bench.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::SeedableRng; [INFO] [stdout] | ----------------- `SeedableRng` imported here doesn't correspond to the right version of crate `rand_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.3/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `extend` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> examples/threshold_sig.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 102 | / ... user_msgs [INFO] [stdout] 103 | | ... .entry(msg.to_string()) [INFO] [stdout] 104 | | ... .or_insert_with(Vec::new) [INFO] [stdout] 105 | | ... .extend(sigs); [INFO] [stdout] | | -^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | |___________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_seed` found for struct `XorShiftRng` in the current scope [INFO] [stdout] --> benches/bench.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let mut rng = XorShiftRng::from_seed(RNG_SEED); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `XorShiftRng` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.5.1/src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | pub trait SeedableRng: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 289 | fn from_seed(seed: Self::Seed) -> Self; [INFO] [stdout] | --------------------------------------- the associated function is available for `XorShiftRng` here [INFO] [stdout] | [INFO] [stdout] ::: benches/bench.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use rand::SeedableRng; [INFO] [stdout] | ----------------- `SeedableRng` imported here doesn't correspond to the right version of crate `rand_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.3/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait SeedableRng: Sized { [INFO] [stdout] | ---------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for reference `&Vec` in the current scope [INFO] [stdout] --> examples/threshold_sig.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let sigs = sigs.iter().filter_map(|node_sig| { [INFO] [stdout] | ^^^^ method not found in `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> benches/bench.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> benches/bench.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for mutable reference `&mut Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/threshold_sig.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 165 | / self.pending [INFO] [stdout] 166 | | .entry(user_id) [INFO] [stdout] 167 | | .or_insert_with(BTreeMap::new) [INFO] [stdout] 168 | | .entry(msg) [INFO] [stdout] 169 | | .or_insert_with(Vec::new) [INFO] [stdout] 170 | | .push(sig); [INFO] [stdout] | | -^^^^ method cannot be called on `&mut Vec` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 175 | struct NodeSignature { [INFO] [stdout] | -------------------- doesn't satisfy `NodeSignature: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `NodeSignature: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-threshold-crypto` (bench "bench") due to 9 previous errors; 8 warnings emitted [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-threshold-crypto` (example "threshold_sig") due to 6 previous errors [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: 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] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5edefc677ea3ca9d9367ac176934138db52c3617f45246b352579b9f10c00f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5edefc677ea3ca9d9367ac176934138db52c3617f45246b352579b9f10c00f60", kill_on_drop: false }` [INFO] [stdout] 5edefc677ea3ca9d9367ac176934138db52c3617f45246b352579b9f10c00f60