[INFO] cloning repository https://github.com/wip-abramson/rust-anoncred-signatures [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wip-abramson/rust-anoncred-signatures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwip-abramson%2Frust-anoncred-signatures", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwip-abramson%2Frust-anoncred-signatures'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 317d3ea63bca8946c7c62a6a270813152f499064 [INFO] checking wip-abramson/rust-anoncred-signatures against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwip-abramson%2Frust-anoncred-signatures" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wip-abramson/rust-anoncred-signatures 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 git repo https://github.com/wip-abramson/rust-anoncred-signatures [INFO] finished tweaking git repo https://github.com/wip-abramson/rust-anoncred-signatures [INFO] tweaked toml for git repo https://github.com/wip-abramson/rust-anoncred-signatures written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/wip-abramson/rust-anoncred-signatures already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] afab3dc3feaa2487e6f78cb2e838815b47083ab69847db0a02afd81843932e8a [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" "afab3dc3feaa2487e6f78cb2e838815b47083ab69847db0a02afd81843932e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afab3dc3feaa2487e6f78cb2e838815b47083ab69847db0a02afd81843932e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afab3dc3feaa2487e6f78cb2e838815b47083ab69847db0a02afd81843932e8a", kill_on_drop: false }` [INFO] [stdout] afab3dc3feaa2487e6f78cb2e838815b47083ab69847db0a02afd81843932e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stdout] 79dcd195cc9acbff7a688f6b6930719258cbb0c2acae98ec1b15b3f7018e6903 [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" "79dcd195cc9acbff7a688f6b6930719258cbb0c2acae98ec1b15b3f7018e6903", kill_on_drop: false }` [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/nhs.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | const DEGREE: usize = (1 << LGN); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/big.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub const NLEN: usize = (1 + ((8 * MODBYTES - 1) / BASEBITS)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/big.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | pub const BMASK: Chunk = ((1 << BASEBITS) - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/big.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | pub const HBITS: usize = (BASEBITS / 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/big.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | pub const HMASK: Chunk = ((1 << HBITS) - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/big.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | pub const NEXCESS: isize = (1 << ((arch::CHUNK) - BASEBITS - 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/big.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | pub const BIGBITS: usize = (MODBYTES * 8); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> core/src/bls12381/fp.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub const FEXCESS:i32 = (((1 as i32)<<25)-1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nk` [INFO] [stdout] --> core/src/aes.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | nk: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust_signatures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::bls12381::ecp2::ECP2` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::bls12381::ecp2::ECP2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp::ECP` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::bls12381::ecp::ECP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::rom` [INFO] [stdout] --> src/bbs_plus/signature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::bls12381::rom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hmac` [INFO] [stdout] --> src/bbs_plus/signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::big` [INFO] [stdout] --> src/ps/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::bls12381::big; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp` [INFO] [stdout] --> src/ps/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::bls12381::ecp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::dbig::DBIG` [INFO] [stdout] --> src/ps/signature.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::bls12381::dbig::DBIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp4::FP4` [INFO] [stdout] --> src/ps/signature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::bls12381::fp4::FP4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp12::FP12` [INFO] [stdout] --> src/ps/signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hmac` [INFO] [stdout] --> src/ps/signature.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::big` [INFO] [stdout] --> src/cl/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::bls12381::big; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp` [INFO] [stdout] --> src/cl/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::bls12381::ecp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp4::FP4` [INFO] [stdout] --> src/cl/signature.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::bls12381::fp4::FP4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp12::FP12` [INFO] [stdout] --> src/cl/signature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::rom` [INFO] [stdout] --> src/cl/signature.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::bls12381::rom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hmac` [INFO] [stdout] --> src/cl/signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use ps::signature::{Signature, SecretKey, key_generation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BBSPlusPublicKey`, `BBSPlusSig` [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use bbs_plus::signature::{BBSPlusSig, BBSPlusPublicKey, BBSPlusKey}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp2::ECP2` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::bls12381::ecp2::ECP2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp::ECP` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::bls12381::ecp::ECP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::rom` [INFO] [stdout] --> src/bbs_plus/signature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::bls12381::rom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hmac` [INFO] [stdout] --> src/bbs_plus/signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::big` [INFO] [stdout] --> src/ps/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::bls12381::big; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp` [INFO] [stdout] --> src/ps/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::bls12381::ecp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::dbig::DBIG` [INFO] [stdout] --> src/ps/signature.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::bls12381::dbig::DBIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp4::FP4` [INFO] [stdout] --> src/ps/signature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::bls12381::fp4::FP4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp12::FP12` [INFO] [stdout] --> src/ps/signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hmac` [INFO] [stdout] --> src/ps/signature.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use core::hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::big` [INFO] [stdout] --> src/cl/signature.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::bls12381::big; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::ecp` [INFO] [stdout] --> src/cl/signature.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::bls12381::ecp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp4::FP4` [INFO] [stdout] --> src/cl/signature.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::bls12381::fp4::FP4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::fp12::FP12` [INFO] [stdout] --> src/cl/signature.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::bls12381::rom` [INFO] [stdout] --> src/cl/signature.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::bls12381::rom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hmac` [INFO] [stdout] --> src/cl/signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretKey` [INFO] [stdout] --> src/main.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | use ps::signature::{Signature, SecretKey, key_generation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BBSPlusPublicKey`, `BBSPlusSig` [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use bbs_plus::signature::{BBSPlusSig, BBSPlusPublicKey, BBSPlusKey}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/bbs_plus/signature.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for index in 0..message_array_len { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running_total` [INFO] [stdout] --> src/bbs_plus/signature.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut running_total = BIG::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ps/signature.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 0..msg_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g1` [INFO] [stdout] --> src/ps/signature.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let g1 = ECP::generator(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/bbs_plus/signature.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for index in 0..message_array_len { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/ps/signature.rs:100:79 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn verify(&self, signature: &Signature, messages: Vec<&str>, q: &BIG, rng: &mut RAND) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running_total` [INFO] [stdout] --> src/bbs_plus/signature.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut running_total = BIG::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cl/signature.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..msg_count-1 { [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/ps/signature.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | for i in 0..msg_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g1` [INFO] [stdout] --> src/ps/signature.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let g1 = ECP::generator(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/cl/signature.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn verify(&self, public_key: &ClPublicKey, q: &BIG, rng: &RAND) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/ps/signature.rs:100:79 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn verify(&self, signature: &Signature, messages: Vec<&str>, q: &BIG, rng: &mut RAND) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cl/signature.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for i in 0..msg_count-1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/cl/signature.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn verify(&self, public_key: &ClPublicKey, q: &BIG, rng: &RAND) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/cl/signature.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn verify(&self, public_key: &ClPublicKey, q: &BIG, rng: &RAND) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/cl/signature.rs:120:61 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn verify(&self, public_key: &ClPublicKey, q: &BIG, rng: &RAND) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut q = BIG::new_ints(&rom::CURVE_ORDER); [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/bbs_plus/signature.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut h0 = BIG::randomnum(q, rng); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut q = BIG::new_ints(&rom::CURVE_ORDER); [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/bbs_plus/signature.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut h0 = BIG::randomnum(q, rng); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut mh = m.powmod(h, &q); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut running_total = BIG::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut h0s = h0.powmod(&s, q); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut h0sb = BIG::modmul(&h0s, &b, &q); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut mh = m.powmod(h, &q); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut mh = m.powmod(h, &q); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut running_total = BIG::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut h0s = h0.powmod(&s, q); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut h0sb = BIG::modmul(&h0s, &b, &q); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let mut mh = m.powmod(h, &q); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut h0s = h0.powmod(&self.s, q); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut h0sb = BIG::modmul(&h0s, &b, q); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut g1hm = pair::g1mul(&g1, &h0sb); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut h0s = h0.powmod(&self.s, q); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut h0sb = BIG::modmul(&h0s, &b, q); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bbs_plus/signature.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let mut g1hm = pair::g1mul(&g1, &h0sb); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ps/signature.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut sig2 = pair::g1mul(&H, &sum); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ps/signature.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut sig2 = pair::g1mul(&H, &sum); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ps/signature.rs:109:71 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |mut acc, (Y, msg)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ps/signature.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut g2 = ECP2::generator(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ps/signature.rs:109:71 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |mut acc, (Y, msg)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ps/signature.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut g2 = ECP2::generator(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut ai_array: Vec = secret_key.z_array.iter().map(|zi| pair::g1mul(&a, zi)).collect(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut x_xym0 = BIG::modadd(&secret_key.x, &BIG::modmul(&secret_key.x, &BIG::modmul(&secret_key.y, &m0, q), &q), &q); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut exponent_total = m_array.iter().zip(secret_key.z_array.iter()).fold(x_xym0, |acc, (mi, zi)| { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut c = pair::g1mul(&a, &exponent_total); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `X` [INFO] [stdout] --> src/cl/signature.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | X: ECP2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Y` [INFO] [stdout] --> src/cl/signature.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Y: ECP2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/cl/signature.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | b: ECP, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bi` [INFO] [stdout] --> src/cl/signature.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | bi: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c` [INFO] [stdout] --> src/cl/signature.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | c: ECP [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut ai_array: Vec = secret_key.z_array.iter().map(|zi| pair::g1mul(&a, zi)).collect(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut x_xym0 = BIG::modadd(&secret_key.x, &BIG::modmul(&secret_key.x, &BIG::modmul(&secret_key.y, &m0, q), &q), &q); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut exponent_total = m_array.iter().zip(secret_key.z_array.iter()).fold(x_xym0, |acc, (mi, zi)| { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cl/signature.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let mut c = pair::g1mul(&a, &exponent_total); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `X` [INFO] [stdout] --> src/cl/signature.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | X: ECP2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Y` [INFO] [stdout] --> src/cl/signature.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Y: ECP2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/cl/signature.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | b: ECP, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bi` [INFO] [stdout] --> src/cl/signature.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | bi: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `c` [INFO] [stdout] --> src/cl/signature.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | c: ECP [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bbs_plus/signature.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut A = pair::g1mul(&g1, &h0sb); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/bbs_plus/signature.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | A: ECP, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | X: ECP2, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y_array` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Y_array:Vec [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let X = pair::g2mul(&g2, &x); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_array` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut Y_array = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let H = ECP::hashit(&BIG::randomnum(&p, rng)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut X = ECP2::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:109:81 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |mut acc, (Y, msg)| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let X = pair::g2mul(&g2, &x); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bbs_plus/signature.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let mut A = pair::g1mul(&g1, &h0sb); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/bbs_plus/signature.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | A: ECP, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | X: ECP2, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y_array` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Y_array:Vec [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let X = pair::g2mul(&g2, &x); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_array` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut Y_array = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let H = ECP::hashit(&BIG::randomnum(&p, rng)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut X = ECP2::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/ps/signature.rs:109:81 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |mut acc, (Y, msg)| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let X = pair::g2mul(&g2, &x); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let Y = pair::g2mul(&g2, &y); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Z_array` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut Z_array = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | X: ECP2, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Y: ECP2, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Z_array` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Z_array: Vec [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let Y = pair::g2mul(&g2, &y); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Z_array` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut Z_array = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | X: ECP2, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Y: ECP2, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Z_array` should have a snake case name [INFO] [stdout] --> src/cl/signature.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Z_array: Vec [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `z_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/cl/signature.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / self.ai.iter().zip(public_key.Z_array.iter()).map(|(ai, zi)| { [INFO] [stdout] 125 | | [INFO] [stdout] 126 | | let mut lhs = pair::ate(&zi, &self.a); [INFO] [stdout] 127 | | lhs = pair::fexp(&lhs); [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/cl/signature.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / self.ai.iter().zip(public_key.Z_array.iter()).map(|(ai, zi)| { [INFO] [stdout] 125 | | [INFO] [stdout] 126 | | let mut lhs = pair::ate(&zi, &self.a); [INFO] [stdout] 127 | | lhs = pair::fexp(&lhs); [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "79dcd195cc9acbff7a688f6b6930719258cbb0c2acae98ec1b15b3f7018e6903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79dcd195cc9acbff7a688f6b6930719258cbb0c2acae98ec1b15b3f7018e6903", kill_on_drop: false }` [INFO] [stdout] 79dcd195cc9acbff7a688f6b6930719258cbb0c2acae98ec1b15b3f7018e6903