[INFO] cloning repository https://github.com/jgomezmartinez/mapcp_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgomezmartinez/mapcp_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgomezmartinez%2Fmapcp_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgomezmartinez%2Fmapcp_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ca0004d52ae5050272a12e5c7eb71117a422c1e [INFO] building jgomezmartinez/mapcp_rust against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgomezmartinez%2Fmapcp_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgomezmartinez/mapcp_rust on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jgomezmartinez/mapcp_rust [INFO] finished tweaking git repo https://github.com/jgomezmartinez/mapcp_rust [INFO] tweaked toml for git repo https://github.com/jgomezmartinez/mapcp_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jgomezmartinez/mapcp_rust 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d60710bd3d5097dd4400738831cf06cb3d5562d532bb072126e49c1a6d511615 [INFO] running `Command { std: "docker" "start" "-a" "d60710bd3d5097dd4400738831cf06cb3d5562d532bb072126e49c1a6d511615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d60710bd3d5097dd4400738831cf06cb3d5562d532bb072126e49c1a6d511615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60710bd3d5097dd4400738831cf06cb3d5562d532bb072126e49c1a6d511615", kill_on_drop: false }` [INFO] [stdout] d60710bd3d5097dd4400738831cf06cb3d5562d532bb072126e49c1a6d511615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5544473be3a9b48337a54d137c60088f1113bb54b05f1e58208af67cf0739ad5 [INFO] running `Command { std: "docker" "start" "-a" "5544473be3a9b48337a54d137c60088f1113bb54b05f1e58208af67cf0739ad5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling manyhow-macros v0.4.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling generic-array v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling flexible-transcript v0.3.2 [INFO] [stderr] Compiling std-shims v0.1.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling ciphersuite v0.4.1 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling k256 v0.13.3 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling bp256 v0.6.1 [INFO] [stderr] Compiling manyhow v0.4.2 [INFO] [stderr] Compiling tested-trait-macros v0.1.0 [INFO] [stderr] Compiling tested-trait v0.1.0 [INFO] [stderr] Compiling schemas v0.1.0 (/opt/rustwide/workdir/schemas) [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SchnorrSignatureScheme` and `SchnorrSignature` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schnorr_signatures::{SchnorrSignatureScheme, SchnorrSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signature_scheme::SignatureScheme` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::signature_scheme::SignatureScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point_to_byte_vector` [INFO] [stdout] --> schemas/src/schnorr_signatures.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{point_to_byte_vector, proj, scalar_to_byte_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::identification_scheme::IdentificationScheme` [INFO] [stdout] --> schemas/src/signature_scheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::identification_scheme::IdentificationScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::Group` [INFO] [stdout] --> schemas/src/hard_relation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use elliptic_curve::Group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/proof_f.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/schnorr_adaptor_signatures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | fn R(pp: &Self::PP, w: &Witness, x: &Statement) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/proof_f.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_f.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_f.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | fn R(pp: &Self::PP, w: &Witness, x: &Statement) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/proof_phi.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_phi.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_phi.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schemas/src/proof_f.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Witness [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | C: CurveArithmetic, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | fn new(s: C::Scalar, e: C::Scalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schemas/src/proof_f.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Statement [INFO] [stdout] 49 | | where [INFO] [stdout] 50 | | C: CurveArithmetic, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] 51 | { [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let R = g * k.as_ref(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `affine_R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let affine_R: AffinePoint = R.into(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `affine_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let R = g * (h * s1) + (*pk) * ((*sig) * (*s1)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `affine_R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let affine_R: AffinePoint = R.into(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `affine_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> schemas/src/proof_phi.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | let (A, B) = x.ct; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> schemas/src/proof_phi.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let (A, B) = x.ct; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> schemas/src/pok_zkcp.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut A = C::ProjectivePoint::identity(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> schemas/src/pok_zkcp.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut B = C::ProjectivePoint::identity(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_elgamal_NistP256 v0.1.0 (/opt/rustwide/workdir/selling_signature_elgamal_NistP256) [INFO] [stderr] Compiling selling_signature_NistP256 v0.1.0 (/opt/rustwide/workdir/selling_signature_NistP256) [INFO] [stderr] Compiling selling_signature_service_Secp256k1 v0.1.0 (/opt/rustwide/workdir/selling_signature_service_Secp256k1) [INFO] [stderr] Compiling selling_signature_Secp256k1 v0.1.0 (/opt/rustwide/workdir/selling_signature_Secp256k1) [INFO] [stderr] Compiling selling_signature_elgamal_Secp256k1 v0.1.0 (/opt/rustwide/workdir/selling_signature_elgamal_Secp256k1) [INFO] [stderr] Compiling selling_signature_service_NistP256 v0.1.0 (/opt/rustwide/workdir/selling_signature_service_NistP256) [INFO] [stdout] warning: unused import: `k256::Secp256k1` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use k256::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemas::symmetric_encryption::SymmetricEncryptionScheme` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use schemas::symmetric_encryption::SymmetricEncryptionScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p256::NistP256` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use p256::NistP256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p256::NistP256` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use p256::NistP256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::Secp256k1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use k256::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proof` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use schemas::pok_zkcp::{PoKZKCP, Proof, Statement, Witness}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `point_to_byte_vector` and `proj` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | use schemas::utils::{bit_at, point_to_byte_vector, proj, scalar_to_byte_vector, set_bit_at}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::Secp256k1` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use k256::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proof` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use schemas::pok_zkcp::{PoKZKCP, Proof, Statement, Witness}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `point_to_byte_vector` and `proj` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | use schemas::utils::{bit_at, point_to_byte_vector, proj, scalar_to_byte_vector, set_bit_at}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p256::NistP256` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use p256::NistP256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemas::symmetric_encryption::SymmetricEncryptionScheme` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use schemas::symmetric_encryption::SymmetricEncryptionScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nizk` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type Nizk = PoKSchnorrSignature; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Wit` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type Wit = Witness; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `St` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | type St = Statement; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selling_signature` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn selling_signature(time_file: &mut BufWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nizk` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type Nizk = PoKSchnorrSignature; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Wit` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type Wit = Witness; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `St` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | type St = Statement; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selling_signature` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn selling_signature(time_file: &mut BufWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.92s [INFO] running `Command { std: "docker" "inspect" "5544473be3a9b48337a54d137c60088f1113bb54b05f1e58208af67cf0739ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5544473be3a9b48337a54d137c60088f1113bb54b05f1e58208af67cf0739ad5", kill_on_drop: false }` [INFO] [stdout] 5544473be3a9b48337a54d137c60088f1113bb54b05f1e58208af67cf0739ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 529e7a67af31c8a79dcb28c9d5e8eb1dae53b6e59b508600a9fc93f304c10101 [INFO] running `Command { std: "docker" "start" "-a" "529e7a67af31c8a79dcb28c9d5e8eb1dae53b6e59b508600a9fc93f304c10101", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SchnorrSignatureScheme` and `SchnorrSignature` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schnorr_signatures::{SchnorrSignatureScheme, SchnorrSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signature_scheme::SignatureScheme` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::signature_scheme::SignatureScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point_to_byte_vector` [INFO] [stdout] --> schemas/src/schnorr_signatures.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{point_to_byte_vector, proj, scalar_to_byte_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::identification_scheme::IdentificationScheme` [INFO] [stdout] --> schemas/src/signature_scheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::identification_scheme::IdentificationScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::Group` [INFO] [stdout] --> schemas/src/hard_relation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use elliptic_curve::Group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/proof_f.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/schnorr_adaptor_signatures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | fn R(pp: &Self::PP, w: &Witness, x: &Statement) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/proof_f.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_f.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_f.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | fn R(pp: &Self::PP, w: &Witness, x: &Statement) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/proof_phi.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_phi.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_phi.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schemas/src/proof_f.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Witness [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | C: CurveArithmetic, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | fn new(s: C::Scalar, e: C::Scalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling schemas v0.1.0 (/opt/rustwide/workdir/schemas) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schemas/src/proof_f.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Statement [INFO] [stdout] 49 | | where [INFO] [stdout] 50 | | C: CurveArithmetic, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] 51 | { [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_service_NistP256 v0.1.0 (/opt/rustwide/workdir/selling_signature_service_NistP256) [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let R = g * k.as_ref(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_NistP256 v0.1.0 (/opt/rustwide/workdir/selling_signature_NistP256) [INFO] [stdout] warning: variable `affine_R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let affine_R: AffinePoint = R.into(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `affine_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_Secp256k1 v0.1.0 (/opt/rustwide/workdir/selling_signature_Secp256k1) [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let R = g * (h * s1) + (*pk) * ((*sig) * (*s1)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_elgamal_NistP256 v0.1.0 (/opt/rustwide/workdir/selling_signature_elgamal_NistP256) [INFO] [stdout] warning: variable `affine_R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let affine_R: AffinePoint = R.into(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `affine_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_service_Secp256k1 v0.1.0 (/opt/rustwide/workdir/selling_signature_service_Secp256k1) [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> schemas/src/proof_phi.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | let (A, B) = x.ct; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling selling_signature_elgamal_Secp256k1 v0.1.0 (/opt/rustwide/workdir/selling_signature_elgamal_Secp256k1) [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> schemas/src/proof_phi.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let (A, B) = x.ct; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> schemas/src/pok_zkcp.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut A = C::ProjectivePoint::identity(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> schemas/src/pok_zkcp.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut B = C::ProjectivePoint::identity(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::Secp256k1` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use k256::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proof` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use schemas::pok_zkcp::{PoKZKCP, Proof, Statement, Witness}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `point_to_byte_vector` and `proj` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | use schemas::utils::{bit_at, point_to_byte_vector, proj, scalar_to_byte_vector, set_bit_at}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::Secp256k1` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use k256::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemas::symmetric_encryption::SymmetricEncryptionScheme` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use schemas::symmetric_encryption::SymmetricEncryptionScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p256::NistP256` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use p256::NistP256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Proof` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use schemas::pok_zkcp::{PoKZKCP, Proof, Statement, Witness}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `point_to_byte_vector` and `proj` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | use schemas::utils::{bit_at, point_to_byte_vector, proj, scalar_to_byte_vector, set_bit_at}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p256::NistP256` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use p256::NistP256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::Secp256k1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use k256::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_elgamal_NistP256/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::FieldBytes` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use elliptic_curve::FieldBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SchnorrSignatureScheme` and `SchnorrSignature` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schnorr_signatures::{SchnorrSignatureScheme, SchnorrSignature}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signature_scheme::SignatureScheme` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::signature_scheme::SignatureScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point_to_byte_vector` [INFO] [stdout] --> schemas/src/schnorr_signatures.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{point_to_byte_vector, proj, scalar_to_byte_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::identification_scheme::IdentificationScheme` [INFO] [stdout] --> schemas/src/signature_scheme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::identification_scheme::IdentificationScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p256::NistP256` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use p256::NistP256; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemas::symmetric_encryption::SymmetricEncryptionScheme` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use schemas::symmetric_encryption::SymmetricEncryptionScheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_service_NistP256/src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_elgamal_Secp256k1/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_1` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | let (sk_s_1, pk_s_1) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pk_s_2` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 143 | let (sk_s_2, pk_s_2) = ASig::gen(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pk_s_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_recover` [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let tx_recover = "(alpha, (pk_b_2 && pk_s) || (pk_b_2 + t)) -> (alpha, pk_b_3)"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_recover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nizk` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type Nizk = PoKSchnorrSignature; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Wit` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type Wit = Witness; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `St` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | type St = Statement; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selling_signature` is never used [INFO] [stdout] --> selling_signature_Secp256k1/src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn selling_signature(time_file: &mut BufWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_service_Secp256k1/src/main.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Signature` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | type Signature = SchnorrSignature; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nizk` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | type Nizk = PoKSchnorrSignature; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Wit` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | type Wit = Witness; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `St` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | type St = Statement; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SymEnc` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | type SymEnc = OneTimePad<::Scalar>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `selling_signature` is never used [INFO] [stdout] --> selling_signature_NistP256/src/main.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn selling_signature(time_file: &mut BufWriter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::Group` [INFO] [stdout] --> schemas/src/hard_relation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use elliptic_curve::Group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/proof_f.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `elliptic_curve::ff::Field` [INFO] [stdout] --> schemas/src/schnorr_adaptor_signatures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use elliptic_curve::ff::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyInit` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use digest::{Digest, KeyInit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | fn R(pp: &Self::PP, w: &Witness, x: &Statement) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/proof_f.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_f.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_f.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_f.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 155 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | fn R(pp: &Self::PP, w: &Witness, x: &Statement) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/proof_phi.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/proof_phi.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_phi.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/proof_phi.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_schnorr_signature.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | fn prove(crs: &Self::CRS, x: &Self::Statement, w: &Self::Witness) -> Self::Proof { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crs` [INFO] [stdout] --> schemas/src/pok_zkcp.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | fn verify(crs: &Self::CRS, x: &Self::Statement, p: &Self::Proof) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_crs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(pp: &Self::PP, w: &Witness) -> Statement { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> schemas/src/por_schnorr_signature.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | fn gen(pp: &Self::PP) -> (Witness, Statement) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schemas/src/proof_f.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Witness [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | C: CurveArithmetic, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | fn new(s: C::Scalar, e: C::Scalar) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> schemas/src/proof_f.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Statement [INFO] [stdout] 49 | | where [INFO] [stdout] 50 | | C: CurveArithmetic, [INFO] [stdout] | |_______________________- associated function in this implementation [INFO] [stdout] 51 | { [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let R = g * k.as_ref(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `affine_R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let affine_R: AffinePoint = R.into(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `affine_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let R = g * (h * s1) + (*pk) * ((*sig) * (*s1)); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `affine_R` should have a snake case name [INFO] [stdout] --> schemas/src/ecdsa_signatures.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let affine_R: AffinePoint = R.into(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `affine_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> schemas/src/proof_phi.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | let (A, B) = x.ct; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> schemas/src/proof_phi.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let (A, B) = x.ct; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> schemas/src/pok_zkcp.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut A = C::ProjectivePoint::identity(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> schemas/src/pok_zkcp.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut B = C::ProjectivePoint::identity(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "529e7a67af31c8a79dcb28c9d5e8eb1dae53b6e59b508600a9fc93f304c10101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529e7a67af31c8a79dcb28c9d5e8eb1dae53b6e59b508600a9fc93f304c10101", kill_on_drop: false }` [INFO] [stdout] 529e7a67af31c8a79dcb28c9d5e8eb1dae53b6e59b508600a9fc93f304c10101