[INFO] fetching crate fedimint-threshold-crypto 0.1.0... [INFO] checking fedimint-threshold-crypto-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate fedimint-threshold-crypto 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate fedimint-threshold-crypto 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fedimint-threshold-crypto 0.1.0 [INFO] finished tweaking crates.io crate fedimint-threshold-crypto 0.1.0 [INFO] tweaked toml for crates.io crate fedimint-threshold-crypto 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate fedimint-threshold-crypto 0.1.0 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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 parity-scale-codec v1.3.7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81a2001920da5abbc334a799ecd7644690cb0628763023cb96274652eb7828dc [INFO] running `Command { std: "docker" "start" "-a" "81a2001920da5abbc334a799ecd7644690cb0628763023cb96274652eb7828dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81a2001920da5abbc334a799ecd7644690cb0628763023cb96274652eb7828dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a2001920da5abbc334a799ecd7644690cb0628763023cb96274652eb7828dc", kill_on_drop: false }` [INFO] [stdout] 81a2001920da5abbc334a799ecd7644690cb0628763023cb96274652eb7828dc [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c0e3a299525c78cb3a48edac79de856d3b9f3aadea1643f381bd1c67e621ad7 [INFO] running `Command { std: "docker" "start" "-a" "5c0e3a299525c78cb3a48edac79de856d3b9f3aadea1643f381bd1c67e621ad7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pairing v0.22.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bls12_381 v0.7.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking fedimint-threshold-crypto v0.1.0 (/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`, `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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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: 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: 18 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] 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[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: 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[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] [stderr] error: could not compile `fedimint-threshold-crypto` (example "threshold_sig") 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: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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 11 + use rand_core::SeedableRng; [INFO] [stdout] | [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] 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: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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 11 + use rand_core::SeedableRng; [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] 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] 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`, `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: the item `rand` is imported redundantly [INFO] [stdout] --> src/lib.rs:861:16 [INFO] [stdout] | [INFO] [stdout] 861 | use rand::{self, distributions::Standard, random, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Standard` is imported redundantly [INFO] [stdout] --> src/lib.rs:861:22 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `Standard` is already imported here [INFO] [stdout] ... [INFO] [stdout] 861 | use rand::{self, distributions::Standard, random, Rng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rng` is imported redundantly [INFO] [stdout] --> src/lib.rs:861:55 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `Rng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 861 | use rand::{self, distributions::Standard, random, Rng}; [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 11 + use rand_core::SeedableRng; [INFO] [stdout] | [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] 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] [stderr] error: could not compile `fedimint-threshold-crypto` (example "basic_pkc") due to 2 previous errors [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 11 + use rand_core::SeedableRng; [INFO] [stdout] | [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 93 + use rand_core::SeedableRng; [INFO] [stdout] | [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] 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: 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] 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c0e3a299525c78cb3a48edac79de856d3b9f3aadea1643f381bd1c67e621ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0e3a299525c78cb3a48edac79de856d3b9f3aadea1643f381bd1c67e621ad7", kill_on_drop: false }` [INFO] [stdout] 5c0e3a299525c78cb3a48edac79de856d3b9f3aadea1643f381bd1c67e621ad7 [INFO] checking fedimint-threshold-crypto-0.1.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate fedimint-threshold-crypto 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate fedimint-threshold-crypto 0.1.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fedimint-threshold-crypto 0.1.0 [INFO] finished tweaking crates.io crate fedimint-threshold-crypto 0.1.0 [INFO] tweaked toml for crates.io crate fedimint-threshold-crypto 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate fedimint-threshold-crypto 0.1.0 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 741c3f33eca368d158cc91335515a81a853c200fd9068c28fa99898442ac86fc [INFO] running `Command { std: "docker" "start" "-a" "741c3f33eca368d158cc91335515a81a853c200fd9068c28fa99898442ac86fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "741c3f33eca368d158cc91335515a81a853c200fd9068c28fa99898442ac86fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741c3f33eca368d158cc91335515a81a853c200fd9068c28fa99898442ac86fc", kill_on_drop: false }` [INFO] [stdout] 741c3f33eca368d158cc91335515a81a853c200fd9068c28fa99898442ac86fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 388b2b535cf56ee3a7ad897049d4b2382a268b8a827df815db0ef84b4968aaa7 [INFO] running `Command { std: "docker" "start" "-a" "388b2b535cf56ee3a7ad897049d4b2382a268b8a827df815db0ef84b4968aaa7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "388b2b535cf56ee3a7ad897049d4b2382a268b8a827df815db0ef84b4968aaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388b2b535cf56ee3a7ad897049d4b2382a268b8a827df815db0ef84b4968aaa7", kill_on_drop: false }` [INFO] [stdout] 388b2b535cf56ee3a7ad897049d4b2382a268b8a827df815db0ef84b4968aaa7