[INFO] cloning repository https://github.com/rex1fernando/blstrs-pvss-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rex1fernando/blstrs-pvss-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frex1fernando%2Fblstrs-pvss-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frex1fernando%2Fblstrs-pvss-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 490afda4090c064fde03b8b9b17916de102f4fd8 [INFO] checking rex1fernando/blstrs-pvss-simulation against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frex1fernando%2Fblstrs-pvss-simulation" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rex1fernando/blstrs-pvss-simulation on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rex1fernando/blstrs-pvss-simulation [INFO] finished tweaking git repo https://github.com/rex1fernando/blstrs-pvss-simulation [INFO] tweaked toml for git repo https://github.com/rex1fernando/blstrs-pvss-simulation written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rex1fernando/blstrs-pvss-simulation already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.7 [INFO] [stderr] Downloaded blstrs v0.7.1 [INFO] [stderr] Downloaded pairing v0.23.0 [INFO] [stderr] Downloaded blst v0.3.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bda8dc933dcbd99efd3c4b8781b3af849e72d6427e8f058a94b85981139dcd6e [INFO] running `Command { std: "docker" "start" "-a" "bda8dc933dcbd99efd3c4b8781b3af849e72d6427e8f058a94b85981139dcd6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bda8dc933dcbd99efd3c4b8781b3af849e72d6427e8f058a94b85981139dcd6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda8dc933dcbd99efd3c4b8781b3af849e72d6427e8f058a94b85981139dcd6e", kill_on_drop: false }` [INFO] [stdout] bda8dc933dcbd99efd3c4b8781b3af849e72d6427e8f058a94b85981139dcd6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 008b996b4881e742999a78f3b2cc95bfbd8c0dde2aa8ee7c7dddf650d0c89c80 [INFO] running `Command { std: "docker" "start" "-a" "008b996b4881e742999a78f3b2cc95bfbd8c0dde2aa8ee7c7dddf650d0c89c80", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking blstrs v0.7.1 [INFO] [stderr] Checking blstrs-pvss-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/group_ops_simulation.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/group_ops_simulation.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{ops::Mul, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/group_ops_simulation.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/group_ops_simulation.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{ops::Mul, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let result : Vec<>::Output> = black_box(self.bases [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let result : Vec = black_box( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let result : Vec = black_box( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/group_ops_simulation.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..self.num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let result : Gt = black_box( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp_G1_result` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let exp_G1_result : Vec = exp_G1_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp_G1_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp_G2_result` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let exp_G2_result : Vec = exp_G2_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp_G2_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairings_result` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let pairings_result : Vec = pairing_args.map(|(a,b)| pairing(&a,&b)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairings_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | mexp_G1_args.iter().for_each( |(num_mexps, bases, scalars)| for i in 0..*num_mexps { G1Projective::multi_exp(bases, scalars); }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:72:69 [INFO] [stdout] | [INFO] [stdout] 72 | mexp_G2_args.iter().for_each( |(num_mexps, bases, scalars)| for i in 0..*num_mexps { G2Projective::multi_exp(bases, scalars); }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:74:86 [INFO] [stdout] | [INFO] [stdout] 74 | ..._pairings, args_G1, args_G2)| for i in 0..*num_multi_pairings { multi_pairing(args_G1.iter(), args_G2.iter()); }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let result : Vec<>::Output> = black_box(self.bases [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let result : Vec = black_box( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pairings` is never constructed [INFO] [stdout] --> src/group_ops_simulation.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct Pairings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/group_ops_simulation.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl Pairings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 114 | fn new(mut rng: &mut impl RngCore, num : usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pairings` is never used [INFO] [stdout] --> src/group_ops_simulation.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 172 | / impl<'a, R> GroupOpsSimulation<'a, R> [INFO] [stdout] 173 | | where R : RngCore [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn pairings(&mut self, num: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_exps_in_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | num_exps_in_G1: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_exps_in_g1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexps_in_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mexps_in_G1: &[(usize, usize)], [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mexps_in_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_exps_in_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | num_exps_in_G2: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_exps_in_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexps_in_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | mexps_in_G2: &[(usize, usize)], [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mexps_in_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bases_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let bases_G1 : Vec = (0..num_exps_in_G1).map(|_| G1Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bases_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scalars_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let scalars_G1 : Vec = (0..num_exps_in_G1).map(|_| Scalar::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `scalars_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let result : Vec = black_box( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G1_args` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let exp_G1_args = bases_G1.iter().zip(scalars_G1.iter()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g1_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexp_G1_args` should have a snake case name [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut mexp_G1_args = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mexp_g1_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bases_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let bases_G2 : Vec = (0..num_exps_in_G2).map(|_| G2Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bases_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scalars_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let scalars_G2 : Vec = (0..num_exps_in_G2).map(|_| Scalar::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `scalars_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G2_args` should have a snake case name [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let exp_G2_args = bases_G2.iter().zip(scalars_G2.iter()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g2_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexp_G2_args` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut mexp_G2_args = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mexp_g2_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairing_args_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let pairing_args_G1 : Vec = (0..num_pairings).map(|_| G1Projective::random(&mut rng).to_affine()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairing_args_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let pairing_args_G2 : Vec = (0..num_pairings).map(|_| G2Projective::random(&mut rng).to_affine()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `multi_pairing_args_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let multi_pairing_args_G1 : Vec = (0..*multi_pairing_size).map(|_| G1Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_pairing_args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `multi_pairing_args_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let multi_pairing_args_G2 : Vec = (0..*multi_pairing_size).map(|_| G2Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_pairing_args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G1_result` should have a snake case name [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let exp_G1_result : Vec = exp_G1_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g1_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G2_result` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let exp_G2_result : Vec = exp_G2_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g2_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `args_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | multi_pairing_args.iter().for_each( |(num_multi_pairings, args_G1, args_G2)| for i in 0..*num_multi_pairings { multi_pairing(args_G1.... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `args_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:74:72 [INFO] [stdout] | [INFO] [stdout] 74 | multi_pairing_args.iter().for_each( |(num_multi_pairings, args_G1, args_G2)| for i in 0..*num_multi_pairings { multi_pairing(args_G1.... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G1` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | args_G1: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G2` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | args_G2: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G1` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | args_G1: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G2` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | args_G2: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/group_ops_simulation.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | for i in 0..self.num { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/group_ops_simulation.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let result : Gt = black_box( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp_G1_result` [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let exp_G1_result : Vec = exp_G1_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp_G1_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp_G2_result` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let exp_G2_result : Vec = exp_G2_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp_G2_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairings_result` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let pairings_result : Vec = pairing_args.map(|(a,b)| pairing(&a,&b)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pairings_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | mexp_G1_args.iter().for_each( |(num_mexps, bases, scalars)| for i in 0..*num_mexps { G1Projective::multi_exp(bases, scalars); }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:72:69 [INFO] [stdout] | [INFO] [stdout] 72 | mexp_G2_args.iter().for_each( |(num_mexps, bases, scalars)| for i in 0..*num_mexps { G2Projective::multi_exp(bases, scalars); }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:74:86 [INFO] [stdout] | [INFO] [stdout] 74 | ..._pairings, args_G1, args_G2)| for i in 0..*num_multi_pairings { multi_pairing(args_G1.iter(), args_G2.iter()); }); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pairings` is never constructed [INFO] [stdout] --> src/group_ops_simulation.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct Pairings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/group_ops_simulation.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl Pairings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 114 | fn new(mut rng: &mut impl RngCore, num : usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pairings` is never used [INFO] [stdout] --> src/group_ops_simulation.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 172 | / impl<'a, R> GroupOpsSimulation<'a, R> [INFO] [stdout] 173 | | where R : RngCore [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn pairings(&mut self, num: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_exps_in_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | num_exps_in_G1: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_exps_in_g1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexps_in_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mexps_in_G1: &[(usize, usize)], [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mexps_in_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_exps_in_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | num_exps_in_G2: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_exps_in_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexps_in_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | mexps_in_G2: &[(usize, usize)], [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mexps_in_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bases_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let bases_G1 : Vec = (0..num_exps_in_G1).map(|_| G1Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bases_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scalars_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let scalars_G1 : Vec = (0..num_exps_in_G1).map(|_| Scalar::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `scalars_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G1_args` should have a snake case name [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let exp_G1_args = bases_G1.iter().zip(scalars_G1.iter()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g1_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexp_G1_args` should have a snake case name [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut mexp_G1_args = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mexp_g1_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bases_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let bases_G2 : Vec = (0..num_exps_in_G2).map(|_| G2Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bases_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scalars_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let scalars_G2 : Vec = (0..num_exps_in_G2).map(|_| Scalar::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `scalars_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G2_args` should have a snake case name [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let exp_G2_args = bases_G2.iter().zip(scalars_G2.iter()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g2_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mexp_G2_args` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut mexp_G2_args = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mexp_g2_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairing_args_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let pairing_args_G1 : Vec = (0..num_pairings).map(|_| G1Projective::random(&mut rng).to_affine()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairing_args_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let pairing_args_G2 : Vec = (0..num_pairings).map(|_| G2Projective::random(&mut rng).to_affine()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `multi_pairing_args_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let multi_pairing_args_G1 : Vec = (0..*multi_pairing_size).map(|_| G1Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_pairing_args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `multi_pairing_args_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let multi_pairing_args_G2 : Vec = (0..*multi_pairing_size).map(|_| G2Projective::random(&mut rng)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `multi_pairing_args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G1_result` should have a snake case name [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let exp_G1_result : Vec = exp_G1_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g1_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `exp_G2_result` should have a snake case name [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let exp_G2_result : Vec = exp_G2_args.map(|(base, scalar)| base * scalar).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `exp_g2_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `args_G1` should have a snake case name [INFO] [stdout] --> src/main.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | multi_pairing_args.iter().for_each( |(num_multi_pairings, args_G1, args_G2)| for i in 0..*num_multi_pairings { multi_pairing(args_G1.... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `args_G2` should have a snake case name [INFO] [stdout] --> src/main.rs:74:72 [INFO] [stdout] | [INFO] [stdout] 74 | multi_pairing_args.iter().for_each( |(num_multi_pairings, args_G1, args_G2)| for i in 0..*num_multi_pairings { multi_pairing(args_G1.... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G1` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | args_G1: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G2` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | args_G2: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G1` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | args_G1: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `args_G2` should have a snake case name [INFO] [stdout] --> src/group_ops_simulation.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | args_G2: Vec, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `args_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "008b996b4881e742999a78f3b2cc95bfbd8c0dde2aa8ee7c7dddf650d0c89c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008b996b4881e742999a78f3b2cc95bfbd8c0dde2aa8ee7c7dddf650d0c89c80", kill_on_drop: false }` [INFO] [stdout] 008b996b4881e742999a78f3b2cc95bfbd8c0dde2aa8ee7c7dddf650d0c89c80