[INFO] cloning repository https://github.com/nikurt/factor_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikurt/factor_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 549d24dfe1b8457084145d387fb898371cdca763 [INFO] checking nikurt/factor_rs against try#0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 for pr-98456-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikurt%2Ffactor_rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikurt/factor_rs on toolchain 0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikurt/factor_rs [INFO] finished tweaking git repo https://github.com/nikurt/factor_rs [INFO] tweaked toml for git repo https://github.com/nikurt/factor_rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/nikurt/factor_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ea3f04af1d2148321e7163c6c581beeb991b41b40f1353f80f93e31a91f558c [INFO] running `Command { std: "docker" "start" "-a" "2ea3f04af1d2148321e7163c6c581beeb991b41b40f1353f80f93e31a91f558c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ea3f04af1d2148321e7163c6c581beeb991b41b40f1353f80f93e31a91f558c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea3f04af1d2148321e7163c6c581beeb991b41b40f1353f80f93e31a91f558c", kill_on_drop: false }` [INFO] [stdout] 2ea3f04af1d2148321e7163c6c581beeb991b41b40f1353f80f93e31a91f558c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e655385ee46c8fd76daf5efb599e483cf2b93f7f4b75012e268b201212743a4 [INFO] running `Command { std: "docker" "start" "-a" "7e655385ee46c8fd76daf5efb599e483cf2b93f7f4b75012e268b201212743a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking factor_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{Num, One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | let res = (if p1.x != p2.x { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 451 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 ~ let res = if p1.x != p2.x { [INFO] [stdout] 444 | let m = p2.y.sub(&p1.y).div_fqp(p2.x.sub(&p1.x)); [INFO] [stdout] ... [INFO] [stdout] 450 | t.x.sub(&p1.x) [INFO] [stdout] 451 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Num` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use num_traits::{Num, One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | let res = (if p1.x != p2.x { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 451 | }); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 ~ let res = if p1.x != p2.x { [INFO] [stdout] 444 | let m = p2.y.sub(&p1.y).div_fqp(p2.x.sub(&p1.x)); [INFO] [stdout] ... [INFO] [stdout] 450 | t.x.sub(&p1.x) [INFO] [stdout] 451 ~ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let r = inv(x.0, Fq::FIELD_MODULUS()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let r = inv(x.0, Fq::FIELD_MODULUS()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn b2() -> FQP { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b12` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn b12() -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inv` is never used [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn inv(self) -> Fq { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_zero` is never used [INFO] [stdout] --> src/main.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` is never used [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` is never used [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_on_curve_g2` is never used [INFO] [stdout] --> src/main.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_on_curve_g2(p: &G2Point, b: &FQP) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:1103:8 [INFO] [stdout] | [INFO] [stdout] 1103 | fn new(coeffs: Vec, modulus_coeffs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fq2` is never used [INFO] [stdout] --> src/main.rs:1112:8 [INFO] [stdout] | [INFO] [stdout] 1112 | fn fq2(coeffs: &[i32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fq2_one` is never used [INFO] [stdout] --> src/main.rs:1121:8 [INFO] [stdout] | [INFO] [stdout] 1121 | fn fq2_one() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fq2_g2` is never used [INFO] [stdout] --> src/main.rs:1148:8 [INFO] [stdout] | [INFO] [stdout] 1148 | fn fq2_g2(p2: [Fq; 2]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/main.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | fn add(&self, x: &FQP) -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/main.rs:1299:8 [INFO] [stdout] | [INFO] [stdout] 1299 | fn one(&self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FIELD_MODULUS` should have a snake case name [INFO] [stdout] --> src/main.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn FIELD_MODULUS() -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `field_modulus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let X: U256 = U256::from_dec_str("21888242871839275222246405745257275088696311157297823662689037894645226208583").unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` should have a snake case name [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` should have a snake case name [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `log_ate_loop_count` should have an upper case name [INFO] [stdout] --> src/main.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 463 | const log_ate_loop_count: u64 = 63; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LOG_ATE_LOOP_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairingProd4` should have a snake case name [INFO] [stdout] --> src/main.rs:896:4 [INFO] [stdout] | [INFO] [stdout] 896 | fn pairingProd4( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_prod4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IC` should have a snake case name [INFO] [stdout] --> src/main.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | IC: [G1Point; 2], [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/main.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | A: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/main.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 919 | B: G2Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/main.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | C: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verifyingKey` should have a snake case name [INFO] [stdout] --> src/main.rs:923:4 [INFO] [stdout] | [INFO] [stdout] 923 | fn verifyingKey() -> VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `verifying_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifyProof` should have a snake case name [INFO] [stdout] --> src/main.rs:1066:8 [INFO] [stdout] | [INFO] [stdout] 1066 | fn verifyProof(a: [Fq; 2], b: [[Fq; 2]; 2], c: [Fq; 2], input: &[U256]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `verify_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | assert!(self.degree + 1 - r.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn b2() -> FQP { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b12` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn b12() -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `inv` is never used [INFO] [stdout] --> src/main.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 206 | fn inv(self) -> Fq { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_zero` is never used [INFO] [stdout] --> src/main.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` is never used [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` is never used [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_on_curve_g2` is never used [INFO] [stdout] --> src/main.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | fn is_on_curve_g2(p: &G2Point, b: &FQP) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:1103:8 [INFO] [stdout] | [INFO] [stdout] 1103 | fn new(coeffs: Vec, modulus_coeffs: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fq2` is never used [INFO] [stdout] --> src/main.rs:1112:8 [INFO] [stdout] | [INFO] [stdout] 1112 | fn fq2(coeffs: &[i32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fq2_one` is never used [INFO] [stdout] --> src/main.rs:1121:8 [INFO] [stdout] | [INFO] [stdout] 1121 | fn fq2_one() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fq2_g2` is never used [INFO] [stdout] --> src/main.rs:1148:8 [INFO] [stdout] | [INFO] [stdout] 1148 | fn fq2_g2(p2: [Fq; 2]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add` is never used [INFO] [stdout] --> src/main.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | fn add(&self, x: &FQP) -> FQP { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/main.rs:1299:8 [INFO] [stdout] | [INFO] [stdout] 1299 | fn one(&self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FIELD_MODULUS` should have a snake case name [INFO] [stdout] --> src/main.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn FIELD_MODULUS() -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `field_modulus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let X: U256 = U256::from_dec_str("21888242871839275222246405745257275088696311157297823662689037894645226208583").unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P1` should have a snake case name [INFO] [stdout] --> src/main.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn P1() -> G1Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P2` should have a snake case name [INFO] [stdout] --> src/main.rs:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn P2() -> G2Point { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `log_ate_loop_count` should have an upper case name [INFO] [stdout] --> src/main.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 463 | const log_ate_loop_count: u64 = 63; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `LOG_ATE_LOOP_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairingProd4` should have a snake case name [INFO] [stdout] --> src/main.rs:896:4 [INFO] [stdout] | [INFO] [stdout] 896 | fn pairingProd4( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_prod4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IC` should have a snake case name [INFO] [stdout] --> src/main.rs:914:5 [INFO] [stdout] | [INFO] [stdout] 914 | IC: [G1Point; 2], [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/main.rs:918:5 [INFO] [stdout] | [INFO] [stdout] 918 | A: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `B` should have a snake case name [INFO] [stdout] --> src/main.rs:919:5 [INFO] [stdout] | [INFO] [stdout] 919 | B: G2Point, [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `C` should have a snake case name [INFO] [stdout] --> src/main.rs:920:5 [INFO] [stdout] | [INFO] [stdout] 920 | C: G1Point, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verifyingKey` should have a snake case name [INFO] [stdout] --> src/main.rs:923:4 [INFO] [stdout] | [INFO] [stdout] 923 | fn verifyingKey() -> VerifyingKey { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `verifying_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifyProof` should have a snake case name [INFO] [stdout] --> src/main.rs:1066:8 [INFO] [stdout] | [INFO] [stdout] 1066 | fn verifyProof(a: [Fq; 2], b: [[Fq; 2]; 2], c: [Fq; 2], input: &[U256]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `verify_proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/main.rs:1231:21 [INFO] [stdout] | [INFO] [stdout] 1231 | assert!(self.degree + 1 - r.len() >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.81s [INFO] running `Command { std: "docker" "inspect" "7e655385ee46c8fd76daf5efb599e483cf2b93f7f4b75012e268b201212743a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e655385ee46c8fd76daf5efb599e483cf2b93f7f4b75012e268b201212743a4", kill_on_drop: false }` [INFO] [stdout] 7e655385ee46c8fd76daf5efb599e483cf2b93f7f4b75012e268b201212743a4