[INFO] fetching crate arkworks-gadgets 0.4.20... [INFO] testing arkworks-gadgets-0.4.20 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate arkworks-gadgets 0.4.20 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate arkworks-gadgets 0.4.20 [INFO] finished tweaking crates.io crate arkworks-gadgets 0.4.20 [INFO] tweaked toml for crates.io crate arkworks-gadgets 0.4.20 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arkworks-gadgets 0.4.20 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding ark-bls12-381 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-bn254 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-crypto-primitives v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-ec v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-ed-on-bls12-381 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-ed-on-bn254 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-ff v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-groth16 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-poly v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-poly-commit v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-r1cs-std v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding ark-relations v0.3.0 (available: v0.5.1) [INFO] [stderr] Adding ark-serialize v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-snark v0.3.0 (available: v0.5.1) [INFO] [stderr] Adding ark-std v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding arkworks-utils v0.4.20 (available: v1.0.1) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 423c3c134d713774eaffe425442f6cc4992e3894a6d4d07d2b84121efe7dd6a1 [INFO] running `Command { std: "docker" "start" "-a" "423c3c134d713774eaffe425442f6cc4992e3894a6d4d07d2b84121efe7dd6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "423c3c134d713774eaffe425442f6cc4992e3894a6d4d07d2b84121efe7dd6a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423c3c134d713774eaffe425442f6cc4992e3894a6d4d07d2b84121efe7dd6a1", kill_on_drop: false }` [INFO] [stdout] 423c3c134d713774eaffe425442f6cc4992e3894a6d4d07d2b84121efe7dd6a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d69dbaa2ab7c0803cea4744cd136dbe027594f5ddf0bfeb725eba3dbe195ffd [INFO] running `Command { std: "docker" "start" "-a" "5d69dbaa2ab7c0803cea4744cd136dbe027594f5ddf0bfeb725eba3dbe195ffd", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ark-std v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling semver-parser v0.10.3 [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] Compiling ark-serialize-derive v0.3.0 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-serialize v0.3.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ark-ec v0.3.0 [INFO] [stderr] Compiling ark-relations v0.3.0 [INFO] [stderr] Compiling ark-poly v0.3.0 [INFO] [stderr] Compiling ark-snark v0.3.0 [INFO] [stderr] Compiling ark-r1cs-std v0.3.1 [INFO] [stderr] Compiling ark-bls12-381 v0.3.0 [INFO] [stderr] Compiling ark-bn254 v0.3.0 [INFO] [stderr] Compiling ark-poly-commit v0.3.0 [INFO] [stderr] Compiling ark-marlin v0.3.0 [INFO] [stderr] Compiling ark-nonnative-field v0.3.0 [INFO] [stderr] Compiling ark-ed-on-bls12-381 v0.3.0 [INFO] [stderr] Compiling ark-ed-on-bn254 v0.3.0 [INFO] [stderr] Compiling ark-crypto-primitives v0.3.0 [INFO] [stderr] Compiling ark-groth16 v0.3.0 [INFO] [stderr] Compiling arkworks-utils v0.4.20 [INFO] [stderr] Compiling arkworks-gadgets v0.4.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/merkle_tree/simple_merkle.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | #[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: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/merkle_tree/mod.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/constraints.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | let c = ¶ms.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - let c = ¶ms.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] 82 + let c = ¶ms.round_keys[r * (params.width as usize) + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_std::vec::Vec` [INFO] [stdout] --> src/poseidon/field_hasher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ark_std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/field_hasher.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | let c = self.params.round_keys[(r * width + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let c = self.params.round_keys[(r * width + i)]; [INFO] [stdout] 44 + let c = self.params.round_keys[r * width + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let c = params.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let c = params.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] 21 + let c = params.round_keys[r * (params.width as usize) + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ark-poly-commit v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5d69dbaa2ab7c0803cea4744cd136dbe027594f5ddf0bfeb725eba3dbe195ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d69dbaa2ab7c0803cea4744cd136dbe027594f5ddf0bfeb725eba3dbe195ffd", kill_on_drop: false }` [INFO] [stdout] 5d69dbaa2ab7c0803cea4744cd136dbe027594f5ddf0bfeb725eba3dbe195ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f431722901e25b24f4576f03a110167f00ea3b45d750c96d6b67a42a6c304bfe [INFO] running `Command { std: "docker" "start" "-a" "f431722901e25b24f4576f03a110167f00ea3b45d750c96d6b67a42a6c304bfe", kill_on_drop: false }` [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/merkle_tree/simple_merkle.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | #[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: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/merkle_tree/mod.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/constraints.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | let c = ¶ms.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - let c = ¶ms.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] 82 + let c = ¶ms.round_keys[r * (params.width as usize) + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_std::vec::Vec` [INFO] [stdout] --> src/poseidon/field_hasher.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ark_std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/field_hasher.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | let c = self.params.round_keys[(r * width + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let c = self.params.round_keys[(r * width + i)]; [INFO] [stdout] 44 + let c = self.params.round_keys[r * width + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling arkworks-gadgets v0.4.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let c = params.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let c = params.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] 21 + let c = params.round_keys[r * (params.width as usize) + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rounds_mimc_220` in module `arkworks_utils::utils` [INFO] [stdout] --> src/merkle_tree/mod.rs:543:27 [INFO] [stdout] | [INFO] [stdout] 543 | arkworks_utils::utils::get_rounds_mimc_220(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `arkworks_utils::utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arkworks-utils-0.4.20/src/utils/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "mimc_220_ed_on_bn254")] [INFO] [stdout] | -------------------------------- the item is gated behind the `mimc_220_ed_on_bn254` feature [INFO] [stdout] 142 | pub fn get_rounds_mimc_220() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rounds_mimc_220` in module `arkworks_utils::utils` [INFO] [stdout] --> src/merkle_tree/mod.rs:582:27 [INFO] [stdout] | [INFO] [stdout] 582 | arkworks_utils::utils::get_rounds_mimc_220(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `arkworks_utils::utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arkworks-utils-0.4.20/src/utils/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "mimc_220_ed_on_bn254")] [INFO] [stdout] | -------------------------------- the item is gated behind the `mimc_220_ed_on_bn254` feature [INFO] [stdout] 142 | pub fn get_rounds_mimc_220() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rounds_mimc_220` in module `arkworks_utils::utils` [INFO] [stdout] --> src/merkle_tree/mod.rs:604:27 [INFO] [stdout] | [INFO] [stdout] 604 | arkworks_utils::utils::get_rounds_mimc_220(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `arkworks_utils::utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arkworks-utils-0.4.20/src/utils/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "mimc_220_ed_on_bn254")] [INFO] [stdout] | -------------------------------- the item is gated behind the `mimc_220_ed_on_bn254` feature [INFO] [stdout] 142 | pub fn get_rounds_mimc_220() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rounds_mimc_220` in module `arkworks_utils::utils` [INFO] [stdout] --> src/mimc/constraints.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | arkworks_utils::utils::get_rounds_mimc_220(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `arkworks_utils::utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arkworks-utils-0.4.20/src/utils/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "mimc_220_ed_on_bn254")] [INFO] [stdout] | -------------------------------- the item is gated behind the `mimc_220_ed_on_bn254` feature [INFO] [stdout] 142 | pub fn get_rounds_mimc_220() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rounds_mimc_220` in module `arkworks_utils::utils` [INFO] [stdout] --> src/mimc/constraints.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | arkworks_utils::utils::get_rounds_mimc_220(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `arkworks_utils::utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arkworks-utils-0.4.20/src/utils/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "mimc_220_ed_on_bn254")] [INFO] [stdout] | -------------------------------- the item is gated behind the `mimc_220_ed_on_bn254` feature [INFO] [stdout] 142 | pub fn get_rounds_mimc_220() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rounds_mimc_220` in module `arkworks_utils::utils` [INFO] [stdout] --> src/mimc/mod.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | arkworks_utils::utils::get_rounds_mimc_220(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `arkworks_utils::utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arkworks-utils-0.4.20/src/utils/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "mimc_220_ed_on_bn254")] [INFO] [stdout] | -------------------------------- the item is gated behind the `mimc_220_ed_on_bn254` feature [INFO] [stdout] 142 | pub fn get_rounds_mimc_220() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/merkle_tree/simple_merkle.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | #[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: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/merkle_tree/mod.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/constraints.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | let c = ¶ms.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - let c = ¶ms.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] 82 + let c = ¶ms.round_keys[r * (params.width as usize) + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/field_hasher.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | let c = self.params.round_keys[(r * width + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let c = self.params.round_keys[(r * width + i)]; [INFO] [stdout] 44 + let c = self.params.round_keys[r * width + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/poseidon/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let c = params.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let c = params.round_keys[(r * (params.width as usize) + i)]; [INFO] [stdout] 21 + let c = params.round_keys[r * (params.width as usize) + i ]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arkworks-gadgets` (lib test) due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f431722901e25b24f4576f03a110167f00ea3b45d750c96d6b67a42a6c304bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f431722901e25b24f4576f03a110167f00ea3b45d750c96d6b67a42a6c304bfe", kill_on_drop: false }` [INFO] [stdout] f431722901e25b24f4576f03a110167f00ea3b45d750c96d6b67a42a6c304bfe