[INFO] cloning repository https://github.com/utkarshparkhi/monolith-ark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/utkarshparkhi/monolith-ark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkarshparkhi%2Fmonolith-ark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkarshparkhi%2Fmonolith-ark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72ee6479e6e9787a612e8959eb36a6f8157cf51b [INFO] checking utkarshparkhi/monolith-ark against try#51b1964e35e5e26f8cd938940f0da6f7b5cc54fc for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futkarshparkhi%2Fmonolith-ark" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/utkarshparkhi/monolith-ark on toolchain 51b1964e35e5e26f8cd938940f0da6f7b5cc54fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/utkarshparkhi/monolith-ark [INFO] finished tweaking git repo https://github.com/utkarshparkhi/monolith-ark [INFO] tweaked toml for git repo https://github.com/utkarshparkhi/monolith-ark written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/utkarshparkhi/monolith-ark already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb80d34623cdf31e37e82f65fc7c3a5e08acb770e144b381ca43c24132a9baca [INFO] running `Command { std: "docker" "start" "-a" "eb80d34623cdf31e37e82f65fc7c3a5e08acb770e144b381ca43c24132a9baca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb80d34623cdf31e37e82f65fc7c3a5e08acb770e144b381ca43c24132a9baca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb80d34623cdf31e37e82f65fc7c3a5e08acb770e144b381ca43c24132a9baca", kill_on_drop: false }` [INFO] [stdout] eb80d34623cdf31e37e82f65fc7c3a5e08acb770e144b381ca43c24132a9baca [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+51b1964e35e5e26f8cd938940f0da6f7b5cc54fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b39426abb6c63dbacadfd0df09bca3cb4146253abfe712b1566e6259d0a98328 [INFO] running `Command { std: "docker" "start" "-a" "b39426abb6c63dbacadfd0df09bca3cb4146253abfe712b1566e6259d0a98328", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [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 monolith v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0576]: cannot find method or associated constant `field_cast` in trait `CryptographicSponge` [INFO] [stdout] --> src/sponge/generic_sponge.rs:192:44 [INFO] [stdout] | [INFO] [stdout] 192 | ::field_cast( [INFO] [stdout] | ^^^^^^^^^^ not found in `CryptographicSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TwoToOneCRHScheme` [INFO] [stdout] --> src/hash.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use ark_crypto_primitives::crh::{CRHScheme, TwoToOneCRHScheme}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInteger64` [INFO] [stdout] --> src/hash.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use ark_ff::{BigInteger, BigInteger64}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/sponge/generic_sponge.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find method or associated constant `field_cast` in trait `CryptographicSponge` [INFO] [stdout] --> src/sponge/generic_sponge.rs:192:44 [INFO] [stdout] | [INFO] [stdout] 192 | ::field_cast( [INFO] [stdout] | ^^^^^^^^^^ not found in `CryptographicSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigInteger64` [INFO] [stdout] --> src/hash.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use ark_ff::{BigInteger, BigInteger64}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_ff::Zero` [INFO] [stdout] --> src/hash.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use ark_ff::Zero; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/sponge/generic_sponge.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `squeeze_field_elements_with_sizes_default_impl` in this scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | squeeze_field_elements_with_sizes_default_impl(self, sizes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `squeeze_field_elements_with_sizes_default_impl` as a method: `self.squeeze_field_elements_with_sizes_default_impl(sizes)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `field_cast` in this scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | field_cast(&result, &mut cast).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterable::Iterable` [INFO] [stdout] --> src/hash.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use ark_std::{iterable::Iterable, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ele` [INFO] [stdout] --> src/hash.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let ele = ::from_be_bytes_mod_order(&be_bytes); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ele` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0576, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monolith` (lib) due to 9 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `squeeze_field_elements_with_sizes_default_impl` in this scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | squeeze_field_elements_with_sizes_default_impl(self, sizes) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: try calling `squeeze_field_elements_with_sizes_default_impl` as a method: `self.squeeze_field_elements_with_sizes_default_impl(sizes)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `field_cast` in this scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | field_cast(&result, &mut cast).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `permute` found for mutable reference `&mut MonolithSponge` in the current scope [INFO] [stdout] --> src/sponge/generic_sponge.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | self.permute(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut MonolithSponge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterable::Iterable` [INFO] [stdout] --> src/hash.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use ark_std::{iterable::Iterable, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TwoToOneCRHScheme` [INFO] [stdout] --> src/hash.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use ark_crypto_primitives::crh::{CRHScheme, TwoToOneCRHScheme}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ele` [INFO] [stdout] --> src/hash.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let ele = ::from_be_bytes_mod_order(&be_bytes); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ele` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/hash.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let out = CRH64::<8>::evaluate(¶ms, input); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0576, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monolith` (lib test) due to 9 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b39426abb6c63dbacadfd0df09bca3cb4146253abfe712b1566e6259d0a98328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39426abb6c63dbacadfd0df09bca3cb4146253abfe712b1566e6259d0a98328", kill_on_drop: false }` [INFO] [stdout] b39426abb6c63dbacadfd0df09bca3cb4146253abfe712b1566e6259d0a98328