[INFO] cloning repository https://github.com/lehendo/zk-logup-protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lehendo/zk-logup-protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flehendo%2Fzk-logup-protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flehendo%2Fzk-logup-protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db35601e47d63596b16acbd4e038f5da20fd3d45 [INFO] testing lehendo/zk-logup-protocol against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flehendo%2Fzk-logup-protocol" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lehendo/zk-logup-protocol [INFO] finished tweaking git repo https://github.com/lehendo/zk-logup-protocol [INFO] tweaked toml for git repo https://github.com/lehendo/zk-logup-protocol written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lehendo/zk-logup-protocol on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lehendo/zk-logup-protocol 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.48 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded ark-poly-commit v0.4.0 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded proptest v1.8.0 [INFO] [stderr] Downloaded clap_builder v4.5.48 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb2709e96b66a20026351d7aaa99441615f9304479ea34c065915b11f7610c17 [INFO] running `Command { std: "docker" "start" "-a" "fb2709e96b66a20026351d7aaa99441615f9304479ea34c065915b11f7610c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb2709e96b66a20026351d7aaa99441615f9304479ea34c065915b11f7610c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2709e96b66a20026351d7aaa99441615f9304479ea34c065915b11f7610c17", kill_on_drop: false }` [INFO] [stdout] fb2709e96b66a20026351d7aaa99441615f9304479ea34c065915b11f7610c17 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 973c554b983f63c307cd0b655e76ec16b691d7ea17bb53fbab093ec1cfd0d7c0 [INFO] running `Command { std: "docker" "start" "-a" "973c554b983f63c307cd0b655e76ec16b691d7ea17bb53fbab093ec1cfd0d7c0", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-relations v0.4.0 [INFO] [stderr] Compiling ark-snark v0.4.0 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-crypto-primitives v0.4.0 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling ark-poly-commit v0.4.0 [INFO] [stderr] Compiling zk-logup-protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/field.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/hypercube.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/hypercube.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_std::{vec::Vec, One, Zero}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldPolynomial` [INFO] [stdout] --> src/lagrange.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, FieldPolynomial, F}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/projective.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/logup.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/zk.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogUpError` [INFO] [stdout] --> src/zk.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{LogUpError, Result, LogUpConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hypercube::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] 14 | pub use lagrange::*; [INFO] [stdout] 15 | pub use projective::*; [INFO] [stdout] | ------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/logup.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | LogUpRound::First(first) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/logup.rs:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | for (i, (protocol, individual_proof)) in self.protocols.iter().zip(proof.individual_proofs.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claimed_value` [INFO] [stdout] --> src/univariate.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | claimed_value: FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_claimed_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_value` [INFO] [stdout] --> src/univariate.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | for (j, &other_value) in self.values.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lagrange_kernel` is never read [INFO] [stdout] --> src/logup.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LogUpProtocol { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | lagrange_kernel: LagrangeKernel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogUpProtocol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/logup.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct BatchLogUpProtocol { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | config: LogUpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `randomization` is never read [INFO] [stdout] --> src/zk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ZeroKnowledgeLogUp { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | randomization: ZeroKnowledgeRandomization, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroKnowledgeLogUp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `zk_params` is never read [INFO] [stdout] --> src/zk.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct ZeroKnowledgeUnivariateIOP { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 331 | zk_params: ZeroKnowledgeParameters, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroKnowledgeUnivariateIOP` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/field.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `fqconfig___` [INFO] [stdout] ... [INFO] [stdout] 15 | pub struct FqConfig; [INFO] [stdout] | -------- `FqConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hypercube.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> std::slice::Iter<'_, HypercubePoint> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.83s [INFO] running `Command { std: "docker" "inspect" "973c554b983f63c307cd0b655e76ec16b691d7ea17bb53fbab093ec1cfd0d7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973c554b983f63c307cd0b655e76ec16b691d7ea17bb53fbab093ec1cfd0d7c0", kill_on_drop: false }` [INFO] [stdout] 973c554b983f63c307cd0b655e76ec16b691d7ea17bb53fbab093ec1cfd0d7c0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2742a48c69dd504ebd59c77491b57f8928434b025b3482b6cb0418e1bea335cb [INFO] running `Command { std: "docker" "start" "-a" "2742a48c69dd504ebd59c77491b57f8928434b025b3482b6cb0418e1bea335cb", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-relations v0.4.0 [INFO] [stderr] Compiling ark-snark v0.4.0 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-crypto-primitives v0.4.0 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling ark-poly-commit v0.4.0 [INFO] [stderr] Compiling zk-logup-protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/field.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/hypercube.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/hypercube.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_std::{vec::Vec, One, Zero}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldPolynomial` [INFO] [stdout] --> src/lagrange.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, FieldPolynomial, F}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/projective.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/logup.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/zk.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogUpError` [INFO] [stdout] --> src/zk.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{LogUpError, Result, LogUpConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hypercube::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] 14 | pub use lagrange::*; [INFO] [stdout] 15 | pub use projective::*; [INFO] [stdout] | ------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/field.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(MontConfig)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `MontConfig` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/field.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `F` [INFO] [stdout] --> src/hypercube.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, F}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zero` [INFO] [stdout] --> src/hypercube.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use ark_std::{vec::Vec, One, Zero}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldPolynomial` [INFO] [stdout] --> src/lagrange.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::field::{FieldElement, FieldPolynomial, F}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogUpError` [INFO] [stdout] --> src/zk.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{LogUpError, Result, LogUpConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use hypercube::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `utils` in the type namespace is first re-exported here [INFO] [stdout] 14 | pub use lagrange::*; [INFO] [stdout] 15 | pub use projective::*; [INFO] [stdout] | ------------- but the name `utils` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/logup.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | LogUpRound::First(first) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/logup.rs:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | for (i, (protocol, individual_proof)) in self.protocols.iter().zip(proof.individual_proofs.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claimed_value` [INFO] [stdout] --> src/univariate.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | claimed_value: FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_claimed_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_value` [INFO] [stdout] --> src/univariate.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | for (j, &other_value) in self.values.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lagrange_kernel` is never read [INFO] [stdout] --> src/logup.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LogUpProtocol { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | lagrange_kernel: LagrangeKernel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogUpProtocol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/logup.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct BatchLogUpProtocol { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | config: LogUpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `randomization` is never read [INFO] [stdout] --> src/zk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ZeroKnowledgeLogUp { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | randomization: ZeroKnowledgeRandomization, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroKnowledgeLogUp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `zk_params` is never read [INFO] [stdout] --> src/zk.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct ZeroKnowledgeUnivariateIOP { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 331 | zk_params: ZeroKnowledgeParameters, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroKnowledgeUnivariateIOP` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/field.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `fqconfig___` [INFO] [stdout] ... [INFO] [stdout] 15 | pub struct FqConfig; [INFO] [stdout] | -------- `FqConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hypercube.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> std::slice::Iter<'_, HypercubePoint> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lagrange.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | for (i, point) in hypercube.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/logup.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | LogUpRound::First(first) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/logup.rs:397:14 [INFO] [stdout] | [INFO] [stdout] 397 | for (i, (protocol, individual_proof)) in self.protocols.iter().zip(proof.individual_proofs.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claimed_value` [INFO] [stdout] --> src/univariate.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | claimed_value: FieldElement, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_claimed_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_value` [INFO] [stdout] --> src/univariate.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | for (j, &other_value) in self.values.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lagrange_kernel` is never read [INFO] [stdout] --> src/logup.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LogUpProtocol { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | lagrange_kernel: LagrangeKernel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogUpProtocol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/logup.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct BatchLogUpProtocol { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | config: LogUpConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `randomization` is never read [INFO] [stdout] --> src/zk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ZeroKnowledgeLogUp { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | randomization: ZeroKnowledgeRandomization, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroKnowledgeLogUp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `zk_params` is never read [INFO] [stdout] --> src/zk.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct ZeroKnowledgeUnivariateIOP { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 331 | zk_params: ZeroKnowledgeParameters, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroKnowledgeUnivariateIOP` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/field.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `fqconfig___` [INFO] [stdout] ... [INFO] [stdout] 15 | pub struct FqConfig; [INFO] [stdout] | -------- `FqConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hypercube.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> std::slice::Iter<'_, HypercubePoint> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> examples/simple_demo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel` [INFO] [stdout] --> examples/minimal_demo.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let kernel = LagrangeKernel::new(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zk_logup` [INFO] [stdout] --> examples/minimal_demo.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let zk_logup = ZeroKnowledgeLogUp::new(protocol, security_params)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zk_logup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for struct `zk_logup_protocol::FieldElement` in the current scope [INFO] [stdout] --> tests/integration_tests.rs:106:62 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(zk_proof.randomized_proof.alpha != FieldElement::zero()); [INFO] [stdout] | ^^^^ function or associated item not found in `zk_logup_protocol::FieldElement` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `zk_logup_protocol::FieldElement` consider using one of the following associated functions: [INFO] [stdout] zk_logup_protocol::FieldElement::new [INFO] [stdout] zk_logup_protocol::FieldElement::random [INFO] [stdout] zk_logup_protocol::FieldElement::from_le_bytes_mod_order [INFO] [stdout] --> src/field.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(val: F) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn random(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn from_le_bytes_mod_order(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Zero` which provides `zero` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use num_traits::identities::Zero; [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_zero` with a similar name [INFO] [stdout] | [INFO] [stdout] 106 | assert!(zk_proof.randomized_proof.alpha != FieldElement::is_zero()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zk-logup-protocol` (test "integration_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2742a48c69dd504ebd59c77491b57f8928434b025b3482b6cb0418e1bea335cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2742a48c69dd504ebd59c77491b57f8928434b025b3482b6cb0418e1bea335cb", kill_on_drop: false }` [INFO] [stdout] 2742a48c69dd504ebd59c77491b57f8928434b025b3482b6cb0418e1bea335cb