[INFO] cloning repository https://github.com/linqining/deck_agent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linqining/deck_agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinqining%2Fdeck_agent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinqining%2Fdeck_agent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c2902f51d8459e88737ff864d1a9b71cf4c906b9
[INFO] checking linqining/deck_agent/c2902f51d8459e88737ff864d1a9b71cf4c906b9 against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinqining%2Fdeck_agent" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/linqining/deck_agent
[INFO] finished tweaking git repo https://github.com/linqining/deck_agent
[INFO] tweaked toml for git repo https://github.com/linqining/deck_agent written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linqining/deck_agent on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/linqining/deck_agent 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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/linqining/mental-poker-rust.git`
[INFO] [stderr]     Updating git repository `https://github.com/linqining/proof-toolbox.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded resolv-conf v0.7.1
[INFO] [stderr]   Downloaded hostname v0.4.1
[INFO] [stderr]   Downloaded ark-marlin v0.3.0
[INFO] [stderr]   Downloaded mockall v0.12.1
[INFO] [stderr]   Downloaded asn1_der v0.7.6
[INFO] [stderr]   Downloaded mockall_derive v0.12.1
[INFO] [stderr]   Downloaded winnow v0.7.7
[INFO] [stderr]   Downloaded bson v2.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a5bc2b3f11b9230a8252a528b4f21366f6da9c5e7d061cd5b2778619bd0c7ac
[INFO] running `Command { std: "docker" "start" "-a" "2a5bc2b3f11b9230a8252a528b4f21366f6da9c5e7d061cd5b2778619bd0c7ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a5bc2b3f11b9230a8252a528b4f21366f6da9c5e7d061cd5b2778619bd0c7ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a5bc2b3f11b9230a8252a528b4f21366f6da9c5e7d061cd5b2778619bd0c7ac", kill_on_drop: false }`
[INFO] [stdout] 2a5bc2b3f11b9230a8252a528b4f21366f6da9c5e7d061cd5b2778619bd0c7ac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7698ca7f6db33f1bbce78ee26e25f3486df3c0f8c568ed3b230df16ef9162d57
[INFO] running `Command { std: "docker" "start" "-a" "7698ca7f6db33f1bbce78ee26e25f3486df3c0f8c568ed3b230df16ef9162d57", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling cc v1.2.20
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling ref-cast v1.0.24
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling ref-cast-impl v1.0.24
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling semver-parser v0.10.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]     Checking ark-std v0.3.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.9
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]     Checking toml_write v0.1.1
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking winnow v0.7.7
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking pear v0.2.9
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking hostname v0.4.1
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking rustix v1.0.5
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking resolv-conf v0.7.1
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking rustc_version v0.2.3
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking toml_edit v0.22.26
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]     Checking atomic v0.5.3
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking asn1_der v0.7.6
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-serialize-derive v0.3.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]     Checking ark-serialize v0.3.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking bson v2.14.0
[INFO] [stderr]     Checking toml v0.8.22
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking mockall v0.12.1
[INFO] [stderr]     Checking trust-dns-proto v0.21.2
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]     Checking trust-dns-resolver v0.21.2
[INFO] [stderr]     Checking mongodb v2.8.2
[INFO] [stderr]     Checking ark-ec v0.3.0
[INFO] [stderr]     Checking ark-relations v0.3.0
[INFO] [stderr]     Checking ark-poly v0.3.0
[INFO] [stderr]     Checking ark-snark v0.3.0
[INFO] [stderr]     Checking ark-r1cs-std v0.3.1
[INFO] [stderr]     Checking ark-crypto-primitives v0.3.0
[INFO] [stderr]     Checking starknet-curve v0.1.0 (https://github.com/linqining/proof-toolbox.git?branch=develop#57622cd2)
[INFO] [stderr]     Checking ark-nonnative-field v0.3.0
[INFO] [stderr]     Checking ark-poly-commit v0.3.0
[INFO] [stderr]     Checking ark-marlin v0.3.0
[INFO] [stderr]     Checking proof-essentials v0.1.0 (https://github.com/linqining/proof-toolbox.git?branch=develop#57622cd2)
[INFO] [stderr]     Checking barnett-smart-card-protocol v0.1.0 (https://github.com/linqining/mental-poker-rust.git?branch=develop#4535b9f2)
[INFO] [stderr]     Checking example_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `barnett_smart_card_protocol::Reveal`
[INFO] [stdout]  --> src/deck/routes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use barnett_smart_card_protocol::Reveal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::stream::Peek`
[INFO] [stdout]  --> src/deck/routes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rocket::futures::stream::Peek;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::service::UserServiceTrait`
[INFO] [stdout]  --> src/deck/routes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::user::service::UserServiceTrait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AffineCurve` and `ProjectiveCurve`
[INFO] [stdout]  --> src/deck/service.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ark_ec::{AffineCurve, ProjectiveCurve};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Options`
[INFO] [stdout]  --> src/deck/service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bincode::Options;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repository::UserDbTrait`
[INFO] [stdout]  --> src/deck/service.rs:7:72
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ComputeAggregateKeyRequest,MaskRequest}}, errors::DeckCustomError, repository::UserDbTrait};
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CryptoRngCore` and `RngCore`
[INFO] [stdout]  --> src/deck/service.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand_core::{CryptoRngCore, RngCore, SeedableRng};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::data::ToByteUnit`
[INFO] [stdout]   --> src/deck/service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::data::ToByteUnit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::TryFutureExt`
[INFO] [stdout]   --> src/deck/service.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rocket::futures::TryFutureExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GenerateDeckRequest`, `GenerateDeckResponse`, `InitialDeck`, and `MaskedCardAndProofDTO as CardDTO`
[INFO] [stdout]   --> src/deck/service.rs:13:106
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...gregateKeyResponse, GenerateDeckRequest, GenerateDeckResponse, InitialDeck, MaskedCardAndProofDTO as CardDTO, ShuffleRequest, Shu...
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CanonicalDeserialize`
[INFO] [stdout]   --> src/deck/service.rs:14:40
[INFO] [stdout]    |
[INFO] [stdout] 14 | use ark_serialize::{CanonicalSerialize,CanonicalDeserialize};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asn1_der::typed::DerEncodable`
[INFO] [stdout]   --> src/deck/service.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use asn1_der::typed::DerEncodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Affine`
[INFO] [stdout]   --> src/deck/service.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | use starknet_curve::{Affine, StarkwareParameters};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `encode_masked_card` and `encode_masking_proof`
[INFO] [stdout]   --> src/deck/service.rs:17:117
[INFO] [stdout]    |
[INFO] [stdout] 17 | ...decode_deck_public_key, decode_masked_card, encode_masked_card, encode_masking_proof, decode_shuffle_proof, encode_shuffle_proof,...
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `el_gamal::ElGamal` and `el_gamal`
[INFO] [stdout]   --> src/deck/service.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     el_gamal, el_gamal::ElGamal, HomomorphicEncryptionScheme,
[INFO] [stdout]    |     ^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::hyper::body::Buf`
[INFO] [stdout]   --> src/deck/service.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rocket::http::hyper::body::Buf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/deck/service.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::service::UserService`
[INFO] [stdout]   --> src/deck/service.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::user::service::UserService;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/deck/service.rs:356:60
[INFO] [stdout]     |
[INFO] [stdout] 356 |             let proof = PedersenProof::new(reveal_token.1);;
[INFO] [stdout]     |                                                            ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_bytes`
[INFO] [stdout]    --> src/deck/service.rs:502:14
[INFO] [stdout]     |
[INFO] [stdout] 502 | use ark_ff::{to_bytes, UniformRand};
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asn1_der::e`
[INFO] [stdout]    --> src/deck/service.rs:503:5
[INFO] [stdout]     |
[INFO] [stdout] 503 | use asn1_der::e;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::vector_commitment::pedersen::PedersenCommitment`
[INFO] [stdout]    --> src/deck/service.rs:504:5
[INFO] [stdout]     |
[INFO] [stdout] 504 | use proof_essentials::vector_commitment::pedersen::PedersenCommitment;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::zkp::arguments::shuffle`
[INFO] [stdout]    --> src/deck/service.rs:505:5
[INFO] [stdout]     |
[INFO] [stdout] 505 | use proof_essentials::zkp::arguments::shuffle;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::ext::IntoCollection`
[INFO] [stdout]    --> src/deck/service.rs:507:5
[INFO] [stdout]     |
[INFO] [stdout] 507 | use rocket::http::ext::IntoCollection;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::errors::CustomError`
[INFO] [stdout]    --> src/deck/service.rs:510:5
[INFO] [stdout]     |
[INFO] [stdout] 510 | use crate::user::errors::CustomError;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::models::user::User`
[INFO] [stdout]    --> src/deck/service.rs:511:5
[INFO] [stdout]     |
[INFO] [stdout] 511 | use crate::user::models::user::User;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::c_void`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_ec::short_weierstrass_jacobian::GroupAffine`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_ec::short_weierstrass_jacobian::GroupAffine;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalDeserialize`, `CanonicalSerialize`, `SWFlags`, and `SerializationError`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ark_serialize::{CanonicalSerialize,CanonicalDeserialize, SWFlags, SerializationError};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::homomorphic_encryption::el_gamal`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use proof_essentials::homomorphic_encryption::el_gamal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::vector_commitment::pedersen`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use proof_essentials::vector_commitment::pedersen;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::deck::models::deck::Deck`
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::deck::models::deck::Deck;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::game_user::models::game_user::GameUser`
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::game_user::models::game_user::GameUser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdentityProof`
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::serialize::proof::{IdentityProof, PedersenProof};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_crypto_primitives::encryption::elgamal::ElGamal`
[INFO] [stdout]  --> src/serialize/serialize.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ark_crypto_primitives::encryption::elgamal::ElGamal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectiveCurve`
[INFO] [stdout]  --> src/serialize/serialize.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ark_ec::{AffineCurve, ProjectiveCurve};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GroupProjective`
[INFO] [stdout]  --> src/serialize/serialize.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ark_ec::short_weierstrass_jacobian::{GroupAffine, GroupProjective};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Affine`
[INFO] [stdout]  --> src/serialize/serialize.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use starknet_curve::{Affine, Fr, StarkwareParameters};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgumentOfKnowledge` and `arguments::shuffle`
[INFO] [stdout]   --> src/serialize/serialize.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     arguments::shuffle,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     proofs::{chaum_pedersen_dl_equality, schnorr_identification},
[INFO] [stdout] 36 |     ArgumentOfKnowledge,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectiveCurve`
[INFO] [stdout]  --> src/serialize/proof.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ark_ec::{AffineCurve, ProjectiveCurve};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalDeserialize`, `CanonicalSerialize`, and `SerializationError`
[INFO] [stdout]  --> src/serialize/proof.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ark_serialize::{CanonicalSerialize, SerializationError,CanonicalDeserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GroupAffine` and `GroupProjective`
[INFO] [stdout]  --> src/serialize/proof.rs:7:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ark_ec::short_weierstrass_jacobian::{GroupAffine, GroupProjective};
[INFO] [stdout]   |                                          ^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::zkp::arguments::shuffle`
[INFO] [stdout]   --> src/serialize/proof.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use proof_essentials::zkp::arguments::shuffle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::deck::errors::DeckCustomError`
[INFO] [stdout]   --> src/game_user/models/game_user.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::deck::errors::DeckCustomError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decode_masked_card`, `decode_masking_proof`, `encode_masked_card`, and `encode_masking_proof`
[INFO] [stdout]   --> src/game_user/models/game_user.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::serialize::serialize::{decode_masked_card, decode_masking_proof, encode_masked_card, encode_masking_proof};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::models::use_case::user::GetUserResponse`
[INFO] [stdout]  --> src/game_user/mem/game_user_mem.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::user::models::use_case::user::GetUserResponse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::models::user::User`
[INFO] [stdout]  --> src/game_user/mem/game_user_mem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::user::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::IntoFuture`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::future::IntoFuture;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user::mem::user_memory::UserMem`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use user::mem::user_memory::UserMem;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::serialize::serialize::decode_proof`, `crate::serialize::serialize::encode_proof`
[INFO] [stdout]    --> src/deck/routes.rs:209:39
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use crate::serialize::serialize::{decode_proof, encode_proof};
[INFO] [stdout]     |                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^ no `encode_proof` in `serialize::serialize`
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       no `decode_proof` in `serialize::serialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::serialize::serialize::decode_proof`, `crate::serialize::serialize::encode_proof`
[INFO] [stdout]    --> src/serialize/serialize.rs:201:39
[INFO] [stdout]     |
[INFO] [stdout] 201 |     use crate::serialize::serialize::{decode_proof, encode_proof};
[INFO] [stdout]     |                                       ^^^^^^^^^^^^  ^^^^^^^^^^^^ no `encode_proof` in `serialize::serialize`
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       no `decode_proof` in `serialize::serialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0637]: `&` without an explicit lifetime name cannot be used here
[INFO] [stdout]   --> src/game_user/repository.rs:17:46
[INFO] [stdout]    |
[INFO] [stdout] 17 |      fn get_by_id(&self, id: &str) -> Result<& GameUser, CustomError>;
[INFO] [stdout]    |                                              ^ explicit lifetime name needed here
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a higher-ranked lifetime here
[INFO] [stdout]    |
[INFO] [stdout] 15 ~ #[cfg_attr(test, for<'a> automock )]
[INFO] [stdout] 16 | pub trait GameUserMemTrait: Sync + Send {
[INFO] [stdout] 17 ~      fn get_by_id(&self, id: &str) -> Result<&'a  GameUser, CustomError>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `barnett_smart_card_protocol::Reveal`
[INFO] [stdout]  --> src/deck/routes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use barnett_smart_card_protocol::Reveal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::stream::Peek`
[INFO] [stdout]  --> src/deck/routes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rocket::futures::stream::Peek;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::service::UserServiceTrait`
[INFO] [stdout]  --> src/deck/routes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::user::service::UserServiceTrait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AffineCurve` and `ProjectiveCurve`
[INFO] [stdout]  --> src/deck/service.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ark_ec::{AffineCurve, ProjectiveCurve};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Options`
[INFO] [stdout]  --> src/deck/service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bincode::Options;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `repository::UserDbTrait`
[INFO] [stdout]  --> src/deck/service.rs:7:72
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ComputeAggregateKeyRequest,MaskRequest}}, errors::DeckCustomError, repository::UserDbTrait};
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CryptoRngCore` and `RngCore`
[INFO] [stdout]  --> src/deck/service.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand_core::{CryptoRngCore, RngCore, SeedableRng};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::data::ToByteUnit`
[INFO] [stdout]   --> src/deck/service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rocket::data::ToByteUnit;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::futures::TryFutureExt`
[INFO] [stdout]   --> src/deck/service.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rocket::futures::TryFutureExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GenerateDeckRequest`, `GenerateDeckResponse`, `InitialDeck`, and `MaskedCardAndProofDTO as CardDTO`
[INFO] [stdout]   --> src/deck/service.rs:13:106
[INFO] [stdout]    |
[INFO] [stdout] 13 | ...gregateKeyResponse, GenerateDeckRequest, GenerateDeckResponse, InitialDeck, MaskedCardAndProofDTO as CardDTO, ShuffleRequest, Shu...
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CanonicalDeserialize`
[INFO] [stdout]   --> src/deck/service.rs:14:40
[INFO] [stdout]    |
[INFO] [stdout] 14 | use ark_serialize::{CanonicalSerialize,CanonicalDeserialize};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asn1_der::typed::DerEncodable`
[INFO] [stdout]   --> src/deck/service.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use asn1_der::typed::DerEncodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Affine`
[INFO] [stdout]   --> src/deck/service.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | use starknet_curve::{Affine, StarkwareParameters};
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `encode_masked_card` and `encode_masking_proof`
[INFO] [stdout]   --> src/deck/service.rs:17:117
[INFO] [stdout]    |
[INFO] [stdout] 17 | ...decode_deck_public_key, decode_masked_card, encode_masked_card, encode_masking_proof, decode_shuffle_proof, encode_shuffle_proof,...
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `el_gamal::ElGamal` and `el_gamal`
[INFO] [stdout]   --> src/deck/service.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     el_gamal, el_gamal::ElGamal, HomomorphicEncryptionScheme,
[INFO] [stdout]    |     ^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::hyper::body::Buf`
[INFO] [stdout]   --> src/deck/service.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rocket::http::hyper::body::Buf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/deck/service.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::service::UserService`
[INFO] [stdout]   --> src/deck/service.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::user::service::UserService;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/deck/service.rs:356:60
[INFO] [stdout]     |
[INFO] [stdout] 356 |             let proof = PedersenProof::new(reveal_token.1);;
[INFO] [stdout]     |                                                            ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_bytes`
[INFO] [stdout]    --> src/deck/service.rs:502:14
[INFO] [stdout]     |
[INFO] [stdout] 502 | use ark_ff::{to_bytes, UniformRand};
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `asn1_der::e`
[INFO] [stdout]    --> src/deck/service.rs:503:5
[INFO] [stdout]     |
[INFO] [stdout] 503 | use asn1_der::e;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::vector_commitment::pedersen::PedersenCommitment`
[INFO] [stdout]    --> src/deck/service.rs:504:5
[INFO] [stdout]     |
[INFO] [stdout] 504 | use proof_essentials::vector_commitment::pedersen::PedersenCommitment;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::zkp::arguments::shuffle`
[INFO] [stdout]    --> src/deck/service.rs:505:5
[INFO] [stdout]     |
[INFO] [stdout] 505 | use proof_essentials::zkp::arguments::shuffle;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::ext::IntoCollection`
[INFO] [stdout]    --> src/deck/service.rs:507:5
[INFO] [stdout]     |
[INFO] [stdout] 507 | use rocket::http::ext::IntoCollection;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::errors::CustomError`
[INFO] [stdout]    --> src/deck/service.rs:510:5
[INFO] [stdout]     |
[INFO] [stdout] 510 | use crate::user::errors::CustomError;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::models::user::User`
[INFO] [stdout]    --> src/deck/service.rs:511:5
[INFO] [stdout]     |
[INFO] [stdout] 511 | use crate::user::models::user::User;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::c_void`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `Write`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_ec::short_weierstrass_jacobian::GroupAffine`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ark_ec::short_weierstrass_jacobian::GroupAffine;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalDeserialize`, `CanonicalSerialize`, `SWFlags`, and `SerializationError`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ark_serialize::{CanonicalSerialize,CanonicalDeserialize, SWFlags, SerializationError};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::homomorphic_encryption::el_gamal`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use proof_essentials::homomorphic_encryption::el_gamal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::vector_commitment::pedersen`
[INFO] [stdout]  --> src/deck/models/deck_case/deck.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use proof_essentials::vector_commitment::pedersen;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::deck::models::deck::Deck`
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::deck::models::deck::Deck;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::game_user::models::game_user::GameUser`
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::game_user::models::game_user::GameUser;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdentityProof`
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::serialize::proof::{IdentityProof, PedersenProof};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_crypto_primitives::encryption::elgamal::ElGamal`
[INFO] [stdout]  --> src/serialize/serialize.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ark_crypto_primitives::encryption::elgamal::ElGamal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectiveCurve`
[INFO] [stdout]  --> src/serialize/serialize.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ark_ec::{AffineCurve, ProjectiveCurve};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GroupProjective`
[INFO] [stdout]  --> src/serialize/serialize.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ark_ec::short_weierstrass_jacobian::{GroupAffine, GroupProjective};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Affine`
[INFO] [stdout]  --> src/serialize/serialize.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use starknet_curve::{Affine, Fr, StarkwareParameters};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgumentOfKnowledge` and `arguments::shuffle`
[INFO] [stdout]   --> src/serialize/serialize.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     arguments::shuffle,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     proofs::{chaum_pedersen_dl_equality, schnorr_identification},
[INFO] [stdout] 36 |     ArgumentOfKnowledge,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::Status`
[INFO] [stdout]    --> src/serialize/serialize.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 |     use rocket::http::Status;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProjectiveCurve`
[INFO] [stdout]  --> src/serialize/proof.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ark_ec::{AffineCurve, ProjectiveCurve};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CanonicalDeserialize`, `CanonicalSerialize`, and `SerializationError`
[INFO] [stdout]  --> src/serialize/proof.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ark_serialize::{CanonicalSerialize, SerializationError,CanonicalDeserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GroupAffine` and `GroupProjective`
[INFO] [stdout]  --> src/serialize/proof.rs:7:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ark_ec::short_weierstrass_jacobian::{GroupAffine, GroupProjective};
[INFO] [stdout]   |                                          ^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `proof_essentials::zkp::arguments::shuffle`
[INFO] [stdout]   --> src/serialize/proof.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use proof_essentials::zkp::arguments::shuffle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::deck::errors::DeckCustomError`
[INFO] [stdout]   --> src/game_user/models/game_user.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::deck::errors::DeckCustomError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decode_masked_card`, `decode_masking_proof`, `encode_masked_card`, and `encode_masking_proof`
[INFO] [stdout]   --> src/game_user/models/game_user.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::serialize::serialize::{decode_masked_card, decode_masking_proof, encode_masked_card, encode_masking_proof};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::models::use_case::user::GetUserResponse`
[INFO] [stdout]  --> src/game_user/mem/game_user_mem.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::user::models::use_case::user::GetUserResponse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::user::models::user::User`
[INFO] [stdout]  --> src/game_user/mem/game_user_mem.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::user::models::user::User;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::IntoFuture`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::future::IntoFuture;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user::mem::user_memory::UserMem`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use user::mem::user_memory::UserMem;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::yansi::Paint`
[INFO] [stdout]  --> src/user/mem/user_memory.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rocket::yansi::Paint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::yansi::Paint`
[INFO] [stdout]   --> src/deck/service.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rocket::yansi::Paint;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HomomorphicEncryptionScheme`
[INFO] [stdout]   --> src/deck/service.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |     el_gamal, el_gamal::ElGamal, HomomorphicEncryptionScheme,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Options`
[INFO] [stdout]  --> src/serialize/serialize.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bincode::Options;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_serialize::Write`
[INFO] [stdout]  --> src/serialize/proof.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ark_serialize::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_serialize::Read`
[INFO] [stdout]  --> src/serialize/proof.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ark_serialize::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verify_shuffle_response`
[INFO] [stdout]    --> src/deck/routes.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let verify_shuffle_response = match verify_shuffle_response {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_shuffle_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_db`
[INFO] [stdout]   --> src/deck/service.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn new(user_db: Box<dyn GameUserMemTrait>) -> Self {
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/deck/service.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut  rng = ChaCha20Rng::from_entropy();
[INFO] [stdout]    |             -----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_deck`
[INFO] [stdout]   --> src/deck/service.rs:84:33
[INFO] [stdout]    |
[INFO] [stdout] 84 |     async fn initial_deck(&self,initial_deck: InitialDeckRequest)->Result<InitialDeckResponse, DeckCustomError>{
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/deck/service.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |             if let Err(e) = card.0.serialize_uncompressed(&mut encoded_card){
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/deck/service.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 Err(e) => return Err(DeckCustomError::GenericError(String::from("Internal")))
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/deck/service.rs:190:25
[INFO] [stdout]     |
[INFO] [stdout] 190 | ...   if  let Err(e) = CardProtocol::verify_key_ownership(&parameters,&public_key,&player.game_user_id.clone().into_bytes(),&key_pr...
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `open_cards_request`
[INFO] [stdout]    --> src/deck/service.rs:485:31
[INFO] [stdout]     |
[INFO] [stdout] 485 |     async fn open_cards(&self,open_cards_request: OpenCardsRequest)->Result<OpenCardsResponse, DeckCustomError>{
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_cards_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/serialize/serialize.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |        Err(e)=> return Err(DeckCustomError::InvalidCard),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/serialize/serialize.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         Err(err)    => return Err(DeckCustomError::InvalidCard)
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/serialize/serialize.rs:124:16
[INFO] [stdout]     |
[INFO] [stdout] 124 |     if let Err(e) =  token.serialize(&mut bytes){
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::yansi::Paint`
[INFO] [stdout]  --> src/user/mem/user_memory.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rocket::yansi::Paint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::yansi::Paint`
[INFO] [stdout]   --> src/deck/service.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rocket::yansi::Paint;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HomomorphicEncryptionScheme`
[INFO] [stdout]   --> src/deck/service.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |     el_gamal, el_gamal::ElGamal, HomomorphicEncryptionScheme,
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode::Options`
[INFO] [stdout]  --> src/serialize/serialize.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bincode::Options;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_serialize::Write`
[INFO] [stdout]  --> src/serialize/proof.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ark_serialize::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ark_serialize::Read`
[INFO] [stdout]  --> src/serialize/proof.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ark_serialize::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verify_shuffle_response`
[INFO] [stdout]    --> src/deck/routes.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let verify_shuffle_response = match verify_shuffle_response {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verify_shuffle_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_db`
[INFO] [stdout]   --> src/deck/service.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn new(user_db: Box<dyn GameUserMemTrait>) -> Self {
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/deck/service.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut  rng = ChaCha20Rng::from_entropy();
[INFO] [stdout]    |             -----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_deck`
[INFO] [stdout]   --> src/deck/service.rs:84:33
[INFO] [stdout]    |
[INFO] [stdout] 84 |     async fn initial_deck(&self,initial_deck: InitialDeckRequest)->Result<InitialDeckResponse, DeckCustomError>{
[INFO] [stdout]    |                                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/deck/service.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |             if let Err(e) = card.0.serialize_uncompressed(&mut encoded_card){
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/deck/service.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 Err(e) => return Err(DeckCustomError::GenericError(String::from("Internal")))
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/deck/service.rs:190:25
[INFO] [stdout]     |
[INFO] [stdout] 190 | ...   if  let Err(e) = CardProtocol::verify_key_ownership(&parameters,&public_key,&player.game_user_id.clone().into_bytes(),&key_pr...
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `open_cards_request`
[INFO] [stdout]    --> src/deck/service.rs:485:31
[INFO] [stdout]     |
[INFO] [stdout] 485 |     async fn open_cards(&self,open_cards_request: OpenCardsRequest)->Result<OpenCardsResponse, DeckCustomError>{
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_cards_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/serialize/serialize.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |        Err(e)=> return Err(DeckCustomError::InvalidCard),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/serialize/serialize.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         Err(err)    => return Err(DeckCustomError::InvalidCard)
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/serialize/serialize.rs:124:16
[INFO] [stdout]     |
[INFO] [stdout] 124 |     if let Err(e) =  token.serialize(&mut bytes){
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/game_user/repository.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[cfg_attr(test, automock )]
[INFO] [stdout]    |                  -^^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  let's call the lifetime of this reference `'2`
[INFO] [stdout]    |                  method was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1`
[INFO] [stdout] 16 | pub trait GameUserMemTrait: Sync + Send {
[INFO] [stdout] 17 |      fn get_by_id(&self, id: &str) -> Result<& GameUser, CustomError>;
[INFO] [stdout]    |                              - let's call the lifetime of this reference `'1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `automock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider introducing a named lifetime parameter and update trait if needed
[INFO] [stdout]    |
[INFO] [stdout] 15 ~ #[cfg_attr(test, automock<'a> )]
[INFO] [stdout] 16 | pub trait GameUserMemTrait: Sync + Send {
[INFO] [stdout] 17 ~      fn get_by_id(&self, id: &'a str) -> Result<&'a  GameUser, CustomError>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to temporary value
[INFO] [stdout]   --> src/game_user/repository.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[cfg_attr(test, automock )]
[INFO] [stdout]    |                  ^^^^^^^^ returns a reference to data owned by the current function
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `automock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_repo`
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let user_repo = Box::new(mongo_repo);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_repo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MaskedCard` is never used
[INFO] [stdout]   --> src/deck/service.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | type MaskedCard = barnett_smart_card_protocol::discrete_log_cards::MaskedCard<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealToken` is never used
[INFO] [stdout]   --> src/deck/service.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | type RevealToken = barnett_smart_card_protocol::discrete_log_cards::RevealToken<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ProofKeyOwnership` is never used
[INFO] [stdout]   --> src/deck/service.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 | type ProofKeyOwnership = schnorr_identification::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RemaskingProof` is never used
[INFO] [stdout]   --> src/deck/service.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 | type RemaskingProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealProof` is never used
[INFO] [stdout]   --> src/deck/service.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 40 | type RevealProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ZKProof` is never used
[INFO] [stdout]   --> src/deck/service.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | type ZKProof = schnorr_identification::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reveal_cards` and `open_cards` are never used
[INFO] [stdout]   --> src/deck/service.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub trait DeckServiceTrait: Send + Sync {
[INFO] [stdout]    |           ---------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 75 |     async fn reveal_cards(&self,reveal_cards_request:  RevealCardsRequest)->Result<RevealCardsResponse, DeckCustomError>;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     async fn open_cards(&self,open_cards_request: OpenCardsRequest)->Result<OpenCardsResponse, DeckCustomError>;
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UserDbTrait` is never used
[INFO] [stdout]   --> src/deck/repository.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait UserDbTrait: Sync + Send {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CardProtocol` is never used
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | type CardProtocol = barnett_smart_card_protocol::discrete_log_cards::DLCards<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ProofKeyOwnership` is never used
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | type ProofKeyOwnership = schnorr_identification::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealProof` is never used
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type RevealProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealToken` is never used
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | type RevealToken = barnett_smart_card_protocol::discrete_log_cards::RevealToken<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Card` is never used
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:30:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | type Card = barnett_smart_card_protocol::discrete_log_cards::Card<Curve>;
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Parameters` is never used
[INFO] [stdout]   --> src/deck/models/deck_case/deck.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | type Parameters = <DLCards<ark_ec::short_weierstrass_jacobian::GroupProjective<StarkwareParameters>> as BarnettSmartProtocol>::Param...
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GenerateDeckRequest` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub struct GenerateDeckRequest{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitCardAndProofDTO` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct InitCardAndProofDTO {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitialDeck` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct InitialDeck {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `into_masked_card` are never used
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl InitialDeck {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 150 |     pub fn new(deck_and_proofs :Vec<(MaskedCard, RemaskingProof)> )->Result<Self,DeckCustomError>{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn into_masked_card(&self)-> Result<Vec<(MaskedCard, RemaskingProof)>,DeckCustomError>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_masked_card` is never used
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:201:12
[INFO] [stdout]     |
[INFO] [stdout] 187 | impl ShuffledDeck {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn into_masked_card(&self)-> Result<Vec<MaskedCard>,DeckCustomError>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenedCards` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct OpenedCards {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GenerateDeckResponse` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub struct GenerateDeckResponse{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RevealCardsRequest` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub struct RevealCardsRequest{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RevealCardsResponse` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:257:12
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub struct RevealCardsResponse{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenCardsRequest` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub struct OpenCardsRequest{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpenCardsResponse` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:286:12
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub struct OpenCardsResponse{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RevealedDeck` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:291:12
[INFO] [stdout]     |
[INFO] [stdout] 291 | pub struct RevealedDeck {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RevealedCardAndProofDTO` is never constructed
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:296:12
[INFO] [stdout]     |
[INFO] [stdout] 296 | pub struct RevealedCardAndProofDTO {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `into_masked_card` are never used
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:303:12
[INFO] [stdout]     |
[INFO] [stdout] 302 | impl RevealedDeck {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 303 |     pub fn new(deck_and_proofs :Vec<(MaskedCard,RevealToken, RevealProof)> )->Result<Self,DeckCustomError>{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |     pub fn into_masked_card(&self)-> Result<Vec<(RevealToken, RevealProof)>,DeckCustomError>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_masked_card` is never used
[INFO] [stdout]    --> src/deck/models/deck_case/deck.rs:402:12
[INFO] [stdout]     |
[INFO] [stdout] 383 | impl MaskDeck {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 402 |     pub fn into_masked_card(&self)-> Result<Vec<(MaskedCard, RemaskingProof)>,DeckCustomError>{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Deck` is never constructed
[INFO] [stdout]  --> src/deck/models/deck.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Deck {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CardProtocol` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type CardProtocol = barnett_smart_card_protocol::discrete_log_cards::DLCards<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ProofKeyOwnership` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | type ProofKeyOwnership = schnorr_identification::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RemaskingProof` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | type RemaskingProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealProof` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type RevealProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ZKProofKeyOwnership` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type ZKProofKeyOwnership = schnorr_identification::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Parameters` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type Parameters = <DLCards<ark_ec::short_weierstrass_jacobian::GroupProjective<StarkwareParameters>> as BarnettSmartProtocol>::Param...
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PrivateKey` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | type PrivateKey = <ark_ec::short_weierstrass_jacobian::GroupAffine<StarkwareParameters> as AffineCurve>::ScalarField;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_masking_proof` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn encode_masking_proof(proof: RemaskingProof)->Result<String, DeckCustomError>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_masking_proof` is never used
[INFO] [stdout]   --> src/serialize/serialize.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn decode_masking_proof(proof_hex: String) ->Result<RemaskingProof, ark_serialize::SerializationError>{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_revel_proof` is never used
[INFO] [stdout]    --> src/serialize/serialize.rs:142:8
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub fn encode_revel_proof(proof :RevealProof)->Result<String, DeckCustomError>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_revel_proof` is never used
[INFO] [stdout]    --> src/serialize/serialize.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn decode_revel_proof(proof_hex :String)->Result<RevealProof, DeckCustomError>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Affine` is never used
[INFO] [stdout]   --> src/serialize/proof.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Affine = starknet_curve::Affine;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CardProtocol` is never used
[INFO] [stdout]   --> src/game_user/models/game_user.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type CardProtocol = barnett_smart_card_protocol::discrete_log_cards::DLCards<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ProofKeyOwnership` is never used
[INFO] [stdout]   --> src/game_user/models/game_user.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type ProofKeyOwnership = schnorr_identification::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RemaskingProof` is never used
[INFO] [stdout]   --> src/game_user/models/game_user.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type RemaskingProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealProof` is never used
[INFO] [stdout]   --> src/game_user/models/game_user.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type RevealProof = chaum_pedersen_dl_equality::proof::Proof<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RevealToken` is never used
[INFO] [stdout]   --> src/game_user/models/game_user.rs:20:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | type RevealToken = barnett_smart_card_protocol::discrete_log_cards::RevealToken<Curve>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `game_user_id`, `user_id`, and `cards` are never read
[INFO] [stdout]   --> src/game_user/models/game_user.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct GameUser {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 24 |     pub game_user_id:String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub user_id: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub cards: Vec<MaskedCard>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `store` is never read
[INFO] [stdout]  --> src/game_user/mem/game_user_mem.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GameUserMem {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 9 |     store: HashMap<String, GameUser>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_by_id`, `create`, and `delete` are never used
[INFO] [stdout]   --> src/game_user/repository.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait GameUserMemTrait: Sync + Send {
[INFO] [stdout]    |           ---------------- methods in this trait
[INFO] [stdout] 17 |      fn get_by_id(&self, id: &str) -> Result<& GameUser, CustomError>;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 18 |      fn create(&mut self, game_user: GameUser) -> Result<String, CustomError>;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 19 |      fn delete(&mut self, id: &str) -> Result<(), CustomError>;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_repo`
[INFO] [stdout]   --> src/main.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let user_repo = Box::new(mongo_repo);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_repo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0515, E0637.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `example_api` (bin "example_api" test) due to 5 previous errors; 69 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7698ca7f6db33f1bbce78ee26e25f3486df3c0f8c568ed3b230df16ef9162d57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7698ca7f6db33f1bbce78ee26e25f3486df3c0f8c568ed3b230df16ef9162d57", kill_on_drop: false }`
[INFO] [stdout] 7698ca7f6db33f1bbce78ee26e25f3486df3c0f8c568ed3b230df16ef9162d57
