[INFO] fetching crate arkworks-native-gadgets 1.2.0...
[INFO] checking arkworks-native-gadgets-1.2.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate arkworks-native-gadgets 1.2.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate arkworks-native-gadgets 1.2.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate arkworks-native-gadgets 1.2.0
[INFO] finished tweaking crates.io crate arkworks-native-gadgets 1.2.0
[INFO] tweaked toml for crates.io crate arkworks-native-gadgets 1.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ark-serialize-derive v0.3.0
[INFO] [stderr]   Downloaded ark-std v0.3.0
[INFO] [stderr]   Downloaded pest v2.7.8
[INFO] [stderr]   Downloaded ark-ff-macros v0.3.0
[INFO] [stderr]   Downloaded semver v0.11.0
[INFO] [stderr]   Downloaded ark-serialize v0.3.0
[INFO] [stderr]   Downloaded ark-snark v0.3.0
[INFO] [stderr]   Downloaded blake2 v0.9.2
[INFO] [stderr]   Downloaded ark-bn254 v0.3.0
[INFO] [stderr]   Downloaded ark-ec v0.3.0
[INFO] [stderr]   Downloaded ark-nonnative-field v0.3.0
[INFO] [stderr]   Downloaded tracing-subscriber v0.2.25
[INFO] [stderr]   Downloaded ark-r1cs-std v0.3.1
[INFO] [stderr]   Downloaded ark-crypto-primitives v0.3.0
[INFO] [stderr]   Downloaded ark-bls12-381 v0.3.0
[INFO] [stderr]   Downloaded ark-ed-on-bls12-381 v0.3.0
[INFO] [stderr]   Downloaded ark-relations v0.3.0
[INFO] [stderr]   Downloaded ark-ff-asm v0.3.0
[INFO] [stderr]   Downloaded ark-ed-on-bn254 v0.3.0
[INFO] [stderr]   Downloaded semver-parser v0.10.2
[INFO] [stderr]   Downloaded rustc_version v0.3.3
[INFO] [stderr]   Downloaded ark-ff v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f69dec880fcc0fdb08596d25333c81e833b23071ebce7d822a5366356fe345e
[INFO] running `Command { std: "docker" "start" "-a" "0f69dec880fcc0fdb08596d25333c81e833b23071ebce7d822a5366356fe345e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f69dec880fcc0fdb08596d25333c81e833b23071ebce7d822a5366356fe345e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f69dec880fcc0fdb08596d25333c81e833b23071ebce7d822a5366356fe345e", kill_on_drop: false }`
[INFO] [stdout] 0f69dec880fcc0fdb08596d25333c81e833b23071ebce7d822a5366356fe345e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b746a7de297abc4ca1119f1761cf31413c2cce609184bf4ff4bb3eb7a6a85c66
[INFO] running `Command { std: "docker" "start" "-a" "b746a7de297abc4ca1119f1761cf31413c2cce609184bf4ff4bb3eb7a6a85c66", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking ark-std v0.3.0
[INFO] [stderr]     Checking num-bigint v0.4.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling ark-serialize-derive v0.3.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]     Checking ark-serialize v0.3.0
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling pest v2.7.8
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]     Checking ark-ec v0.3.0
[INFO] [stderr]     Checking ark-relations v0.3.0
[INFO] [stderr]     Checking ark-snark v0.3.0
[INFO] [stderr]     Checking ark-r1cs-std v0.3.1
[INFO] [stderr]     Checking ark-bls12-381 v0.3.0
[INFO] [stderr]     Checking ark-bn254 v0.3.0
[INFO] [stderr]     Checking ark-nonnative-field v0.3.0
[INFO] [stderr]     Checking ark-ed-on-bn254 v0.3.0
[INFO] [stderr]     Checking ark-ed-on-bls12-381 v0.3.0
[INFO] [stderr]     Checking ark-crypto-primitives v0.3.0
[INFO] [stderr]     Checking arkworks-native-gadgets v1.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]    --> src/merkle_tree.rs:100:2
[INFO] [stdout]     |
[INFO] [stdout] 100 |     borrow::ToOwned,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `arkworks_utils`
[INFO] [stdout]    --> src/merkle_tree.rs:421:6
[INFO] [stdout]     |
[INFO] [stdout] 421 |     use arkworks_utils::{bytes_vec_to_f, parse_vec, Curve};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arkworks_utils`
[INFO] [stdout]    --> src/mimc.rs:222:6
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use arkworks_utils::{bytes_vec_to_f, mimc_params::setup_mimc_params, Curve};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `arkworks_utils`
[INFO] [stdout]    --> src/mimc.rs:222:6
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use arkworks_utils::{bytes_vec_to_f, mimc_params::setup_mimc_params, Curve};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arkworks_utils`
[INFO] [stdout]    --> src/poseidon/mod.rs:355:6
[INFO] [stdout]     |
[INFO] [stdout] 355 |     use arkworks_utils::{
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `arkworks_utils`
[INFO] [stdout]    --> src/poseidon/mod.rs:355:6
[INFO] [stdout]     |
[INFO] [stdout] 355 |     use arkworks_utils::{
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> for more information
[INFO] [stdout]    --> src/merkle_tree.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |                 #[allow(mutable_borrow_reservation_conflict)]
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ark_std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:4:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{error::Error as ArkError, marker::PhantomData, rand::Rng, vec::Vec};
[INFO] [stdout]   |                                                                         ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                                                ^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/poseidon/mod.rs:309:36
[INFO] [stdout]     |
[INFO] [stdout] 309 |                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout]     |                                                ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 309 -                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout] 309 +                 let c = self.params.round_keys[r * width + i];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]    --> src/merkle_tree.rs:100:2
[INFO] [stdout]     |
[INFO] [stdout] 100 |     borrow::ToOwned,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> for more information
[INFO] [stdout]    --> src/merkle_tree.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |                 #[allow(mutable_borrow_reservation_conflict)]
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ark_std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:4:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{error::Error as ArkError, marker::PhantomData, rand::Rng, vec::Vec};
[INFO] [stdout]   |                                                                         ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                                                ^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/poseidon/mod.rs:309:36
[INFO] [stdout]     |
[INFO] [stdout] 309 |                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout]     |                                                ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 309 -                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout] 309 +                 let c = self.params.round_keys[r * width + i];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/poseidon/mod.rs:353:16
[INFO] [stdout]     |
[INFO] [stdout] 353 |     use ark_std::{vec::Vec, One};
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/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] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigInteger`
[INFO] [stdout]    --> src/merkle_tree.rs:419:15
[INFO] [stdout]     |
[INFO] [stdout] 419 |     use ark_ff::{BigInteger, PrimeField, UniformRand};
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arkworks-native-gadgets` (lib test) due to 6 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b746a7de297abc4ca1119f1761cf31413c2cce609184bf4ff4bb3eb7a6a85c66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b746a7de297abc4ca1119f1761cf31413c2cce609184bf4ff4bb3eb7a6a85c66", kill_on_drop: false }`
[INFO] [stdout] b746a7de297abc4ca1119f1761cf31413c2cce609184bf4ff4bb3eb7a6a85c66
[INFO] checking arkworks-native-gadgets-1.2.0 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate arkworks-native-gadgets 1.2.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate arkworks-native-gadgets 1.2.0 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate arkworks-native-gadgets 1.2.0
[INFO] finished tweaking crates.io crate arkworks-native-gadgets 1.2.0
[INFO] tweaked toml for crates.io crate arkworks-native-gadgets 1.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 582191f592ea8e323cf6fc1fda69385041ce80d0bf6cc323325f261b36a2f9ca
[INFO] running `Command { std: "docker" "start" "-a" "582191f592ea8e323cf6fc1fda69385041ce80d0bf6cc323325f261b36a2f9ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "582191f592ea8e323cf6fc1fda69385041ce80d0bf6cc323325f261b36a2f9ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "582191f592ea8e323cf6fc1fda69385041ce80d0bf6cc323325f261b36a2f9ca", kill_on_drop: false }`
[INFO] [stdout] 582191f592ea8e323cf6fc1fda69385041ce80d0bf6cc323325f261b36a2f9ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac6a2d41cded8512f88edd3f04682cc75d23f1e170799babae764838d3f261a2
[INFO] running `Command { std: "docker" "start" "-a" "ac6a2d41cded8512f88edd3f04682cc75d23f1e170799babae764838d3f261a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling syn v2.0.57
[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 digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking ark-std v0.3.0
[INFO] [stderr]     Checking num-bigint v0.4.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling ark-serialize-derive v0.3.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking ark-serialize v0.3.0
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling pest v2.7.8
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]     Checking ark-ec v0.3.0
[INFO] [stderr]     Checking ark-relations v0.3.0
[INFO] [stderr]     Checking ark-snark v0.3.0
[INFO] [stderr]     Checking ark-r1cs-std v0.3.1
[INFO] [stderr]     Checking ark-bn254 v0.3.0
[INFO] [stderr]     Checking ark-bls12-381 v0.3.0
[INFO] [stderr]     Checking ark-nonnative-field v0.3.0
[INFO] [stderr]     Checking ark-ed-on-bn254 v0.3.0
[INFO] [stderr]     Checking ark-ed-on-bls12-381 v0.3.0
[INFO] [stderr]     Checking ark-crypto-primitives v0.3.0
[INFO] [stderr]     Checking arkworks-native-gadgets v1.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `arkworks_utils`
[INFO] [stdout]    --> src/merkle_tree.rs:421:6
[INFO] [stdout]     |
[INFO] [stdout] 421 |     use arkworks_utils::{bytes_vec_to_f, parse_vec, Curve};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arkworks_utils`
[INFO] [stdout]    --> src/mimc.rs:222:6
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use arkworks_utils::{bytes_vec_to_f, mimc_params::setup_mimc_params, Curve};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `arkworks_utils`
[INFO] [stdout]    --> src/mimc.rs:222:6
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use arkworks_utils::{bytes_vec_to_f, mimc_params::setup_mimc_params, Curve};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arkworks_utils`
[INFO] [stdout]    --> src/poseidon/mod.rs:355:6
[INFO] [stdout]     |
[INFO] [stdout] 355 |     use arkworks_utils::{
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `arkworks_utils`
[INFO] [stdout]    --> src/poseidon/mod.rs:355:6
[INFO] [stdout]     |
[INFO] [stdout] 355 |     use arkworks_utils::{
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `arkworks_utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]    --> src/merkle_tree.rs:100:2
[INFO] [stdout]     |
[INFO] [stdout] 100 |     borrow::ToOwned,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> for more information
[INFO] [stdout]    --> src/merkle_tree.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |                 #[allow(mutable_borrow_reservation_conflict)]
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ark_std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:4:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{error::Error as ArkError, marker::PhantomData, rand::Rng, vec::Vec};
[INFO] [stdout]   |                                                                         ^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                                                ^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/poseidon/mod.rs:309:36
[INFO] [stdout]     |
[INFO] [stdout] 309 |                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout]     |                                                ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 309 -                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout] 309 +                 let c = self.params.round_keys[r * width + i];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Box` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Box` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/lib.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{boxed::Box, vec::Vec};
[INFO] [stdout]   |                           ^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `ToOwned` is imported redundantly
[INFO] [stdout]    --> src/merkle_tree.rs:100:2
[INFO] [stdout]     |
[INFO] [stdout] 100 |     borrow::ToOwned,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `ToOwned` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> for more information
[INFO] [stdout]    --> src/merkle_tree.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |                 #[allow(mutable_borrow_reservation_conflict)]
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ark_std::string::ToString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/mimc.rs:4:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_std::{error::Error as ArkError, marker::PhantomData, rand::Rng, vec::Vec};
[INFO] [stdout]   |                                                                         ^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/poseidon/mod.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 | use ark_std::{error::Error as ArkError, io::Read, rand::Rng, string::ToString, vec::Vec};
[INFO] [stdout]    |                                                                                ^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/poseidon/mod.rs:309:36
[INFO] [stdout]     |
[INFO] [stdout] 309 |                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout]     |                                                ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 309 -                 let c = self.params.round_keys[(r * width + i)];
[INFO] [stdout] 309 +                 let c = self.params.round_keys[r * width + i];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/poseidon/mod.rs:353:16
[INFO] [stdout]     |
[INFO] [stdout] 353 |     use ark_std::{vec::Vec, One};
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/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] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigInteger`
[INFO] [stdout]    --> src/merkle_tree.rs:419:15
[INFO] [stdout]     |
[INFO] [stdout] 419 |     use ark_ff::{BigInteger, PrimeField, UniformRand};
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `arkworks-native-gadgets` (lib test) due to 6 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ac6a2d41cded8512f88edd3f04682cc75d23f1e170799babae764838d3f261a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac6a2d41cded8512f88edd3f04682cc75d23f1e170799babae764838d3f261a2", kill_on_drop: false }`
[INFO] [stdout] ac6a2d41cded8512f88edd3f04682cc75d23f1e170799babae764838d3f261a2
