[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwip-abramson%2Frust-anoncred-signatures" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wip-abramson/rust-anoncred-signatures on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-2/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f50f0554bbc9e10de037ae211d8ecfb929b5f6abf39bd3b8f4215e72d947f1b6 [INFO] running `Command { std: "docker" "start" "-a" "f50f0554bbc9e10de037ae211d8ecfb929b5f6abf39bd3b8f4215e72d947f1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f50f0554bbc9e10de037ae211d8ecfb929b5f6abf39bd3b8f4215e72d947f1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50f0554bbc9e10de037ae211d8ecfb929b5f6abf39bd3b8f4215e72d947f1b6", kill_on_drop: false }` [INFO] [stdout] f50f0554bbc9e10de037ae211d8ecfb929b5f6abf39bd3b8f4215e72d947f1b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ea718ed317e16e2c5cfa05ed948df3126e0003b2da8408e66bd1bc9b467577 [INFO] running `Command { std: "docker" "start" "-a" "56ea718ed317e16e2c5cfa05ed948df3126e0003b2da8408e66bd1bc9b467577", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking core v0.1.0 (/tmp/fixit/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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust_signatures v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/bbs_plus/signature.rs (13 fixes) [INFO] [stderr] Fixed src/cl/signature.rs (13 fixes) [INFO] [stderr] Fixed src/ps/signature.rs (12 fixes) [INFO] [stderr] Fixed src/main.rs (5 fixes) [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: 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:77 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |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: 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: 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:77 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.77s [INFO] [stderr] Running `cargo check` to verify 2021 [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] [stderr] Checking rust_signatures v0.1.0 (/tmp/fixit) [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: 8 warnings emitted [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: 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:77 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |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: 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: 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:77 [INFO] [stdout] | [INFO] [stdout] 109 | let check = self.Y_array.iter().zip(messages.iter()).fold(X, |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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "56ea718ed317e16e2c5cfa05ed948df3126e0003b2da8408e66bd1bc9b467577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ea718ed317e16e2c5cfa05ed948df3126e0003b2da8408e66bd1bc9b467577", kill_on_drop: false }` [INFO] [stdout] 56ea718ed317e16e2c5cfa05ed948df3126e0003b2da8408e66bd1bc9b467577