[INFO] cloning repository https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurkancetinalp%2FIntegrating-Real-E-Commerce-Using-ICP-Ecosystem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurkancetinalp%2FIntegrating-Real-E-Commerce-Using-ICP-Ecosystem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afddd0e6b5d77eb7578faf34a3c9dce9a86378e1 [INFO] checking furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurkancetinalp%2FIntegrating-Real-E-Commerce-Using-ICP-Ecosystem" "/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/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem [INFO] finished tweaking git repo https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem [INFO] tweaked toml for git repo https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 662a6a8b295d31ac4278cdd5201955e115dec0832de29239798108b37a9b2264 [INFO] running `Command { std: "docker" "start" "-a" "662a6a8b295d31ac4278cdd5201955e115dec0832de29239798108b37a9b2264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "662a6a8b295d31ac4278cdd5201955e115dec0832de29239798108b37a9b2264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662a6a8b295d31ac4278cdd5201955e115dec0832de29239798108b37a9b2264", kill_on_drop: false }` [INFO] [stdout] 662a6a8b295d31ac4278cdd5201955e115dec0832de29239798108b37a9b2264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27da6e60cbd5f05fcb19d0da5ff7adafb297ab278c5f647f877c8cda40d36b65 [INFO] running `Command { std: "docker" "start" "-a" "27da6e60cbd5f05fcb19d0da5ff7adafb297ab278c5f647f877c8cda40d36b65", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking lalrpop-util v0.19.12 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking ic-stable-structures v0.5.6 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling candid v0.10.3 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Checking ic-cdk v0.7.4 [INFO] [stderr] Checking ic-cdk-timers v0.1.2 [INFO] [stderr] Checking ecommerce_backend v0.1.0 (/opt/rustwide/workdir/src/ecommerce_backend) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [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 imports: `call`, `self`, and `storage` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | api::{self, call}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 7 | export::candid, [INFO] [stdout] 8 | storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `n162458791` should have an upper camel case name [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `N162458791` [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: unused import: `serde::Serialize` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/login_model.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/login_model.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/login_model.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Price` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:22:90 [INFO] [stdout] | [INFO] [stdout] 22 | use add_product_request::{AddProductRequest, Currency, Data, Image, Location, Parameter, Price}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `n162458791` should have an upper camel case name [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `N162458791` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/product.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/product.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/product.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::TryFromIntError` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::TryFromIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result as StdResult` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result::Result as StdResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Principal` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use candid::{CandidType, Principal}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [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 imports: `call`, `self`, and `storage` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | api::{self, call}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 7 | export::candid, [INFO] [stdout] 8 | storage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `n162458791` should have an upper camel case name [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `N162458791` [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: unused import: `serde::Serialize` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/login_model.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/login_model.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/login_model.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Price` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:22:90 [INFO] [stdout] | [INFO] [stdout] 22 | use add_product_request::{AddProductRequest, Currency, Data, Image, Location, Parameter, Price}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `n162458791` should have an upper camel case name [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `N162458791` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/product.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/product.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/product.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundedStorable`, `DefaultMemoryImpl`, `StableBTreeMap`, and `Storable` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ic_stable_structures::{BoundedStorable, DefaultMemoryImpl, StableBTreeMap, Storable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryId`, `MemoryManager`, and `VirtualMemory` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_stable_structures::memory_manager::{MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::TryFromIntError` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num::TryFromIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result::Result as StdResult` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result::Result as StdResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Principal` [INFO] [stdout] --> src/ecommerce_backend/src/categories.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use candid::{CandidType, Principal}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_request.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Deserialize, Encode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | let add = CATEGORY_MAP.with(|p| p.borrow_mut().insert(key, data)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eror` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | Err(eror) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_string2` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let json_string2 = serde_json::json!({"grantType":"email","email": email, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_string2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonetizationInfo` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct MonetizationInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Favorites` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Favorites { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flags` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filters` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Filters { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Status2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Links` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Links { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `n162458791` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Badge` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct Badge { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contacts` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct Contacts { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct Image2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Medium2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct Medium2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Big2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Big2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Small2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct Small2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct Location2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Favorites` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Favorites { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flags` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `n162458791` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Image2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Big2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Big2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Medium2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Medium2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Small2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Small2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub struct Location2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Badge` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct Badge { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location3` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Location3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressComponent` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct AddressComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sendProductLetgo` should have a snake case name [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | async fn sendProductLetgo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `send_product_letgo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | let add = CATEGORY_MAP.with(|p| p.borrow_mut().insert(key, data)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eror` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | Err(eror) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_eror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_string2` [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let json_string2 = serde_json::json!({"grantType":"email","email": email, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_string2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonetizationInfo` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct MonetizationInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Favorites` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Favorites { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flags` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filters` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Filters { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Status2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Links` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Links { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `n162458791` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Badge` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct Badge { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Contacts` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct Contacts { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct Image2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Medium2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub struct Medium2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Big2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Big2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Small2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct Small2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/import_product_http_response.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct Location2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Favorites` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Favorites { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flags` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `n162458791` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct n162458791 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Image2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct Background { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Big2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct Big2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Medium2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct Medium2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Small2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct Small2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location2` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | pub struct Location2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Badge` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct Badge { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location3` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct Location3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressComponent` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/add_product_response.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct AddressComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/ecommerce_backend/src/get_categories_http_response.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sendProductLetgo` should have a snake case name [INFO] [stdout] --> src/ecommerce_backend/src/lib.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | async fn sendProductLetgo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `send_product_letgo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.32s [INFO] running `Command { std: "docker" "inspect" "27da6e60cbd5f05fcb19d0da5ff7adafb297ab278c5f647f877c8cda40d36b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27da6e60cbd5f05fcb19d0da5ff7adafb297ab278c5f647f877c8cda40d36b65", kill_on_drop: false }` [INFO] [stdout] 27da6e60cbd5f05fcb19d0da5ff7adafb297ab278c5f647f877c8cda40d36b65