[INFO] fetching crate frost-core 1.0.0-rc.0... [INFO] checking frost-core-1.0.0-rc.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate frost-core 1.0.0-rc.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate frost-core 1.0.0-rc.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 frost-core 1.0.0-rc.0 [INFO] finished tweaking crates.io crate frost-core 1.0.0-rc.0 [INFO] tweaked toml for crates.io crate frost-core 1.0.0-rc.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 123 packages [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding embedded-io v0.4.0 (latest: v0.6.1) [INFO] [stderr] Adding hash32 v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (latest: v0.8.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded visibility v0.1.0 [INFO] [stderr] Downloaded base16ct v0.2.0 [INFO] [stderr] Downloaded serdect v0.2.0 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] [stderr] Downloaded crunchy v0.2.2 [INFO] [stderr] Downloaded const-crc32 v1.3.0 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded itertools v0.12.1 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded litrs v0.4.1 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded debugless-unwrap v0.0.4 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded semver v1.0.22 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded derive-getters v0.3.0 [INFO] [stderr] Downloaded document-features v0.2.8 [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded rustc_version v0.4.0 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded postcard v1.0.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2b58edf21c8c434a02806293f821ca534aff5e4c3c4aeeb79c886590560f0720 [INFO] running `Command { std: "docker" "start" "-a" "2b58edf21c8c434a02806293f821ca534aff5e4c3c4aeeb79c886590560f0720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b58edf21c8c434a02806293f821ca534aff5e4c3c4aeeb79c886590560f0720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b58edf21c8c434a02806293f821ca534aff5e4c3c4aeeb79c886590560f0720", kill_on_drop: false }` [INFO] [stdout] 2b58edf21c8c434a02806293f821ca534aff5e4c3c4aeeb79c886590560f0720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 425ff91ed088d0856c6ed22fc8c25928a2160f231c18e3c4b7f484e1efdb389b [INFO] running `Command { std: "docker" "start" "-a" "425ff91ed088d0856c6ed22fc8c25928a2160f231c18e3c4b7f484e1efdb389b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking const-crc32 v1.3.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking debugless-unwrap v0.0.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling derive-getters v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling visibility v0.1.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking postcard v1.0.8 [INFO] [stderr] Checking frost-core v1.0.0-rc.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `CryptoRng` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `CryptoRng` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `RngCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VartimeMultiscalarMul` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `VartimeMultiscalarMul` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^ - the item `Element` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/keys.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/keys.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | default::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `Debug` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `Challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Error` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Field` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Group` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Group` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `round1` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^ - the item `round1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> src/benches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use criterion::{BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CryptoRng` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `CryptoRng` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `RngCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VartimeMultiscalarMul` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `VartimeMultiscalarMul` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^ - the item `Element` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/keys.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/keys.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | default::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `Debug` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `Challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Error` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Field` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Group` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Group` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `round1` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^ - the item `round1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tests/ciphersuite_generic.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::BTreeMap, convert::TryFrom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tests/coefficient_commitment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CryptoRng` is imported redundantly [INFO] [stdout] --> src/tests/proptests.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `CryptoRng` is already imported here [INFO] [stdout] 4 | use proptest::prelude::*; [INFO] [stdout] 5 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/tests/proptests.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `RngCore` is already imported here [INFO] [stdout] 4 | use proptest::prelude::*; [INFO] [stdout] 5 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | - the item `BTreeMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use hex::{self, FromHex}; [INFO] [stdout] | ^^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromHex` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use hex::{self, FromHex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | - the item `FromHex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^ - the item `Field` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Group` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^ - the item `Group` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scalar` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:63 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^ - the item `Scalar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SigningKey` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:71 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^^^^^ - the item `SigningKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VerifyingKey` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:83 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^^^^^^^ - the item `VerifyingKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tests/vss_commitment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/benches.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | let _ = vk.verify(msg, sig); [INFO] [stdout] | ------ ^^^ expected `&Signature<_>`, found `Signature<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&signature::Signature<_>` [INFO] [stdout] found struct `signature::Signature<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/verifying_key.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn verify(&self, msg: &[u8], signature: &Signature) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ ------------------------ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 53 | let _ = vk.verify(msg, &sig); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `verifying_key::VerifyingKey<_>` cannot be dereferenced [INFO] [stdout] --> src/benches.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | batch.queue((*vk, *sig, msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `signature::Signature<_>` cannot be dereferenced [INFO] [stdout] --> src/benches.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | batch.queue((*vk, *sig, msg)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frost-core` (lib test) due to 5 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "425ff91ed088d0856c6ed22fc8c25928a2160f231c18e3c4b7f484e1efdb389b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425ff91ed088d0856c6ed22fc8c25928a2160f231c18e3c4b7f484e1efdb389b", kill_on_drop: false }` [INFO] [stdout] 425ff91ed088d0856c6ed22fc8c25928a2160f231c18e3c4b7f484e1efdb389b [INFO] checking frost-core-1.0.0-rc.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate frost-core 1.0.0-rc.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate frost-core 1.0.0-rc.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 frost-core 1.0.0-rc.0 [INFO] finished tweaking crates.io crate frost-core 1.0.0-rc.0 [INFO] tweaked toml for crates.io crate frost-core 1.0.0-rc.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1239b80548a97f119a025f9b779c1c2771218effba207b2dd51dcffd476303d2 [INFO] running `Command { std: "docker" "start" "-a" "1239b80548a97f119a025f9b779c1c2771218effba207b2dd51dcffd476303d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1239b80548a97f119a025f9b779c1c2771218effba207b2dd51dcffd476303d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1239b80548a97f119a025f9b779c1c2771218effba207b2dd51dcffd476303d2", kill_on_drop: false }` [INFO] [stdout] 1239b80548a97f119a025f9b779c1c2771218effba207b2dd51dcffd476303d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 900c43cfa8819b7460fbc9f61bd4184f54d05e4b5c93fe7756f1c9e44132ba98 [INFO] running `Command { std: "docker" "start" "-a" "900c43cfa8819b7460fbc9f61bd4184f54d05e4b5c93fe7756f1c9e44132ba98", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking const-crc32 v1.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking debugless-unwrap v0.0.4 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling derive-getters v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling visibility v0.1.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking postcard v1.0.8 [INFO] [stderr] Checking frost-core v1.0.0-rc.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> src/benches.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use criterion::{BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CryptoRng` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `CryptoRng` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `RngCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VartimeMultiscalarMul` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `VartimeMultiscalarMul` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^ - the item `Element` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/keys.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/keys.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | default::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `Debug` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `Challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Error` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Field` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Group` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Group` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `round1` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^ - the item `round1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tests/ciphersuite_generic.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::BTreeMap, convert::TryFrom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tests/coefficient_commitment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CryptoRng` is imported redundantly [INFO] [stdout] --> src/tests/proptests.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `CryptoRng` is already imported here [INFO] [stdout] 4 | use proptest::prelude::*; [INFO] [stdout] 5 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/tests/proptests.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::*; [INFO] [stdout] | -------- the item `RngCore` is already imported here [INFO] [stdout] 4 | use proptest::prelude::*; [INFO] [stdout] 5 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | - the item `BTreeMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use hex::{self, FromHex}; [INFO] [stdout] | ^^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromHex` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use hex::{self, FromHex}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | - the item `FromHex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^ - the item `Field` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Group` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^ - the item `Group` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scalar` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:63 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^ - the item `Scalar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SigningKey` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:71 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^^^^^ - the item `SigningKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `frost-core` (lib test) due to 5 previous errors; 30 warnings emitted [INFO] [stdout] warning: the item `VerifyingKey` is imported redundantly [INFO] [stdout] --> src/tests/vectors.rs:10:83 [INFO] [stdout] | [INFO] [stdout] 10 | keys::*, round1::*, round2::*, Ciphersuite, Field, Group, Scalar, SigningKey, VerifyingKey, *, [INFO] [stdout] | ^^^^^^^^^^^^ - the item `VerifyingKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tests/vss_commitment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/benches.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | let _ = vk.verify(msg, sig); [INFO] [stdout] | ------ ^^^ expected `&Signature<_>`, found `Signature<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&signature::Signature<_>` [INFO] [stdout] found struct `signature::Signature<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/verifying_key.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn verify(&self, msg: &[u8], signature: &Signature) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ ------------------------ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 53 | let _ = vk.verify(msg, &sig); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `verifying_key::VerifyingKey<_>` cannot be dereferenced [INFO] [stdout] --> src/benches.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | batch.queue((*vk, *sig, msg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `signature::Signature<_>` cannot be dereferenced [INFO] [stdout] --> src/benches.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | batch.queue((*vk, *sig, msg)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: the item `CryptoRng` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `CryptoRng` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/batch.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use rand_core::{CryptoRng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | - the item `RngCore` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VartimeMultiscalarMul` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `VartimeMultiscalarMul` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Element` is imported redundantly [INFO] [stdout] --> src/batch.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{scalar_mul::VartimeMultiscalarMul, Ciphersuite, Element, *}; [INFO] [stdout] | ^^^^^^^ - the item `Element` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/keys.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | convert::TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/keys.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | default::Default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/round2.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | - the item `Debug` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Challenge` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^ - the item `Challenge` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ciphersuite` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^^^^^^ - the item `Ciphersuite` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Error` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Field` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Field` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Group` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^ - the item `Group` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `round1` is imported redundantly [INFO] [stdout] --> src/round2.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | challenge, Challenge, Ciphersuite, Error, Field, Group, {round1, *}, [INFO] [stdout] | ^^^^^^ - the item `round1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "900c43cfa8819b7460fbc9f61bd4184f54d05e4b5c93fe7756f1c9e44132ba98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "900c43cfa8819b7460fbc9f61bd4184f54d05e4b5c93fe7756f1c9e44132ba98", kill_on_drop: false }` [INFO] [stdout] 900c43cfa8819b7460fbc9f61bd4184f54d05e4b5c93fe7756f1c9e44132ba98