[INFO] fetching crate arkworks-native-gadgets 1.2.0... [INFO] checking arkworks-native-gadgets-1.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate arkworks-native-gadgets 1.2.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arkworks-native-gadgets 1.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd478afcfd126fb26a96718d22372bafa4dd9dc1654e9ebedd0b3aa13ba74ac4 [INFO] running `Command { std: "docker" "start" "-a" "bd478afcfd126fb26a96718d22372bafa4dd9dc1654e9ebedd0b3aa13ba74ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd478afcfd126fb26a96718d22372bafa4dd9dc1654e9ebedd0b3aa13ba74ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd478afcfd126fb26a96718d22372bafa4dd9dc1654e9ebedd0b3aa13ba74ac4", kill_on_drop: false }` [INFO] [stdout] bd478afcfd126fb26a96718d22372bafa4dd9dc1654e9ebedd0b3aa13ba74ac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ba95b4c4f2fbbac0366ccbec6b353bf9b29e5423b84289714a08c0bcf8a8ac2 [INFO] running `Command { std: "docker" "start" "-a" "5ba95b4c4f2fbbac0366ccbec6b353bf9b29e5423b84289714a08c0bcf8a8ac2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking num-integer v0.1.46 [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-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ark-std v0.3.0 [INFO] [stderr] Compiling ark-serialize-derive v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking ark-serialize v0.3.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking tracing v0.1.41 [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] 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: 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)]` 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] 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)]` 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" "5ba95b4c4f2fbbac0366ccbec6b353bf9b29e5423b84289714a08c0bcf8a8ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba95b4c4f2fbbac0366ccbec6b353bf9b29e5423b84289714a08c0bcf8a8ac2", kill_on_drop: false }` [INFO] [stdout] 5ba95b4c4f2fbbac0366ccbec6b353bf9b29e5423b84289714a08c0bcf8a8ac2