[INFO] fetching crate fedimint-threshold-crypto 0.2.1... [INFO] checking fedimint-threshold-crypto-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate fedimint-threshold-crypto 0.2.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fedimint-threshold-crypto 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec-derive v1.2.3 [INFO] [stderr] Downloaded libc v0.2.127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6d3df03becd851aca4b3c245bdc37a19a955741360af15ca5f406d66ae4c112 [INFO] running `Command { std: "docker" "start" "-a" "e6d3df03becd851aca4b3c245bdc37a19a955741360af15ca5f406d66ae4c112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6d3df03becd851aca4b3c245bdc37a19a955741360af15ca5f406d66ae4c112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d3df03becd851aca4b3c245bdc37a19a955741360af15ca5f406d66ae4c112", kill_on_drop: false }` [INFO] [stdout] e6d3df03becd851aca4b3c245bdc37a19a955741360af15ca5f406d66ae4c112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f3ba5a8ca2bf19ad157feb03375113024047ad0df0f05b3c59ec5e5de5a5172 [INFO] running `Command { std: "docker" "start" "-a" "2f3ba5a8ca2bf19ad157feb03375113024047ad0df0f05b3c59ec5e5de5a5172", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [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] Checking once_cell v1.13.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [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 rayon v1.5.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking plotters v0.3.2 [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] [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking criterion v0.3.6 [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] 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] 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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `threshold_crypto` [INFO] [stdout] --> benches/bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use threshold_crypto::poly::Poly; [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] --> benches/bench.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use threshold_crypto::Scalar; [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] --> benches/bench.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | use threshold_crypto::SecretKeySet; [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: `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] 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] 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] [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] 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] 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 8 previous errors; 6 warnings emitted [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn coefficients(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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" "2f3ba5a8ca2bf19ad157feb03375113024047ad0df0f05b3c59ec5e5de5a5172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3ba5a8ca2bf19ad157feb03375113024047ad0df0f05b3c59ec5e5de5a5172", kill_on_drop: false }` [INFO] [stdout] 2f3ba5a8ca2bf19ad157feb03375113024047ad0df0f05b3c59ec5e5de5a5172