[INFO] fetching crate amcl_wrapper 0.4.0... [INFO] checking amcl_wrapper-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate amcl_wrapper 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate amcl_wrapper 0.4.0 [INFO] finished tweaking crates.io crate amcl_wrapper 0.4.0 [INFO] tweaked toml for crates.io crate amcl_wrapper 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate amcl_wrapper 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding miracl_core v1.0.0 (available: v2.7.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding sha3 v0.8.2 (available: v0.10.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miracl_core v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d7de1077d9183b61bc511af4f8054c33a18e252b079d2dd0b936979a8d27d0c [INFO] running `Command { std: "docker" "start" "-a" "1d7de1077d9183b61bc511af4f8054c33a18e252b079d2dd0b936979a8d27d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d7de1077d9183b61bc511af4f8054c33a18e252b079d2dd0b936979a8d27d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d7de1077d9183b61bc511af4f8054c33a18e252b079d2dd0b936979a8d27d0c", kill_on_drop: false }` [INFO] [stdout] 1d7de1077d9183b61bc511af4f8054c33a18e252b079d2dd0b936979a8d27d0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 328952b530f109f4a4cb73eb7e13367558e595bd7110167bf81b35c813fdd352 [INFO] running `Command { std: "docker" "start" "-a" "328952b530f109f4a4cb73eb7e13367558e595bd7110167bf81b35c813fdd352", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking miracl_core v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking amcl_wrapper v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DNLEN as curve_DNLEN` [INFO] [stdout] --> src/constants.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | BASEBITS, DNLEN as curve_DNLEN, MODBYTES as curve_MODBYTES, NLEN as curve_NLEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupG1` [INFO] [stdout] --> src/utils.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{BigNum, DoubleBigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::SerzDeserzError` [INFO] [stdout] --> src/utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::SerzDeserzError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha3_256` [INFO] [stdout] --> src/utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use sha3::{Sha3_256, Shake256}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl::arch::CHUNK` [INFO] [stdout] --> src/field_elem.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use amcl::arch::CHUNK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/field_elem.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/field_elem.rs:891:22 [INFO] [stdout] | [INFO] [stdout] 891 | .map(|i| (&self[i] * &b[i])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 891 - .map(|i| (&self[i] * &b[i])) [INFO] [stdout] 891 + .map(|i| &self[i] * &b[i]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldElementVector` [INFO] [stdout] --> src/group_elem.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::field_elem::{FieldElement, FieldElementVector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/group_elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g1.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// Represents an element of the sub-group of the elliptic curve over the prime field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigNum` [INFO] [stdout] --> src/group_elem_g1.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{BigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g1.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g2.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | /// Represents an element of the sub-group of the elliptic curve over prime the extension field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g2.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DENSE` [INFO] [stdout] --> src/extension_field_gt.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::ECCurve::fp12::{DENSE, FP12}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/extension_field_gt.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/extension_field_gt.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromStr` and `SplitWhitespace` [INFO] [stdout] --> src/extension_field_gt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::{FromStr, SplitWhitespace}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DNLEN as curve_DNLEN` [INFO] [stdout] --> src/constants.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | BASEBITS, DNLEN as curve_DNLEN, MODBYTES as curve_MODBYTES, NLEN as curve_NLEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupG1` [INFO] [stdout] --> src/utils.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{BigNum, DoubleBigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::SerzDeserzError` [INFO] [stdout] --> src/utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::SerzDeserzError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha3_256` [INFO] [stdout] --> src/utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use sha3::{Sha3_256, Shake256}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/utils.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl::arch::CHUNK` [INFO] [stdout] --> src/field_elem.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use amcl::arch::CHUNK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/field_elem.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/field_elem.rs:891:22 [INFO] [stdout] | [INFO] [stdout] 891 | .map(|i| (&self[i] * &b[i])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 891 - .map(|i| (&self[i] * &b[i])) [INFO] [stdout] 891 + .map(|i| &self[i] * &b[i]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `amcl::bls381::big::BIG` [INFO] [stdout] --> src/field_elem.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | use amcl::bls381::big::BIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/field_elem.rs:1024:21 [INFO] [stdout] | [INFO] [stdout] 1024 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GroupGT_SIZE` [INFO] [stdout] --> src/group_elem.rs:1009:42 [INFO] [stdout] | [INFO] [stdout] 1009 | use crate::constants::{GroupG2_SIZE, GroupGT_SIZE, G2_COMP_BYTE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/group_elem.rs:1016:21 [INFO] [stdout] | [INFO] [stdout] 1016 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g1.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | /// Represents an element of the sub-group of the elliptic curve over the prime field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigNum` [INFO] [stdout] --> src/group_elem_g1.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::types::{BigNum, GroupG1, FP}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g1.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/group_elem_g1.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/group_elem_g1.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/group_elem_g1.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/univar_poly.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/group_elem_g2.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | /// Represents an element of the sub-group of the elliptic curve over prime the extension field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/group_elem_g2.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/group_elem_g2.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DENSE` [INFO] [stdout] --> src/extension_field_gt.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::ECCurve::fp12::{DENSE, FP12}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/extension_field_gt.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SError` [INFO] [stdout] --> src/extension_field_gt.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::ser::{Error as SError, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromStr` and `SplitWhitespace` [INFO] [stdout] --> src/extension_field_gt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::{FromStr, SplitWhitespace}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::group_elem_g1::G1Vector` [INFO] [stdout] --> src/extension_field_gt.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | use crate::group_elem_g1::G1Vector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/extension_field_gt.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g1::G1Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | impl_group_elem_vec_product_ops!(G1, G1Vector, G1LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g2::G2Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_group_elem_vec_product_ops!(G2, G2Vector, G2LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/extension_field_gt.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/field_elem.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn from_hex(mut s: String) -> Result { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BigNumBits` should have an upper case name [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const BigNumBits: usize = BASEBITS; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BIG_NUM_BITS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FieldElement_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FieldElement_SIZE: usize = MODBYTES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_ELEMENT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG1_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const GroupG1_SIZE: usize = 2 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G1_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG_with_rng` should have a snake case name [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_seeded_RNG_with_rng(entropy_size: usize, rng: &mut R) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng_with_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG` should have a snake case name [INFO] [stdout] --> src/utils.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_seeded_RNG(entropy_size: usize) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_RAND` should have a snake case name [INFO] [stdout] --> src/utils.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_RAND(entropy_size: usize, entropy: &[u8]) -> RAND { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_big_num_from_RAND` should have a snake case name [INFO] [stdout] --> src/field_elem.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn get_big_num_from_RAND(r: &mut RAND) -> BigNum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_big_num_from_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field_elem.rs:928:17 [INFO] [stdout] | [INFO] [stdout] 928 | pub fn iter(&self) -> 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] 928 | pub fn iter(&self) -> Iter<'_, FieldElement> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/group_elem.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | fn iter(&self) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 602 | fn iter(&self) -> Iter<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut P = GroupG1::map2point(&u[0]); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let P1 = GroupG1::map2point(&u[1]); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (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/group_elem.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<$group_element> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | impl_group_elem_vec_ops!(G1, G1Vector); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<'_, $group_element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG2_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GroupG2_SIZE: usize = 4 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G2_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupGT_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const GroupGT_SIZE: usize = (12 * MODBYTES) as usize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_GT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn parse_hex_as_FP2(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (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/group_elem.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<$group_element> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | impl_group_elem_vec_ops!(G2, G2Vector); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<'_, $group_element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut P = GroupG2::map2point(&fp2_1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let P1 = GroupG2::map2point(&fp2_2); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP4` should have a snake case name [INFO] [stdout] --> src/extension_field_gt.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn parse_hex_as_FP4(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g1::G1Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | impl_group_elem_vec_product_ops!(G1, G1Vector, G1LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `group_elem_g2::G2Vector::multi_scalar_mul_var_time_from_ref_vecs`: Please use the `multi_scalar_mul_var_time_without_precomputation` function instead [INFO] [stdout] --> src/group_elem.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | Self::multi_scalar_mul_var_time_from_ref_vecs(group_elems, field_elems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | impl_group_elem_vec_product_ops!(G2, G2Vector, G2LookupTable); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_product_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/group_elem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/extension_field_gt.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/field_elem.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn from_hex(mut s: String) -> Result { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/group_elem.rs:1337:13 [INFO] [stdout] | [INFO] [stdout] 1337 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/univar_poly.rs:654:13 [INFO] [stdout] | [INFO] [stdout] 654 | let mut start = Instant::now(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BigNumBits` should have an upper case name [INFO] [stdout] --> src/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const BigNumBits: usize = BASEBITS; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `BIG_NUM_BITS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FieldElement_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const FieldElement_SIZE: usize = MODBYTES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_ELEMENT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG1_SIZE` should have an upper case name [INFO] [stdout] --> src/constants.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const GroupG1_SIZE: usize = 2 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G1_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG_with_rng` should have a snake case name [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_seeded_RNG_with_rng(entropy_size: usize, rng: &mut R) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng_with_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_seeded_RNG` should have a snake case name [INFO] [stdout] --> src/utils.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_seeded_RNG(entropy_size: usize) -> RAND { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_seeded_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_RAND` should have a snake case name [INFO] [stdout] --> src/utils.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn get_RAND(entropy_size: usize, entropy: &[u8]) -> RAND { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_big_num_from_RAND` should have a snake case name [INFO] [stdout] --> src/field_elem.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | fn get_big_num_from_RAND(r: &mut RAND) -> BigNum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_big_num_from_rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/field_elem.rs:928:17 [INFO] [stdout] | [INFO] [stdout] 928 | pub fn iter(&self) -> 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] 928 | pub fn iter(&self) -> Iter<'_, FieldElement> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/field_elem.rs:1479:17 [INFO] [stdout] | [INFO] [stdout] 1479 | let mut R = FieldElement::random(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/group_elem.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | fn iter(&self) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 602 | fn iter(&self) -> Iter<'_, T>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1248 | let mut R = $group::random(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] ... [INFO] [stdout] 1274 | add_mul!(G1, "G1"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/group_elem.rs:1263:21 [INFO] [stdout] | [INFO] [stdout] 1263 | &points[i] * &fs[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] ... [INFO] [stdout] 1274 | add_mul!(G1, "G1"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1274 | let _ = add_mul!(G1, "G1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1248 | let mut R = $group::random(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] ... [INFO] [stdout] 1276 | add_mul!(G2, "G2"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/group_elem.rs:1263:21 [INFO] [stdout] | [INFO] [stdout] 1263 | &points[i] * &fs[i]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] ... [INFO] [stdout] 1276 | add_mul!(G2, "G2"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `add_mul` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1276 | let _ = add_mul!(G2, "G2"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut P = GroupG1::map2point(&u[0]); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let P1 = GroupG1::map2point(&u[1]); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | impl_group_element_lookup_table!(G1, G1LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (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/group_elem.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<$group_element> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g1.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | impl_group_elem_vec_ops!(G1, G1Vector); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<'_, $group_element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_hex_for_FP` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn test_parse_hex_for_FP() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_hex_for_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_bad_hex_for_FP` should have a snake case name [INFO] [stdout] --> src/group_elem_g1.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn test_parse_bad_hex_for_FP() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_bad_hex_for_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupG2_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GroupG2_SIZE: usize = 4 * MODBYTES + 1; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_G2_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GroupGT_SIZE` should have an upper case name [INFO] [stdout] --> src/types_g2.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const GroupGT_SIZE: usize = (12 * MODBYTES) as usize; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `GROUP_GT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn parse_hex_as_FP2(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:488:21 [INFO] [stdout] | [INFO] [stdout] 488 | fn from(A: &'a $group_element) -> Self { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ai` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let mut Ai: [$group_element; 8] = [ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ai` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A2` should have a snake case name [INFO] [stdout] --> src/group_elem.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let A2 = A.double(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `a2` [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | impl_group_element_lookup_table!(G2, G2LookupTable); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_group_element_lookup_table` (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/group_elem.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<$group_element> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/group_elem_g2.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | impl_group_elem_vec_ops!(G2, G2Vector); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_group_elem_vec_ops` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 705 | fn iter(&self) -> Iter<'_, $group_element> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut P = GroupG2::map2point(&fp2_1); [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P1` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let P1 = GroupG2::map2point(&fp2_2); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_hex_for_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | fn test_parse_hex_for_FP2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_hex_for_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_parse_bad_hex_for_FP2` should have a snake case name [INFO] [stdout] --> src/group_elem_g2.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn test_parse_bad_hex_for_FP2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_parse_bad_hex_for_fp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hex_as_FP4` should have a snake case name [INFO] [stdout] --> src/extension_field_gt.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn parse_hex_as_FP4(mut string: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_hex_as_fp4` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.88s [INFO] running `Command { std: "docker" "inspect" "328952b530f109f4a4cb73eb7e13367558e595bd7110167bf81b35c813fdd352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328952b530f109f4a4cb73eb7e13367558e595bd7110167bf81b35c813fdd352", kill_on_drop: false }` [INFO] [stdout] 328952b530f109f4a4cb73eb7e13367558e595bd7110167bf81b35c813fdd352