[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 master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [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-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded ic-cdk-timers v0.1.2 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded candid_derive v0.6.5 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded candid v0.10.3 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2386da8d67cbd448996e22f401ee9a7c66c32b6b3f7a9c66b35dafff6db1d4d5 [INFO] running `Command { std: "docker" "start" "-a" "2386da8d67cbd448996e22f401ee9a7c66c32b6b3f7a9c66b35dafff6db1d4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2386da8d67cbd448996e22f401ee9a7c66c32b6b3f7a9c66b35dafff6db1d4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2386da8d67cbd448996e22f401ee9a7c66c32b6b3f7a9c66b35dafff6db1d4d5", kill_on_drop: false }` [INFO] [stdout] 2386da8d67cbd448996e22f401ee9a7c66c32b6b3f7a9c66b35dafff6db1d4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff9a4c7651a805b68f5ad6efecdba6e72b812f9825e7373d75e8ea8f13adc901 [INFO] running `Command { std: "docker" "start" "-a" "ff9a4c7651a805b68f5ad6efecdba6e72b812f9825e7373d75e8ea8f13adc901", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [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 aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking ic-stable-structures v0.5.6 [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] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling candid v0.10.3 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros 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)]` on by default [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)]` 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: `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: `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: 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)]` on by default [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)]` 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 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: `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: `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: `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: `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: `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 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 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: `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: 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: 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/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: `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: `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: `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/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 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 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 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: `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: `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 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)]` 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)]` 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: `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: 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: 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: 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.48s [INFO] running `Command { std: "docker" "inspect" "ff9a4c7651a805b68f5ad6efecdba6e72b812f9825e7373d75e8ea8f13adc901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9a4c7651a805b68f5ad6efecdba6e72b812f9825e7373d75e8ea8f13adc901", kill_on_drop: false }` [INFO] [stdout] ff9a4c7651a805b68f5ad6efecdba6e72b812f9825e7373d75e8ea8f13adc901 [INFO] checking furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [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-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furkancetinalp/Integrating-Real-E-Commerce-Using-ICP-Ecosystem on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6c21a30961e5a10bcedefb1a5d030656e90b00714a61aef1d4beb9ae177a351 [INFO] running `Command { std: "docker" "start" "-a" "e6c21a30961e5a10bcedefb1a5d030656e90b00714a61aef1d4beb9ae177a351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6c21a30961e5a10bcedefb1a5d030656e90b00714a61aef1d4beb9ae177a351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c21a30961e5a10bcedefb1a5d030656e90b00714a61aef1d4beb9ae177a351", kill_on_drop: false }` [INFO] [stdout] e6c21a30961e5a10bcedefb1a5d030656e90b00714a61aef1d4beb9ae177a351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a95024c40b89e0baf7ac0250996ee96568277139bcaf4d03851f49ae98a7247 [INFO] running `Command { std: "docker" "start" "-a" "8a95024c40b89e0baf7ac0250996ee96568277139bcaf4d03851f49ae98a7247", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling codespan-reporting v0.11.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 proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking ic-stable-structures v0.5.6 [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] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling candid v0.10.3 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros 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)]` 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)]` 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)]` 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)]` 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 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)]` 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: 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)]` 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: 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.86s [INFO] running `Command { std: "docker" "inspect" "8a95024c40b89e0baf7ac0250996ee96568277139bcaf4d03851f49ae98a7247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a95024c40b89e0baf7ac0250996ee96568277139bcaf4d03851f49ae98a7247", kill_on_drop: false }` [INFO] [stdout] 8a95024c40b89e0baf7ac0250996ee96568277139bcaf4d03851f49ae98a7247