[INFO] fetching crate ark-poly-commit 0.4.0... [INFO] checking ark-poly-commit-0.4.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate ark-poly-commit 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate ark-poly-commit 0.4.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 ark-poly-commit 0.4.0 [INFO] finished tweaking crates.io crate ark-poly-commit 0.4.0 [INFO] tweaked toml for crates.io crate ark-poly-commit 0.4.0 written to /workspace/builds/worker-5-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 76 packages [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.3) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (latest: v0.3.18) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [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 ark-snark v0.4.0 [INFO] [stderr] Downloaded ark-ed-on-bls12-381 v0.4.0 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1587970ff7e01fa21dc4a899a0d39b9513f0fdb7087ad2a90300570f13ec0220 [INFO] running `Command { std: "docker" "start" "-a" "1587970ff7e01fa21dc4a899a0d39b9513f0fdb7087ad2a90300570f13ec0220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1587970ff7e01fa21dc4a899a0d39b9513f0fdb7087ad2a90300570f13ec0220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1587970ff7e01fa21dc4a899a0d39b9513f0fdb7087ad2a90300570f13ec0220", kill_on_drop: false }` [INFO] [stdout] 1587970ff7e01fa21dc4a899a0d39b9513f0fdb7087ad2a90300570f13ec0220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ac40c41a6c3c488d700b2ec76a0e882e1dbc48a58cb96014f7a75451011a3126 [INFO] running `Command { std: "docker" "start" "-a" "ac40c41a6c3c488d700b2ec76a0e882e1dbc48a58cb96014f7a75451011a3126", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-relations v0.4.0 [INFO] [stderr] Checking ark-snark v0.4.0 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-crypto-primitives v0.4.0 [INFO] [stderr] Checking ark-bls12-381 v0.4.0 [INFO] [stderr] Checking ark-bls12-377 v0.4.0 [INFO] [stderr] Checking ark-poly-commit v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(trivial_numeric_casts, private_in_public, variant_size_differences)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/data_structures.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Polynomial, String, Vec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/data_structures.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Polynomial, String, 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] error: the item `String` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::String; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/marlin/mod.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BTreeMap, BTreeSet, Debug, RngCore, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/marlin/mod.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BTreeMap, BTreeSet, Debug, RngCore, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/mod.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BTreeMap, BTreeSet, Debug, RngCore, String, ToString, 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] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pc/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pc/mod.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, ToString, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pc/data_structures.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | PCRandomness, PCVerifierKey, 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] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/mod.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ToString, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/data_structures.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/combinations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::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] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/kzg10/mod.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{BTreeMap, Error, LabeledPolynomial, PCRandomness, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/kzg10/mod.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{BTreeMap, Error, LabeledPolynomial, PCRandomness, ToString, 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] error: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/kzg10/data_structures.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PrimeField` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use ark_ff::{PrimeField, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/sonic_pc/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/sonic_pc/mod.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/sonic_pc/mod.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, String, ToString, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/sonic_pc/data_structures.rs:3:91 [INFO] [stdout] | [INFO] [stdout] 3 | BTreeMap, PCCommitterKey, PCPreparedCommitment, PCPreparedVerifierKey, PCVerifierKey, 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] error: the item `String` is imported redundantly [INFO] [stdout] --> src/ipa_pc/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec, CHALLENGE_SIZE}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ipa_pc/mod.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec, CHALLENGE_SIZE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ipa_pc/mod.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec, CHALLENGE_SIZE}; [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] error: the item `PCCommitterKey` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PCCommitterKey` is already imported here [INFO] [stdout] 2 | use crate::{PCCommitterKey, PCVerifierKey, Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `PCVerifierKey` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PCVerifierKey` is already imported here [INFO] [stdout] 2 | use crate::{PCCommitterKey, PCVerifierKey, Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 2 | use crate::{PCCommitterKey, PCVerifierKey, Vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Field` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Field` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use ark_ff::{Field, UniformRand, Zero}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RngCore` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use ark_std::rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/multilinear_pc/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/multilinear_pc/data_structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/data_structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/space.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/time.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use ark_std::{borrow::Borrow, ops::Div, ops::Mul, rand::RngCore, vec::Vec, UniformRand}; [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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | use ark_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] error: unnecessary qualification [INFO] [stdout] --> src/lib.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | let rng = &mut crate::optional_rng::OptionalRng(rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(unused_import_braces, unused_qualifications, trivial_casts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 428 - let rng = &mut crate::optional_rng::OptionalRng(rng); [INFO] [stdout] 428 + let rng = &mut optional_rng::OptionalRng(rng); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ark-ed-on-bls12-381 v0.4.0 [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(trivial_numeric_casts, private_in_public, variant_size_differences)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/data_structures.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Polynomial, String, Vec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/data_structures.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Polynomial, String, 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] error: the item `String` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::String; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/marlin/mod.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BTreeMap, BTreeSet, Debug, RngCore, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/marlin/mod.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BTreeMap, BTreeSet, Debug, RngCore, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/mod.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{BTreeMap, BTreeSet, Debug, RngCore, String, ToString, 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] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pc/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pc/mod.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, ToString, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pc/data_structures.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | PCRandomness, PCVerifierKey, 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] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/mod.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{ToString, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/data_structures.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/marlin/marlin_pst13_pc/mod.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | use ark_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] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/kzg10/mod.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{BTreeMap, Error, LabeledPolynomial, PCRandomness, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `PrimeField` is imported redundantly [INFO] [stdout] --> src/kzg10/data_structures.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PrimeField` is already imported here [INFO] [stdout] ... [INFO] [stdout] 5 | use ark_ff::{PrimeField, ToConstraintField}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Pairing` is imported redundantly [INFO] [stdout] --> src/kzg10/mod.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 495 | use crate::kzg10::*; [INFO] [stdout] | --------------- the item `Pairing` is already imported here [INFO] [stdout] ... [INFO] [stdout] 501 | use ark_ec::pairing::Pairing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `String` is imported redundantly [INFO] [stdout] --> src/sonic_pc/mod.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/sonic_pc/mod.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/sonic_pc/mod.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{BTreeMap, BTreeSet, String, ToString, 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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/sonic_pc/data_structures.rs:3:91 [INFO] [stdout] | [INFO] [stdout] 3 | BTreeMap, PCCommitterKey, PCPreparedCommitment, PCPreparedVerifierKey, PCVerifierKey, 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] error: the item `String` is imported redundantly [INFO] [stdout] --> src/ipa_pc/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec, CHALLENGE_SIZE}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/ipa_pc/mod.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec, CHALLENGE_SIZE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ipa_pc/mod.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{BTreeMap, BTreeSet, String, ToString, Vec, CHALLENGE_SIZE}; [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] error: the item `PCCommitterKey` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PCCommitterKey` is already imported here [INFO] [stdout] 2 | use crate::{PCCommitterKey, PCVerifierKey, Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `PCVerifierKey` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `PCVerifierKey` is already imported here [INFO] [stdout] 2 | use crate::{PCCommitterKey, PCVerifierKey, Vec}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 2 | use crate::{PCCommitterKey, PCVerifierKey, Vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Field` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `Field` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use ark_ff::{Field, UniformRand, Zero}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `RngCore` is imported redundantly [INFO] [stdout] --> src/ipa_pc/data_structures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | -------- the item `RngCore` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use ark_std::rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/multilinear_pc/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/multilinear_pc/data_structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/multilinear_pc/mod.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/data_structures.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/space.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/time.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use ark_std::{borrow::Borrow, ops::Div, ops::Mul, rand::RngCore, vec::Vec, UniformRand}; [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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | use ark_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] error: the item `Vec` is imported redundantly [INFO] [stdout] --> src/streaming_kzg/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ark_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] error: unnecessary qualification [INFO] [stdout] --> src/lib.rs:428:24 [INFO] [stdout] | [INFO] [stdout] 428 | let rng = &mut crate::optional_rng::OptionalRng(rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(unused_import_braces, unused_qualifications, trivial_casts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 428 - let rng = &mut crate::optional_rng::OptionalRng(rng); [INFO] [stdout] 428 + let rng = &mut optional_rng::OptionalRng(rng); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Polynomial` is imported redundantly [INFO] [stdout] --> src/lib.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 535 | use crate::*; [INFO] [stdout] | -------- the item `Polynomial` is already imported here [INFO] [stdout] 536 | use ark_crypto_primitives::sponge::poseidon::{PoseidonConfig, PoseidonSponge}; [INFO] [stdout] 537 | use ark_poly::Polynomial; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/streaming_kzg/data_structures.rs:143:77 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct FoldedPolynomialStream<'a, F, S>(FoldedPolynomialTree<'a, F, S>, usize); [INFO] [stdout] | ---------------------- field in this struct ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoldedPolynomialStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 143 | pub struct FoldedPolynomialStream<'a, F, S>(FoldedPolynomialTree<'a, F, S>, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ark-poly-commit` (lib) due to 36 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/streaming_kzg/data_structures.rs:143:77 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct FoldedPolynomialStream<'a, F, S>(FoldedPolynomialTree<'a, F, S>, usize); [INFO] [stdout] | ---------------------- field in this struct ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoldedPolynomialStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 143 | pub struct FoldedPolynomialStream<'a, F, S>(FoldedPolynomialTree<'a, F, S>, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ark-poly-commit` (lib test) due to 39 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac40c41a6c3c488d700b2ec76a0e882e1dbc48a58cb96014f7a75451011a3126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac40c41a6c3c488d700b2ec76a0e882e1dbc48a58cb96014f7a75451011a3126", kill_on_drop: false }` [INFO] [stdout] ac40c41a6c3c488d700b2ec76a0e882e1dbc48a58cb96014f7a75451011a3126 [INFO] checking ark-poly-commit-0.4.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate ark-poly-commit 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ark-poly-commit 0.4.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 ark-poly-commit 0.4.0 [INFO] finished tweaking crates.io crate ark-poly-commit 0.4.0 [INFO] tweaked toml for crates.io crate ark-poly-commit 0.4.0 written to /workspace/builds/worker-5-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] 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cfeafeaa8fa098275cb89852276b2c3b253d8e4bdc0a358aec7c26751a609a0f [INFO] running `Command { std: "docker" "start" "-a" "cfeafeaa8fa098275cb89852276b2c3b253d8e4bdc0a358aec7c26751a609a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfeafeaa8fa098275cb89852276b2c3b253d8e4bdc0a358aec7c26751a609a0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfeafeaa8fa098275cb89852276b2c3b253d8e4bdc0a358aec7c26751a609a0f", kill_on_drop: false }` [INFO] [stdout] cfeafeaa8fa098275cb89852276b2c3b253d8e4bdc0a358aec7c26751a609a0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b70704d8e46a88e9ef0ab98b527bcbf58546998cce33097645cbe3ce3e0df871 [INFO] running `Command { std: "docker" "start" "-a" "b70704d8e46a88e9ef0ab98b527bcbf58546998cce33097645cbe3ce3e0df871", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "b70704d8e46a88e9ef0ab98b527bcbf58546998cce33097645cbe3ce3e0df871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70704d8e46a88e9ef0ab98b527bcbf58546998cce33097645cbe3ce3e0df871", kill_on_drop: false }` [INFO] [stdout] b70704d8e46a88e9ef0ab98b527bcbf58546998cce33097645cbe3ce3e0df871