[INFO] cloning repository https://github.com/IhitplayzYT/XnkRs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IhitplayzYT/XnkRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIhitplayzYT%2FXnkRs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIhitplayzYT%2FXnkRs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e15513c887d61eff9f99b176b229bab18d587fd [INFO] checking IhitplayzYT/XnkRs against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIhitplayzYT%2FXnkRs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IhitplayzYT/XnkRs [INFO] finished tweaking git repo https://github.com/IhitplayzYT/XnkRs [INFO] tweaked toml for git repo https://github.com/IhitplayzYT/XnkRs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IhitplayzYT/XnkRs on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IhitplayzYT/XnkRs 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: `XnkRs` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f [INFO] running `Command { std: "docker" "start" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] warning: `XnkRs` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.26 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.190 [INFO] [stderr] Checking cfg-if v1.0.5 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.16.2 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking zeroize v1.9.1 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling aws-lc-rs v1.18.1 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking writeable v0.6.4 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking want v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustls v0.23.45 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking base64 v0.23.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking ipnet v2.12.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Checking bitflags v2.13.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking webpki-roots v1.0.9 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling zerocopy v0.8.62 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.42 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Compiling multiversion_no_op v1.0.0 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking core_detect v1.0.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking mio v1.2.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling cc v1.6.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking uuid v1.27.0 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.11.1 [INFO] [stderr] Compiling quick-xml v0.41.0 [INFO] [stderr] Compiling proc-macro-error-attr3 v3.1.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling either v1.19.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking rustls-native-certs v0.8.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking oncemutex v0.1.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking sha1 v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling aws-lc-sys v0.45.0 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking regex-cache v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling prost-derive v0.14.4 [INFO] [stderr] Compiling supabase-client-derive v0.1.0 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Compiling proc-macro-error3 v3.1.1 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.4 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Checking prost v0.14.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tokio v1.53.2 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking zerovec v0.11.8 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling validator_derive v0.20.1 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking postcard v1.1.3 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling phonenumber v0.3.10+9.0.33 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking h2 v0.4.20 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking hyper v1.12.0 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Checking hyper-util v0.1.21 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.6 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking rustls-platform-verifier v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.27.10 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking reqwest v0.13.5 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking supabase-client-core v0.1.0 [INFO] [stderr] Checking supabase-client-storage v0.1.0 [INFO] [stderr] Checking supabase-client-query v0.1.0 [INFO] [stderr] Checking supabase-client-auth v0.1.0 [INFO] [stderr] Checking supabase-client-realtime v0.1.0 [INFO] [stderr] Checking tonic v0.14.6 [INFO] [stderr] Checking supabase-client-sdk v0.1.0 [INFO] [stderr] Checking XnkRs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Product_t` should have an upper camel case name [INFO] [stdout] --> src/backend/entities.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | pub enum Product_t{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ProductT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Customer_t` should have an upper camel case name [INFO] [stdout] --> src/backend/entities.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Customer_t{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomerT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Account_T` should have an upper camel case name [INFO] [stdout] --> src/backend/entities.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum Account_T{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AccountT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Product_t` should have an upper camel case name [INFO] [stdout] --> src/backend/entities.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | pub enum Product_t{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ProductT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Customer_t` should have an upper camel case name [INFO] [stdout] --> src/backend/entities.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Customer_t{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CustomerT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Account_T` should have an upper camel case name [INFO] [stdout] --> src/backend/entities.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum Account_T{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `AccountT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR` is never used [INFO] [stdout] --> src/helper.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | const ERR:i32 = -1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BackendErrors` is never used [INFO] [stdout] --> src/backend/errors.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum BackendErrors{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/backend/entities.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/backend/entities.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 16 | impl User{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(email:String,phone: String,is_customer: bool) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_id(&self) -> Uuid{ self.id} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | // Id Setter [INFO] [stdout] 33 | pub fn set_id(&mut self,id: Uuid){ self.id = id; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | // Regenrate Id [INFO] [stdout] 35 | pub fn new_id(&mut self,is_customer: bool){ self.id = if !is_customer {Uuid::now_v7()} else{Uuid::new_v4()};} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_email(&self) -> String {self.email.clone()} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | // Email Setter [INFO] [stdout] 40 | pub fn set_email(&mut self,email:String) {self.email = email;} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_phone_no(&self) -> String {self.phone.clone()} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | // Phone Setter [INFO] [stdout] 45 | pub fn set_phone_no(&mut self,phone:String) {self.phone = phone;} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Audit` is never constructed [INFO] [stdout] --> src/backend/entities.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Audit{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 62 | impl Audit{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 63 | /// Create new Audit struct [INFO] [stdout] 64 | pub fn new(uid: Uuid,ldbid: Uuid,ws_id:Uuid) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/backend/entities.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Role{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserMetaData` is never constructed [INFO] [stdout] --> src/backend/entities.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct UserMetaData{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/backend/entities.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Customer{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/backend/entities.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 98 | impl Customer{ [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn new(email:String,phone: String,is_customer: bool,ldbid: Option,ws_id: Option,money: Money) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn new_from(user: User,user_metadata: UserMetaData,audit_fields: Audit,customer_type: Customer_t,balance:AccountBalance... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_phone_no_v2` is never used [INFO] [stdout] --> src/backend/entities.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn validate_phone_no_v2(phone: &str) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_phone_no_v1` is never used [INFO] [stdout] --> src/backend/entities.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn validate_phone_no_v1(phone: &str) -> Result<(),ValidationError>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Relationship` is never constructed [INFO] [stdout] --> src/backend/entities.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Relationship{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 165 | impl Relationship{ [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 166 | // Make a new Relationship [INFO] [stdout] 167 | pub fn new(relate: Relate) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relate` is never used [INFO] [stdout] --> src/backend/entities.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum Relate{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/backend/entities.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Product{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 194 | impl Product{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn new(product_category_id: Uuid,name: String,desc:String,product_type: Product_t) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Product_t` is never used [INFO] [stdout] --> src/backend/entities.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | pub enum Product_t{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Customer_t` is never used [INFO] [stdout] --> src/backend/entities.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Customer_t{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Account` is never constructed [INFO] [stdout] --> src/backend/entities.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct Account{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Account_T` is never used [INFO] [stdout] --> src/backend/entities.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum Account_T{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProductConfig` is never used [INFO] [stdout] --> src/backend/entities.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | pub enum ProductConfig{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountBalance` is never constructed [INFO] [stdout] --> src/backend/entities.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct AccountBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 261 | impl AccountBalance{ [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 262 | pub fn new(curr: Option) -> AccountBalance{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Currency` is never used [INFO] [stdout] --> src/backend/entities.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | pub enum Currency { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Money` is never constructed [INFO] [stdout] --> src/backend/entities.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Money { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 289 | impl Money{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 290 | pub fn new(units: i64,currency: Currency) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loan` is never constructed [INFO] [stdout] --> src/backend/entities.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Loan{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `pay_emi` are never used [INFO] [stdout] --> src/backend/entities.rs:318:16 [INFO] [stdout] | [INFO] [stdout] 317 | impl Loan{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 318 | pub fn new(customer_id: Uuid, config: &ProductConfig) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn pay_emi(&mut self, payment: Money) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LoanStatus` is never used [INFO] [stdout] --> src/backend/entities.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | pub enum LoanStatus{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FD` is never constructed [INFO] [stdout] --> src/backend/entities.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct FD{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mature`, and `withdraw` are never used [INFO] [stdout] --> src/backend/entities.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 365 | impl FD{ [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 366 | pub fn new(customer_id: Uuid, config: &ProductConfig, auto_renew: bool) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn mature(&mut self){ self.status = FDStatus::Matured; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 378 | [INFO] [stdout] 379 | pub fn withdraw(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FDStatus` is never used [INFO] [stdout] --> src/backend/entities.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | pub enum FDStatus{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Forex` is never constructed [INFO] [stdout] --> src/backend/entities.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct Forex{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `complete`, and `cancel` are never used [INFO] [stdout] --> src/backend/entities.rs:413:16 [INFO] [stdout] | [INFO] [stdout] 412 | impl Forex{ [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 413 | pub fn new(customer_id: Uuid, config: &ProductConfig, exchange_rate: f64) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn complete(&mut self){ self.status = ForexStatus::Completed; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 422 | pub fn cancel(&mut self){ self.status = ForexStatus::Cancelled; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ForexStatus` is never used [INFO] [stdout] --> src/backend/entities.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | pub enum ForexStatus{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UrlGetter` is never constructed [INFO] [stdout] --> src/backend/endpoints.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UrlGetter{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `normalize` are never used [INFO] [stdout] --> src/backend/endpoints.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | impl UrlGetter{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(version: Option) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn normalize(&self,url: &str) -> String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGIN` is never used [INFO] [stdout] --> src/backend/endpoints.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LOGIN: &str = "/login"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGOUT` is never used [INFO] [stdout] --> src/backend/endpoints.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LOGOUT: &str = "/logout"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGNUP` is never used [INFO] [stdout] --> src/backend/endpoints.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SIGNUP: &str = "/signup"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORGOT_PASS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FORGOT_PASS: &str = "/reset"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_TOKEN` is never used [INFO] [stdout] --> src/backend/endpoints.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub const REFRESH_TOKEN: &str = "/refresh"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERIFY_SESSION` is never used [INFO] [stdout] --> src/backend/endpoints.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub const VERIFY_SESSION: &str = "/verify"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REVOKE_SESSION` is never used [INFO] [stdout] --> src/backend/endpoints.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub const REVOKE_SESSION: &str = "/revoke"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE` is never used [INFO] [stdout] --> src/backend/endpoints.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub const PROFILE: &str = "/profile"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPDATE_PROFILE` is never used [INFO] [stdout] --> src/backend/endpoints.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub const UPDATE_PROFILE: &str = "/profile/update"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHANGE_PASSWORD` is never used [INFO] [stdout] --> src/backend/endpoints.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | pub const CHANGE_PASSWORD: &str = "/change-password"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERIFY_2FA` is never used [INFO] [stdout] --> src/backend/endpoints.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const VERIFY_2FA: &str = "/verify-2fa"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENABLE_2FA` is never used [INFO] [stdout] --> src/backend/endpoints.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub const ENABLE_2FA: &str = "/enable-2fa"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISABLE_2FA` is never used [INFO] [stdout] --> src/backend/endpoints.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const DISABLE_2FA: &str = "/disable-2fa"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOME` is never used [INFO] [stdout] --> src/backend/endpoints.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const HOME: &str = "/home"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETTINGS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub const SETTINGS: &str = "/settings"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETTINGS_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const SETTINGS_ENDPOINTS: &[&str] = &["/name","/dob","/address","/pfp","/maritial_status","/gender","/email","/phone_no"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PRODUCTS:&[&str] = &["/product/loans","product/fixed_deposits","product/accounts","product/forex"]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOANS_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | pub const LOANS_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/custom_plan","/purchase","/track{id}","/get_all","/emi","... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FD_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub const FD_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/calculator","/custom_plan","/purchase","/track{id}","/get_al... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCOUNTS_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | pub const ACCOUNTS_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/buy","/deactivate","/activate","/update_details"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOREX_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub const FOREX_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/calculator","/purchase","/track{id}","/get_all"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Helper` should have a snake case name [INFO] [stdout] --> src/helper.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Helper{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Help` should have a snake case name [INFO] [stdout] --> src/helper.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn Help(){ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Parse_Args` should have a snake case name [INFO] [stdout] --> src/helper.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn Parse_Args(&mut self){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Error` should have a snake case name [INFO] [stdout] --> src/backend/errors.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Error{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Entities` should have a snake case name [INFO] [stdout] --> src/backend/entities.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Entities{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Endpoints` should have a snake case name [INFO] [stdout] --> src/backend/endpoints.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Endpoints{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `endpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Dto` should have a snake case name [INFO] [stdout] --> src/backend/dto.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Dto{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `dto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ERR` is never used [INFO] [stdout] --> src/helper.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | const ERR:i32 = -1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BackendErrors` is never used [INFO] [stdout] --> src/backend/errors.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum BackendErrors{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/backend/entities.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct User{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/backend/entities.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 16 | impl User{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new(email:String,phone: String,is_customer: bool) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_id(&self) -> Uuid{ self.id} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | // Id Setter [INFO] [stdout] 33 | pub fn set_id(&mut self,id: Uuid){ self.id = id; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | // Regenrate Id [INFO] [stdout] 35 | pub fn new_id(&mut self,is_customer: bool){ self.id = if !is_customer {Uuid::now_v7()} else{Uuid::new_v4()};} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_email(&self) -> String {self.email.clone()} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | // Email Setter [INFO] [stdout] 40 | pub fn set_email(&mut self,email:String) {self.email = email;} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_phone_no(&self) -> String {self.phone.clone()} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | // Phone Setter [INFO] [stdout] 45 | pub fn set_phone_no(&mut self,phone:String) {self.phone = phone;} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Audit` is never constructed [INFO] [stdout] --> src/backend/entities.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Audit{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 62 | impl Audit{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 63 | /// Create new Audit struct [INFO] [stdout] 64 | pub fn new(uid: Uuid,ldbid: Uuid,ws_id:Uuid) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/backend/entities.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Role{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserMetaData` is never constructed [INFO] [stdout] --> src/backend/entities.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct UserMetaData{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Customer` is never constructed [INFO] [stdout] --> src/backend/entities.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Customer{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from` are never used [INFO] [stdout] --> src/backend/entities.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 98 | impl Customer{ [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn new(email:String,phone: String,is_customer: bool,ldbid: Option,ws_id: Option,money: Money) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn new_from(user: User,user_metadata: UserMetaData,audit_fields: Audit,customer_type: Customer_t,balance:AccountBalance... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_phone_no_v2` is never used [INFO] [stdout] --> src/backend/entities.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn validate_phone_no_v2(phone: &str) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_phone_no_v1` is never used [INFO] [stdout] --> src/backend/entities.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn validate_phone_no_v1(phone: &str) -> Result<(),ValidationError>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Relationship` is never constructed [INFO] [stdout] --> src/backend/entities.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Relationship{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 165 | impl Relationship{ [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 166 | // Make a new Relationship [INFO] [stdout] 167 | pub fn new(relate: Relate) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Relate` is never used [INFO] [stdout] --> src/backend/entities.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum Relate{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/backend/entities.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Product{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 194 | impl Product{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn new(product_category_id: Uuid,name: String,desc:String,product_type: Product_t) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Product_t` is never used [INFO] [stdout] --> src/backend/entities.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | pub enum Product_t{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Customer_t` is never used [INFO] [stdout] --> src/backend/entities.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum Customer_t{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Account` is never constructed [INFO] [stdout] --> src/backend/entities.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct Account{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Account_T` is never used [INFO] [stdout] --> src/backend/entities.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum Account_T{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProductConfig` is never used [INFO] [stdout] --> src/backend/entities.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | pub enum ProductConfig{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountBalance` is never constructed [INFO] [stdout] --> src/backend/entities.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct AccountBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 261 | impl AccountBalance{ [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 262 | pub fn new(curr: Option) -> AccountBalance{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Currency` is never used [INFO] [stdout] --> src/backend/entities.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | pub enum Currency { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Money` is never constructed [INFO] [stdout] --> src/backend/entities.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct Money { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/entities.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 289 | impl Money{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 290 | pub fn new(units: i64,currency: Currency) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loan` is never constructed [INFO] [stdout] --> src/backend/entities.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct Loan{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `pay_emi` are never used [INFO] [stdout] --> src/backend/entities.rs:318:16 [INFO] [stdout] | [INFO] [stdout] 317 | impl Loan{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 318 | pub fn new(customer_id: Uuid, config: &ProductConfig) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn pay_emi(&mut self, payment: Money) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LoanStatus` is never used [INFO] [stdout] --> src/backend/entities.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | pub enum LoanStatus{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FD` is never constructed [INFO] [stdout] --> src/backend/entities.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct FD{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mature`, and `withdraw` are never used [INFO] [stdout] --> src/backend/entities.rs:366:16 [INFO] [stdout] | [INFO] [stdout] 365 | impl FD{ [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 366 | pub fn new(customer_id: Uuid, config: &ProductConfig, auto_renew: bool) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn mature(&mut self){ self.status = FDStatus::Matured; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 378 | [INFO] [stdout] 379 | pub fn withdraw(&mut self) -> Result{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FDStatus` is never used [INFO] [stdout] --> src/backend/entities.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | pub enum FDStatus{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Forex` is never constructed [INFO] [stdout] --> src/backend/entities.rs:401:16 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct Forex{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `complete`, and `cancel` are never used [INFO] [stdout] --> src/backend/entities.rs:413:16 [INFO] [stdout] | [INFO] [stdout] 412 | impl Forex{ [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 413 | pub fn new(customer_id: Uuid, config: &ProductConfig, exchange_rate: f64) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn complete(&mut self){ self.status = ForexStatus::Completed; } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 422 | pub fn cancel(&mut self){ self.status = ForexStatus::Cancelled; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ForexStatus` is never used [INFO] [stdout] --> src/backend/entities.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | pub enum ForexStatus{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UrlGetter` is never constructed [INFO] [stdout] --> src/backend/endpoints.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UrlGetter{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `normalize` are never used [INFO] [stdout] --> src/backend/endpoints.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | impl UrlGetter{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(version: Option) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn normalize(&self,url: &str) -> String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGIN` is never used [INFO] [stdout] --> src/backend/endpoints.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const LOGIN: &str = "/login"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGOUT` is never used [INFO] [stdout] --> src/backend/endpoints.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LOGOUT: &str = "/logout"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGNUP` is never used [INFO] [stdout] --> src/backend/endpoints.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SIGNUP: &str = "/signup"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FORGOT_PASS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const FORGOT_PASS: &str = "/reset"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REFRESH_TOKEN` is never used [INFO] [stdout] --> src/backend/endpoints.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub const REFRESH_TOKEN: &str = "/refresh"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERIFY_SESSION` is never used [INFO] [stdout] --> src/backend/endpoints.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub const VERIFY_SESSION: &str = "/verify"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REVOKE_SESSION` is never used [INFO] [stdout] --> src/backend/endpoints.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub const REVOKE_SESSION: &str = "/revoke"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE` is never used [INFO] [stdout] --> src/backend/endpoints.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | pub const PROFILE: &str = "/profile"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPDATE_PROFILE` is never used [INFO] [stdout] --> src/backend/endpoints.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub const UPDATE_PROFILE: &str = "/profile/update"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHANGE_PASSWORD` is never used [INFO] [stdout] --> src/backend/endpoints.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | pub const CHANGE_PASSWORD: &str = "/change-password"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERIFY_2FA` is never used [INFO] [stdout] --> src/backend/endpoints.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const VERIFY_2FA: &str = "/verify-2fa"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENABLE_2FA` is never used [INFO] [stdout] --> src/backend/endpoints.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub const ENABLE_2FA: &str = "/enable-2fa"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DISABLE_2FA` is never used [INFO] [stdout] --> src/backend/endpoints.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const DISABLE_2FA: &str = "/disable-2fa"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOME` is never used [INFO] [stdout] --> src/backend/endpoints.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const HOME: &str = "/home"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETTINGS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub const SETTINGS: &str = "/settings"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SETTINGS_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const SETTINGS_ENDPOINTS: &[&str] = &["/name","/dob","/address","/pfp","/maritial_status","/gender","/email","/phone_no"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRODUCTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PRODUCTS:&[&str] = &["/product/loans","product/fixed_deposits","product/accounts","product/forex"]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOANS_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | pub const LOANS_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/custom_plan","/purchase","/track{id}","/get_all","/emi","... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FD_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub const FD_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/calculator","/custom_plan","/purchase","/track{id}","/get_al... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCOUNTS_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | pub const ACCOUNTS_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/buy","/deactivate","/activate","/update_details"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOREX_ENDPOINTS` is never used [INFO] [stdout] --> src/backend/endpoints.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | pub const FOREX_ENDPOINTS:&[&str] = &["/offers","/information","TnC","/calculator","/purchase","/track{id}","/get_all"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Helper` should have a snake case name [INFO] [stdout] --> src/helper.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Helper{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Help` should have a snake case name [INFO] [stdout] --> src/helper.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn Help(){ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Parse_Args` should have a snake case name [INFO] [stdout] --> src/helper.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn Parse_Args(&mut self){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Error` should have a snake case name [INFO] [stdout] --> src/backend/errors.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Error{ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Entities` should have a snake case name [INFO] [stdout] --> src/backend/entities.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Entities{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `entities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Endpoints` should have a snake case name [INFO] [stdout] --> src/backend/endpoints.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Endpoints{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `endpoints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Dto` should have a snake case name [INFO] [stdout] --> src/backend/dto.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Dto{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `dto` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `anyhow` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | anyhow = "1" [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `anyhow` [INFO] [stderr] warning: unused dependency `prost` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | prost = "0.14.4" [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `prost` [INFO] [stderr] warning: unused dependency `reqwest` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | reqwest = "0.13.5" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `reqwest` [INFO] [stderr] warning: unused dependency `supabase-client-sdk` [INFO] [stderr] --> Cargo.toml:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | [dependencies.supabase-client-sdk] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `supabase-client-sdk` [INFO] [stderr] warning: unused dependency `tonic` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | tonic = "0.14.6" [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tonic` [INFO] [stderr] warning: `XnkRs` (manifest) generated 5 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f", kill_on_drop: false }` [INFO] [stdout] 2900056a8f9de396de4977d0f44db846a4af90bde600831c5c0aed1cfd42913f