[INFO] fetching crate frost-core 1.0.0-rc.0... [INFO] checking frost-core-1.0.0-rc.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate frost-core 1.0.0-rc.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate frost-core 1.0.0-rc.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "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 postcard v1.0.8 [INFO] [stderr] Downloaded derive-getters v0.3.0 [INFO] [stderr] Downloaded serdect v0.2.0 [INFO] [stderr] Downloaded const-crc32 v1.3.0 [INFO] [stderr] Downloaded debugless-unwrap v0.0.4 [INFO] [stderr] Downloaded visibility v0.1.0 [INFO] [stderr] Downloaded itertools v0.12.1 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff4bd45bb57e10f973c29c5d0cab1cc2e7c880ca6abb8e18fd3c4eb358c7dfc [INFO] running `Command { std: "docker" "start" "-a" "6ff4bd45bb57e10f973c29c5d0cab1cc2e7c880ca6abb8e18fd3c4eb358c7dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff4bd45bb57e10f973c29c5d0cab1cc2e7c880ca6abb8e18fd3c4eb358c7dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff4bd45bb57e10f973c29c5d0cab1cc2e7c880ca6abb8e18fd3c4eb358c7dfc", kill_on_drop: false }` [INFO] [stdout] 6ff4bd45bb57e10f973c29c5d0cab1cc2e7c880ca6abb8e18fd3c4eb358c7dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af0159884929a49ee71b8ee79fd40e700036571bdcda96c3759fdc033075de6b [INFO] running `Command { std: "docker" "start" "-a" "af0159884929a49ee71b8ee79fd40e700036571bdcda96c3759fdc033075de6b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking embedded-io v0.4.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking const-crc32 v1.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking debugless-unwrap v0.0.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling heapless v0.7.17 [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 spin v0.9.8 [INFO] [stderr] Compiling document-features v0.2.8 [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 serde_json v1.0.115 [INFO] [stderr] Checking postcard v1.0.8 [INFO] [stderr] Checking frost-core v1.0.0-rc.0 (/opt/rustwide/workdir) [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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129: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/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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125: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[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" "af0159884929a49ee71b8ee79fd40e700036571bdcda96c3759fdc033075de6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0159884929a49ee71b8ee79fd40e700036571bdcda96c3759fdc033075de6b", kill_on_drop: false }` [INFO] [stdout] af0159884929a49ee71b8ee79fd40e700036571bdcda96c3759fdc033075de6b