[INFO] fetching crate arkworks-native-gadgets 1.2.0... [INFO] testing arkworks-native-gadgets-1.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate arkworks-native-gadgets 1.2.0 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arkworks-native-gadgets 1.2.0 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] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [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-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-std v0.3.0 (available: v0.5.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5354ecaca5327d6698251c2c623ff3c535f4f0ae72f0c99718b3d8034cd72353 [INFO] running `Command { std: "docker" "start" "-a" "5354ecaca5327d6698251c2c623ff3c535f4f0ae72f0c99718b3d8034cd72353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5354ecaca5327d6698251c2c623ff3c535f4f0ae72f0c99718b3d8034cd72353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5354ecaca5327d6698251c2c623ff3c535f4f0ae72f0c99718b3d8034cd72353", kill_on_drop: false }` [INFO] [stdout] 5354ecaca5327d6698251c2c623ff3c535f4f0ae72f0c99718b3d8034cd72353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5b0b5a014aae13d2d96e5a7ac299d35e58e5e3c83d408935d1c13c490c6a09b5 [INFO] running `Command { std: "docker" "start" "-a" "5b0b5a014aae13d2d96e5a7ac299d35e58e5e3c83d408935d1c13c490c6a09b5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ark-std v0.3.0 [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 derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling ark-ff-asm v0.3.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-relations v0.3.0 [INFO] [stderr] Compiling ark-ec v0.3.0 [INFO] [stderr] Compiling ark-snark v0.3.0 [INFO] [stderr] Compiling ark-r1cs-std v0.3.1 [INFO] [stderr] Compiling ark-nonnative-field v0.3.0 [INFO] [stderr] Compiling ark-crypto-primitives v0.3.0 [INFO] [stderr] Compiling arkworks-native-gadgets v1.2.0 (/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.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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.57s [INFO] running `Command { std: "docker" "inspect" "5b0b5a014aae13d2d96e5a7ac299d35e58e5e3c83d408935d1c13c490c6a09b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b0b5a014aae13d2d96e5a7ac299d35e58e5e3c83d408935d1c13c490c6a09b5", kill_on_drop: false }` [INFO] [stdout] 5b0b5a014aae13d2d96e5a7ac299d35e58e5e3c83d408935d1c13c490c6a09b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f28be919d1ffc6082bd0953cba34eb1493bb7f310c3ad6ee982c6bda024294e7 [INFO] running `Command { std: "docker" "start" "-a" "f28be919d1ffc6082bd0953cba34eb1493bb7f310c3ad6ee982c6bda024294e7", kill_on_drop: false }` [INFO] [stderr] Compiling ark-bls12-381 v0.3.0 [INFO] [stderr] Compiling ark-bn254 v0.3.0 [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling ark-ed-on-bn254 v0.3.0 [INFO] [stderr] Compiling ark-ed-on-bls12-381 v0.3.0 [INFO] [stderr] Compiling 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 unresolved module or unlinked crate `arkworks_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arkworks_utils`, use `cargo add arkworks_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `arkworks_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arkworks_utils`, use `cargo add arkworks_utils` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `arkworks_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arkworks_utils`, use `cargo add arkworks_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arkworks_utils` [INFO] [stdout] --> src/poseidon/mod.rs:355:6 [INFO] [stdout] | [INFO] [stdout] 355 | use arkworks_utils::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arkworks_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arkworks_utils`, use `cargo add arkworks_utils` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `arkworks_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arkworks_utils`, use `cargo add arkworks_utils` to add it to your `Cargo.toml` [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.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: 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)]` (part of `#[warn(unused)]`) 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] 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 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f28be919d1ffc6082bd0953cba34eb1493bb7f310c3ad6ee982c6bda024294e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28be919d1ffc6082bd0953cba34eb1493bb7f310c3ad6ee982c6bda024294e7", kill_on_drop: false }` [INFO] [stdout] f28be919d1ffc6082bd0953cba34eb1493bb7f310c3ad6ee982c6bda024294e7