[INFO] fetching crate amcl_wrapper 0.4.0... [INFO] checking amcl_wrapper-0.4.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate amcl_wrapper 0.4.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate amcl_wrapper 0.4.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee09403025c6fa44df4ea25af3f3bdb7a7f49a0263daf04bcf57070937dae865 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee09403025c6fa44df4ea25af3f3bdb7a7f49a0263daf04bcf57070937dae865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee09403025c6fa44df4ea25af3f3bdb7a7f49a0263daf04bcf57070937dae865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee09403025c6fa44df4ea25af3f3bdb7a7f49a0263daf04bcf57070937dae865", kill_on_drop: false }` [INFO] [stdout] ee09403025c6fa44df4ea25af3f3bdb7a7f49a0263daf04bcf57070937dae865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ae45634e745029f2c9b29e49dd0d1e401b6cff5b0780767ead80da82c55f12f [INFO] running `Command { std: "docker" "start" "-a" "4ae45634e745029f2c9b29e49dd0d1e401b6cff5b0780767ead80da82c55f12f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking miracl_core v1.0.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking amcl_wrapper v0.4.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_doc_comments)]` on by default [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 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: `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: 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 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: `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 imports: `Hash`, `Hasher` [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`, `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 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] = note: `#[warn(unused_doc_comments)]` on by default [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 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: `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: 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 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`, `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 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 imports: `Hash`, `Hasher` [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`, `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:17 [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 a macro (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:17 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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:17 [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 a macro (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:17 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: static variable `CurveOrder` should have an upper case name [INFO] [stdout] --> src/constants.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ref CurveOrder: BigNum = BigNum::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CURVE_ORDER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `CurveOrderBitSize` should have an upper case name [INFO] [stdout] --> src/constants.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub static ref CurveOrderBitSize: usize = CurveOrder.nbits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CURVE_ORDER_BIT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `FieldModulus` should have an upper case name [INFO] [stdout] --> src/constants.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub static ref FieldModulus: BigNum = BigNum::new_ints(&rom::MODULUS); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_MODULUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `FieldModulusBitSize` should have an upper case name [INFO] [stdout] --> src/constants.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ref FieldModulusBitSize: usize = FieldModulus.nbits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_MODULUS_BIT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ell` should have an upper case name [INFO] [stdout] --> src/constants.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ref Ell: usize = ceil(&(*FieldModulusBitSize + AESKEY * 8), &8); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ELL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_k` should have an upper case name [INFO] [stdout] --> src/constants.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub static ref BarrettRedc_k: usize = *CurveOrderBitSize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_u` should have an upper case name [INFO] [stdout] --> src/constants.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub static ref BarrettRedc_u: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_v` should have an upper case name [INFO] [stdout] --> src/constants.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub static ref BarrettRedc_v: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_V` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_FM_k` should have an upper case name [INFO] [stdout] --> src/constants.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub static ref BarrettRedc_FM_k: usize = *FieldModulusBitSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_FM_K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_FM_u` should have an upper case name [INFO] [stdout] --> src/constants.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub static ref BarrettRedc_FM_u: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_FM_U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_FM_v` should have an upper case name [INFO] [stdout] --> src/constants.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | pub static ref BarrettRedc_FM_v: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_FM_V` [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: 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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: 52 warnings emitted [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 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/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: 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: static variable `CurveOrder` should have an upper case name [INFO] [stdout] --> src/constants.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ref CurveOrder: BigNum = BigNum::new_ints(&rom::CURVE_ORDER); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CURVE_ORDER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `CurveOrderBitSize` should have an upper case name [INFO] [stdout] --> src/constants.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub static ref CurveOrderBitSize: usize = CurveOrder.nbits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CURVE_ORDER_BIT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `FieldModulus` should have an upper case name [INFO] [stdout] --> src/constants.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub static ref FieldModulus: BigNum = BigNum::new_ints(&rom::MODULUS); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_MODULUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `FieldModulusBitSize` should have an upper case name [INFO] [stdout] --> src/constants.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | pub static ref FieldModulusBitSize: usize = FieldModulus.nbits(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FIELD_MODULUS_BIT_SIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ell` should have an upper case name [INFO] [stdout] --> src/constants.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | pub static ref Ell: usize = ceil(&(*FieldModulusBitSize + AESKEY * 8), &8); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ELL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_k` should have an upper case name [INFO] [stdout] --> src/constants.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub static ref BarrettRedc_k: usize = *CurveOrderBitSize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_u` should have an upper case name [INFO] [stdout] --> src/constants.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub static ref BarrettRedc_u: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_v` should have an upper case name [INFO] [stdout] --> src/constants.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | pub static ref BarrettRedc_v: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_V` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_FM_k` should have an upper case name [INFO] [stdout] --> src/constants.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | pub static ref BarrettRedc_FM_k: usize = *FieldModulusBitSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_FM_K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_FM_u` should have an upper case name [INFO] [stdout] --> src/constants.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | pub static ref BarrettRedc_FM_u: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_FM_U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `BarrettRedc_FM_v` should have an upper case name [INFO] [stdout] --> src/constants.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | pub static ref BarrettRedc_FM_v: BigNum = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BARRETT_REDC_FM_V` [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: 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: 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 a macro (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] | ^^^^^^^^^^^^^^^^^^^ [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (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] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1276 | add_mul!(G2, "G2"); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.22s [INFO] running `Command { std: "docker" "inspect" "4ae45634e745029f2c9b29e49dd0d1e401b6cff5b0780767ead80da82c55f12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae45634e745029f2c9b29e49dd0d1e401b6cff5b0780767ead80da82c55f12f", kill_on_drop: false }` [INFO] [stdout] 4ae45634e745029f2c9b29e49dd0d1e401b6cff5b0780767ead80da82c55f12f