[INFO] cloning repository https://github.com/Khady71/certificatless-ibe-on-arkworks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Khady71/certificatless-ibe-on-arkworks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhady71%2Fcertificatless-ibe-on-arkworks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhady71%2Fcertificatless-ibe-on-arkworks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed1d6691e4e3e813bfe8fe75caf10bc575a738ae [INFO] checking Khady71/certificatless-ibe-on-arkworks against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKhady71%2Fcertificatless-ibe-on-arkworks" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Khady71/certificatless-ibe-on-arkworks [INFO] finished tweaking git repo https://github.com/Khady71/certificatless-ibe-on-arkworks [INFO] tweaked toml for git repo https://github.com/Khady71/certificatless-ibe-on-arkworks written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Khady71/certificatless-ibe-on-arkworks on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Khady71/certificatless-ibe-on-arkworks 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 176d8c193199663b6ca56e4fb4541185ce86d5f821b9bbefa5ccb614fc165089 [INFO] running `Command { std: "docker" "start" "-a" "176d8c193199663b6ca56e4fb4541185ce86d5f821b9bbefa5ccb614fc165089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "176d8c193199663b6ca56e4fb4541185ce86d5f821b9bbefa5ccb614fc165089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176d8c193199663b6ca56e4fb4541185ce86d5f821b9bbefa5ccb614fc165089", kill_on_drop: false }` [INFO] [stdout] 176d8c193199663b6ca56e4fb4541185ce86d5f821b9bbefa5ccb614fc165089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8073ccb64f723afb9f810c5dbca3631c0526fb6f4f901f8412d409951c51172a [INFO] running `Command { std: "docker" "start" "-a" "8073ccb64f723afb9f810c5dbca3631c0526fb6f4f901f8412d409951c51172a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.2 [INFO] [stderr] Compiling ark-serialize-derive v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling ark-ff-macros v0.5.0 [INFO] [stderr] Compiling ark-ff-asm v0.5.0 [INFO] [stderr] Checking ark-std v0.5.0 [INFO] [stderr] Compiling enum-ordinalize v4.3.2 [INFO] [stderr] Checking ark-serialize v0.5.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking ark-ff v0.5.0 [INFO] [stderr] Checking ark-poly v0.5.0 [INFO] [stderr] Checking ark-ec v0.5.0 [INFO] [stderr] Checking ark-bls12-381 v0.5.0 [INFO] [stderr] Checking cl-ibe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ark_std::UniformRand` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ark_std::UniformRand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CanonicalDeserialize` [INFO] [stdout] --> src/util.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use ark_serialize::{CanonicalDeserialize, CanonicalSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AffineRepr`, `CurveGroup`, and `Pairing` [INFO] [stdout] --> src/util.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pairing::{Pairing, PairingOutput}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | AffineRepr, CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `G1_SERIALIZED_SIZE`, `G2_SERIALIZED_SIZE`, and `rand_g2` [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | use util::{rand_scalar, rand_g1, rand_g2, G1_SERIALIZED_SIZE, G2_SERIALIZED_SIZE, h1_to_g2, h2, h3, h4, rand_sigma}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CanonicalDeserialize` [INFO] [stdout] --> src/util.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use ark_serialize::{CanonicalDeserialize, CanonicalSerialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AffineRepr`, `CurveGroup`, and `Pairing` [INFO] [stdout] --> src/util.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pairing::{Pairing, PairingOutput}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | AffineRepr, CurveGroup, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `G1_SERIALIZED_SIZE`, `G2_SERIALIZED_SIZE`, and `rand_g2` [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | use util::{rand_scalar, rand_g1, rand_g2, G1_SERIALIZED_SIZE, G2_SERIALIZED_SIZE, h1_to_g2, h2, h3, h4, rand_sigma}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `UserSecretKey` is never constructed [INFO] [stdout] --> src/main.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UserSecretKey{ //Known by the KGC and the User [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `UserPrivateKey` is never constructed [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UserPrivateKey{ //Known only by user [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `UserPublicKey` is never constructed [INFO] [stdout] --> src/main.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct UserPublicKey{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `CipherText` is never constructed [INFO] [stdout] --> src/main.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct CipherText{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `d_a` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct UserSecretKey{ //Known by the KGC and the User [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | d_a: G2Affine, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSecretKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t_a` is never read [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UserPrivateKey{ //Known only by user [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 40 | t_a:Fr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n_a` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct UserPublicKey{ [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 46 | n_a:G1Affine, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserPublicKey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `u`, `v`, and `w` are never read [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct CipherText{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 52 | u: G1Affine, [INFO] [stdout] | ^ [INFO] [stdout] 53 | v: [u8; 32], [INFO] [stdout] | ^ [INFO] [stdout] 54 | w: [u8; 32] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `CipherText` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `extract`, `publish`, `encrypt`, and `decrypt` are never used [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl CLIBE { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn extract(id: &[u8], msk:&MasterSecretKey) -> UserSecretKey{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn publish(rng: &mut R, pk:&PublicKey)-> (UserPublicKey, UserPrivateKey){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn encrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn decrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G1_SERIALIZED_SIZE` is never used [INFO] [stdout] --> src/util.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const G1_SERIALIZED_SIZE: usize = 48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2_SERIALIZED_SIZE` is never used [INFO] [stdout] --> src/util.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const G2_SERIALIZED_SIZE: usize = 96; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H1_DST` is never used [INFO] [stdout] --> src/util.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const H1_DST : &[u8] = b"CL_PKE_CHENG_COMLEY_BLS12_381_H1"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H2_DST` is never used [INFO] [stdout] --> src/util.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const H2_DST : &[u8] = b"CL_PKE_CHENG_COMLEY_BLS12_381_H2"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H3_DST` is never used [INFO] [stdout] --> src/util.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const H3_DST : &[u8] = b"CL_PKE_CHENG_COMLEY_BLS12_381_H3"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H4_DST` is never used [INFO] [stdout] --> src/util.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const H4_DST : &[u8] = b"CL_PKE_CHENG_COMLEY_BLS12_381_H4"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_g2` is never used [INFO] [stdout] --> src/util.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn rand_g2(rng: &mut R) -> G2{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_sigma` is never used [INFO] [stdout] --> src/util.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn rand_sigma(rng: &mut R) -> [u8; 32]{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h1_to_g2` is never used [INFO] [stdout] --> src/util.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn h1_to_g2(id:&[u8]) -> Result{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h2` is never used [INFO] [stdout] --> src/util.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn h2( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h3` is never used [INFO] [stdout] --> src/util.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn h3(sigma: &[u8;32], message: &[u8;32]) -> Fr{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h4` is never used [INFO] [stdout] --> src/util.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn h4(sigma: &[u8; 32]) -> [u8; 32]{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub const n: usize = 256; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `q_A` should have a snake case name [INFO] [stdout] --> src/util.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let q_A : G2Affine =g2_mapper.hash(id)?; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G1_SERIALIZED_SIZE` is never used [INFO] [stdout] --> src/util.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const G1_SERIALIZED_SIZE: usize = 48; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G2_SERIALIZED_SIZE` is never used [INFO] [stdout] --> src/util.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const G2_SERIALIZED_SIZE: usize = 96; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_g2` is never used [INFO] [stdout] --> src/util.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn rand_g2(rng: &mut R) -> G2{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub const n: usize = 256; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `q_A` should have a snake case name [INFO] [stdout] --> src/util.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let q_A : G2Affine =g2_mapper.hash(id)?; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cl-ibe` (bin "cl-ibe") due to 4 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8073ccb64f723afb9f810c5dbca3631c0526fb6f4f901f8412d409951c51172a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8073ccb64f723afb9f810c5dbca3631c0526fb6f4f901f8412d409951c51172a", kill_on_drop: false }` [INFO] [stdout] 8073ccb64f723afb9f810c5dbca3631c0526fb6f4f901f8412d409951c51172a