[INFO] fetching crate ark-poly-commit 0.4.0... [INFO] checking ark-poly-commit-0.4.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [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 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 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" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.12.1 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded subtle v2.5.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.5 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded ark-serialize-derive v0.4.2 [INFO] [stderr] Downloaded ark-serialize v0.4.2 [INFO] [stderr] Downloaded ark-ff-macros v0.4.2 [INFO] [stderr] Downloaded ark-ed-on-bls12-381 v0.4.0 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] [stderr] Downloaded ark-ff-asm v0.4.2 [INFO] [stderr] Downloaded zeroize v1.7.0 [INFO] [stderr] Downloaded hashbrown v0.13.2 [INFO] [stderr] Downloaded ark-poly v0.4.2 [INFO] [stderr] Downloaded ark-bls12-377 v0.4.0 [INFO] [stderr] Downloaded itertools v0.10.5 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded rayon v1.10.0 [INFO] [stderr] Downloaded sha2 v0.10.8 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded ark-ff v0.4.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.27 [INFO] [stderr] Downloaded valuable v0.1.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.18 [INFO] [stderr] Downloaded ark-ec v0.4.2 [INFO] [stderr] Downloaded ark-r1cs-std v0.4.0 [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded derivative v2.2.0 [INFO] [stderr] Downloaded ark-std v0.4.0 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded colored v2.1.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e9ba4af2683a9c1e15c784143adf775a42bb2b101ea27e320ffa90adf60fc04 [INFO] running `Command { std: "docker" "start" "-a" "8e9ba4af2683a9c1e15c784143adf775a42bb2b101ea27e320ffa90adf60fc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e9ba4af2683a9c1e15c784143adf775a42bb2b101ea27e320ffa90adf60fc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9ba4af2683a9c1e15c784143adf775a42bb2b101ea27e320ffa90adf60fc04", kill_on_drop: false }` [INFO] [stdout] 8e9ba4af2683a9c1e15c784143adf775a42bb2b101ea27e320ffa90adf60fc04 [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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fec5eeb8a419669a3549979d5f1cf88e2b810792485968ec9a2d5fb12ff8f060 [INFO] running `Command { std: "docker" "start" "-a" "fec5eeb8a419669a3549979d5f1cf88e2b810792485968ec9a2d5fb12ff8f060", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking zeroize v1.7.0 [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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115: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" "fec5eeb8a419669a3549979d5f1cf88e2b810792485968ec9a2d5fb12ff8f060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec5eeb8a419669a3549979d5f1cf88e2b810792485968ec9a2d5fb12ff8f060", kill_on_drop: false }` [INFO] [stdout] fec5eeb8a419669a3549979d5f1cf88e2b810792485968ec9a2d5fb12ff8f060 [INFO] checking ark-poly-commit-0.4.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [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 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de43322948a112a45f1650291a07ffab663ae6b352f8062a49127d556948f2fc [INFO] running `Command { std: "docker" "start" "-a" "de43322948a112a45f1650291a07ffab663ae6b352f8062a49127d556948f2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de43322948a112a45f1650291a07ffab663ae6b352f8062a49127d556948f2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de43322948a112a45f1650291a07ffab663ae6b352f8062a49127d556948f2fc", kill_on_drop: false }` [INFO] [stdout] de43322948a112a45f1650291a07ffab663ae6b352f8062a49127d556948f2fc [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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfde583e0d3a87493251df63d51b375ccb1f2a9df6265348222f2c15a26c1ff2 [INFO] running `Command { std: "docker" "start" "-a" "cfde583e0d3a87493251df63d51b375ccb1f2a9df6265348222f2c15a26c1ff2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "cfde583e0d3a87493251df63d51b375ccb1f2a9df6265348222f2c15a26c1ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfde583e0d3a87493251df63d51b375ccb1f2a9df6265348222f2c15a26c1ff2", kill_on_drop: false }` [INFO] [stdout] cfde583e0d3a87493251df63d51b375ccb1f2a9df6265348222f2c15a26c1ff2