[INFO] cloning repository https://github.com/kazuma0606/lightning-clean-commerce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuma0606/lightning-clean-commerce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuma0606%2Flightning-clean-commerce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuma0606%2Flightning-clean-commerce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dabf059a68558b41168be4aa90ecddabdbb1cf0c [INFO] testing kazuma0606/lightning-clean-commerce against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuma0606%2Flightning-clean-commerce" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kazuma0606/lightning-clean-commerce [INFO] finished tweaking git repo https://github.com/kazuma0606/lightning-clean-commerce [INFO] tweaked toml for git repo https://github.com/kazuma0606/lightning-clean-commerce written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kazuma0606/lightning-clean-commerce on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kazuma0606/lightning-clean-commerce 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.30 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded sqlformat v0.2.6 [INFO] [stderr] Downloaded ahash v0.8.12 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50b277f93901ad1e72fe03933be4417cbfcf84c082271fd4bb6537d543d5ca1d [INFO] running `Command { std: "docker" "start" "-a" "50b277f93901ad1e72fe03933be4417cbfcf84c082271fd4bb6537d543d5ca1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50b277f93901ad1e72fe03933be4417cbfcf84c082271fd4bb6537d543d5ca1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b277f93901ad1e72fe03933be4417cbfcf84c082271fd4bb6537d543d5ca1d", kill_on_drop: false }` [INFO] [stdout] 50b277f93901ad1e72fe03933be4417cbfcf84c082271fd4bb6537d543d5ca1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 414eef4fa5c64b5450484735a357227d34811cbd08c56f990bbb8de5393d9139 [INFO] running `Command { std: "docker" "start" "-a" "414eef4fa5c64b5450484735a357227d34811cbd08c56f990bbb8de5393d9139", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling rspc-ts-front v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::domain::entity::user::User` [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::entity::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/infrastructure/db.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{sqlite::SqlitePool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::database::models::user_model::UserModel` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::infrastructure::database::models::user_model::UserModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiResponse` [INFO] [stdout] --> src/adapter/routes/product_routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ApiResponse, CreateProductRequest, SearchProductsRequest, UpdateProductRequest, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/response/api_response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/state/app_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn execute(&self, request: LoginRequest) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/auth/logout_use_case.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn execute(&self, user_id: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/application/use_cases/auth/refresh_token_use_case.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn execute(&self, refresh_token: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/auth/register_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, request: RegisterRequest) -> Result<(), R::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateUserRequestDto, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/user/get_user_profile_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add_address(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn update_address(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_id` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn delete_address(&self, address_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_data` [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/product/get_product_detail_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_page` [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/application/use_cases/product/search_product_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, query: String) -> Result, R::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: AddToCartRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/get_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart_data` [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cart_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/order/cancel_order_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateOrderRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/order/get_order_detail_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/order/get_order_list_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result, R::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateReviewRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_id` [INFO] [stdout] --> src/application/use_cases/review/delete_review_use_case.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn execute(&self, review_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_id` [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | review_id: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_data` [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | review_data: ReviewDto, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | order_id: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | status: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | request: CreateProductRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | product_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_data` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | product_data: ProductDto, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn delete_product(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_stock_level(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | product_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | quantity: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/admin/user_management_use_case.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn deactivate_user(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/infrastructure/database/migration.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_migrations(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/adapter/app.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let app: Router = Router::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, cart: Cart) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(&self, cart: Cart) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, category: Category) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_parent_id(&self, parent_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, category: Category) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, review: Review) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_product_id(&self, product_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, review: Review) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movement` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save_movement(&self, movement: StockMovement) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | product_id: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | async fn get_current_stock(&self, product_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | async fn save(&self, user: User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_username(&self, username: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | async fn find_by_email(&self, email: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | async fn update(&self, user: User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | async fn generate_token(&self, user_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | async fn validate_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | async fn refresh_token(&self, refresh_token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | email: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_token` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | reset_token: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | email: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | order_id: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payment_method` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | payment_method: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | amount: f64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payment_id` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_url` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | async fn delete_file(&self, file_url: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LoginUseCase [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/auth/register_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RegisterUseCase [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateUserUseCase [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateUserUseCaseImpl [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | inner: CreateUserUseCase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/get_user_profile_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetUserProfileUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ManageAddressUseCase [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | address_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateUserProfileUseCase [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/get_product_detail_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetProductDetailUseCase [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetProductListUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/search_product_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SearchProductUseCase [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddToCartUseCase [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/get_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetCartUseCase [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RemoveFromCartUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateCartUseCase [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/cancel_order_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CancelOrderUseCase [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateOrderUseCase [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/get_order_detail_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetOrderDetailUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/get_order_list_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetOrderListUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/delete_review_use_case.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DeleteReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OrderManagementUseCase [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductManagementUseCase [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stock_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StockManagementUseCase [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | stock_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/user_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UserManagementUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AddressRepositoryImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CartRepositoryImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CategoryRepositoryImpl { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OrderRepositoryImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ReviewRepositoryImpl { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StockRepositoryImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StockRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserRepositoryImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "414eef4fa5c64b5450484735a357227d34811cbd08c56f990bbb8de5393d9139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414eef4fa5c64b5450484735a357227d34811cbd08c56f990bbb8de5393d9139", kill_on_drop: false }` [INFO] [stdout] 414eef4fa5c64b5450484735a357227d34811cbd08c56f990bbb8de5393d9139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a55ecbf3658c93093796998f74e4a0252c472dfc6c0e7d13274fa24fde80e855 [INFO] running `Command { std: "docker" "start" "-a" "a55ecbf3658c93093796998f74e4a0252c472dfc6c0e7d13274fa24fde80e855", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stdout] warning: unused import: `crate::domain::entity::user::User` [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::entity::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/infrastructure/db.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{sqlite::SqlitePool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::database::models::user_model::UserModel` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::infrastructure::database::models::user_model::UserModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiResponse` [INFO] [stdout] --> src/adapter/routes/product_routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ApiResponse, CreateProductRequest, SearchProductsRequest, UpdateProductRequest, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/response/api_response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/state/app_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn execute(&self, request: LoginRequest) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/auth/logout_use_case.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn execute(&self, user_id: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/application/use_cases/auth/refresh_token_use_case.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn execute(&self, refresh_token: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/auth/register_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, request: RegisterRequest) -> Result<(), R::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateUserRequestDto, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/user/get_user_profile_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add_address(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn update_address(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_id` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn delete_address(&self, address_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_data` [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/product/get_product_detail_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_page` [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/application/use_cases/product/search_product_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, query: String) -> Result, R::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: AddToCartRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/get_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart_data` [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cart_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/order/cancel_order_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateOrderRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/order/get_order_detail_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/order/get_order_list_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result, R::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateReviewRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_id` [INFO] [stdout] --> src/application/use_cases/review/delete_review_use_case.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn execute(&self, review_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_id` [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | review_id: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_data` [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | review_data: ReviewDto, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | order_id: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | status: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | request: CreateProductRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | product_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_data` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | product_data: ProductDto, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn delete_product(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_stock_level(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | product_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | quantity: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/admin/user_management_use_case.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn deactivate_user(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/infrastructure/database/migration.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_migrations(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/adapter/app.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let app: Router = Router::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, cart: Cart) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(&self, cart: Cart) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, category: Category) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_parent_id(&self, parent_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, category: Category) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, review: Review) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_product_id(&self, product_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, review: Review) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movement` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save_movement(&self, movement: StockMovement) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | product_id: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | async fn get_current_stock(&self, product_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | async fn save(&self, user: User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_username(&self, username: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | async fn find_by_email(&self, email: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | async fn update(&self, user: User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | async fn generate_token(&self, user_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | async fn validate_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | async fn refresh_token(&self, refresh_token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | email: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_token` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | reset_token: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | email: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | order_id: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payment_method` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | payment_method: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | amount: f64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payment_id` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_url` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | async fn delete_file(&self, file_url: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LoginUseCase [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/auth/register_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RegisterUseCase [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateUserUseCase [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateUserUseCaseImpl [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | inner: CreateUserUseCase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/get_user_profile_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetUserProfileUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ManageAddressUseCase [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | address_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateUserProfileUseCase [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/get_product_detail_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetProductDetailUseCase [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetProductListUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/search_product_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SearchProductUseCase [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddToCartUseCase [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/get_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetCartUseCase [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RemoveFromCartUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateCartUseCase [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/cancel_order_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CancelOrderUseCase [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateOrderUseCase [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/get_order_detail_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetOrderDetailUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/get_order_list_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetOrderListUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/delete_review_use_case.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DeleteReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OrderManagementUseCase [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductManagementUseCase [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stock_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StockManagementUseCase [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | stock_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/user_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UserManagementUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AddressRepositoryImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CartRepositoryImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CategoryRepositoryImpl { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OrderRepositoryImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ReviewRepositoryImpl { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StockRepositoryImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StockRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserRepositoryImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rspc-ts-front v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::domain::entity::user::User` [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::entity::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/infrastructure/db.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{sqlite::SqlitePool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::database::models::user_model::UserModel` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::infrastructure::database::models::user_model::UserModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiResponse` [INFO] [stdout] --> src/adapter/routes/product_routes.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ApiResponse, CreateProductRequest, SearchProductsRequest, UpdateProductRequest, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/response/api_response.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/state/app_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn execute(&self, request: LoginRequest) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/auth/logout_use_case.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn execute(&self, user_id: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/application/use_cases/auth/refresh_token_use_case.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn execute(&self, refresh_token: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/auth/register_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, request: RegisterRequest) -> Result<(), R::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateUserRequestDto, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/user/get_user_profile_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn add_address(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn update_address(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address_id` [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn delete_address(&self, address_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_data` [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/product/get_product_detail_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_page` [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/application/use_cases/product/search_product_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, query: String) -> Result, R::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: AddToCartRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/get_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart_data` [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cart_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/order/cancel_order_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateOrderRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/order/get_order_detail_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/order/get_order_list_use_case.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn execute(&self, user_id: String) -> Result, R::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | user_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | request: CreateReviewRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_id` [INFO] [stdout] --> src/application/use_cases/review/delete_review_use_case.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn execute(&self, review_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_id` [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | review_id: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review_data` [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | review_data: ReviewDto, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | order_id: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | status: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | request: CreateProductRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | product_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_data` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | product_data: ProductDto, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn delete_product(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn get_stock_level(&self, product_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | product_id: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quantity` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | quantity: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/use_cases/admin/user_management_use_case.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn deactivate_user(&self, user_id: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/infrastructure/database/migration.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_migrations(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/adapter/app.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let app: Router = Router::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(&self, address: Address) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, cart: Cart) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | async fn update(&self, cart: Cart) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, category: Category) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_parent_id(&self, parent_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, category: Category) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, order: Order) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save(&self, review: Review) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | async fn find_by_product_id(&self, product_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `review` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | async fn update(&self, review: Review) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `movement` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | async fn save_movement(&self, movement: StockMovement) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | product_id: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product_id` [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | async fn get_current_stock(&self, product_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | async fn save(&self, user: User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | async fn find_by_username(&self, username: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | async fn find_by_email(&self, email: &str) -> Result, Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | async fn update(&self, user: User) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | async fn delete(&self, id: &str) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | async fn generate_token(&self, user_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | async fn validate_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refresh_token` [INFO] [stdout] --> src/infrastructure/service/auth_service_impl.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | async fn refresh_token(&self, refresh_token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | email: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_token` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | reset_token: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | email: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/infrastructure/service/email_service_impl.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | order_id: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payment_method` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | payment_method: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | amount: f64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payment_id` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/infrastructure/service/payment_service_impl.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_data` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_url` [INFO] [stdout] --> src/infrastructure/service/upload_service_impl.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | async fn delete_file(&self, file_url: &str) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/auth/login_use_case.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LoginUseCase [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/auth/register_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RegisterUseCase [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateUserUseCase [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/application/use_cases/user/create_user_usecase/create_user_usecase_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateUserUseCaseImpl [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | inner: CreateUserUseCase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/get_user_profile_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetUserProfileUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/manage_address_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ManageAddressUseCase [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | address_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/user/update_user_profile_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateUserProfileUseCase [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/get_product_detail_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetProductDetailUseCase [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/get_product_list_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetProductListUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/product/search_product_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SearchProductUseCase [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/add_to_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddToCartUseCase [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/get_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetCartUseCase [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RemoveFromCartUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cart_repository` is never read [INFO] [stdout] --> src/application/use_cases/cart/update_cart_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateCartUseCase [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | cart_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/cancel_order_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CancelOrderUseCase [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/create_order_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateOrderUseCase [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/get_order_detail_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetOrderDetailUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/order/get_order_list_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GetOrderListUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/create_review_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/delete_review_use_case.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DeleteReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `review_repository` is never read [INFO] [stdout] --> src/application/use_cases/review/update_review_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UpdateReviewUseCase [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | review_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/order_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OrderManagementUseCase [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/product_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProductManagementUseCase [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | product_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stock_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/stock_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StockManagementUseCase [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | stock_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_repository` is never read [INFO] [stdout] --> src/application/use_cases/admin/user_management_use_case.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UserManagementUseCase [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | user_repository: R, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/address_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AddressRepositoryImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/cart_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CartRepositoryImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/category_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CategoryRepositoryImpl { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CategoryRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/order_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OrderRepositoryImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/review_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ReviewRepositoryImpl { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/stock_repository_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StockRepositoryImpl { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 8 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StockRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/infrastructure/repository/user_repository_impl.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UserRepositoryImpl { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | pool: SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.31s [INFO] running `Command { std: "docker" "inspect" "a55ecbf3658c93093796998f74e4a0252c472dfc6c0e7d13274fa24fde80e855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55ecbf3658c93093796998f74e4a0252c472dfc6c0e7d13274fa24fde80e855", kill_on_drop: false }` [INFO] [stdout] a55ecbf3658c93093796998f74e4a0252c472dfc6c0e7d13274fa24fde80e855 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54ca9859fb6310ed663a6af931ca05a3d1f4d285acb59b4e53aec6d5f954c2e5 [INFO] running `Command { std: "docker" "start" "-a" "54ca9859fb6310ed663a6af931ca05a3d1f4d285acb59b4e53aec6d5f954c2e5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::domain::entity::user::User` [INFO] [stderr] --> src/application/use_cases/auth/login_use_case.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::domain::entity::user::User; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Row` [INFO] [stderr] --> src/infrastructure/db.rs:4:32 [INFO] [stderr] | [INFO] [stderr] 4 | use sqlx::{sqlite::SqlitePool, Row}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::infrastructure::database::models::user_model::UserModel` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::infrastructure::database::models::user_model::UserModel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ApiResponse` [INFO] [stderr] --> src/adapter/routes/product_routes.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | ApiResponse, CreateProductRequest, SearchProductsRequest, UpdateProductRequest, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/api/response/api_response.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/state/app_state.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/auth/login_use_case.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | pub async fn execute(&self, request: LoginRequest) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/auth/logout_use_case.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | pub async fn execute(&self, user_id: String) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `refresh_token` [INFO] [stderr] --> src/application/use_cases/auth/refresh_token_use_case.rs:10:33 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn execute(&self, refresh_token: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/auth/register_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, request: RegisterRequest) -> Result<(), R::Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | request: CreateUserRequestDto, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/user/get_user_profile_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/application/use_cases/user/manage_address_use_case.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn add_address(&self, address: Address) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/application/use_cases/user/manage_address_use_case.rs:24:40 [INFO] [stderr] | [INFO] [stderr] 24 | pub async fn update_address(&self, address: Address) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address_id` [INFO] [stderr] --> src/application/use_cases/user/manage_address_use_case.rs:29:40 [INFO] [stderr] | [INFO] [stderr] 29 | pub async fn delete_address(&self, address_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_data` [INFO] [stderr] --> src/application/use_cases/user/update_user_profile_use_case.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String, user_data: UserDto) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/application/use_cases/product/get_product_detail_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, product_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/application/use_cases/product/get_product_list_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `per_page` [INFO] [stderr] --> src/application/use_cases/product/get_product_list_use_case.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, page: u32, per_page: u32) -> Result, R::Error> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> src/application/use_cases/product/search_product_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, query: String) -> Result, R::Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/cart/add_to_cart_use_case.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | user_id: String, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/cart/add_to_cart_use_case.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | request: AddToCartRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/cart/get_cart_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String, product_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/cart/update_cart_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cart_data` [INFO] [stderr] --> src/application/use_cases/cart/update_cart_use_case.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String, cart_data: CartDto) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cart_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/application/use_cases/order/cancel_order_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/order/create_order_use_case.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | user_id: String, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/order/create_order_use_case.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | request: CreateOrderRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/application/use_cases/order/get_order_detail_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, order_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/order/get_order_list_use_case.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn execute(&self, user_id: String) -> Result, R::Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/review/create_review_use_case.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | user_id: String, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/review/create_review_use_case.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | request: CreateReviewRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `review_id` [INFO] [stderr] --> src/application/use_cases/review/delete_review_use_case.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | pub async fn execute(&self, review_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `review_id` [INFO] [stderr] --> src/application/use_cases/review/update_review_use_case.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | review_id: String, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `review_data` [INFO] [stderr] --> src/application/use_cases/review/update_review_use_case.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | review_data: ReviewDto, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_review_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/application/use_cases/admin/order_management_use_case.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | order_id: String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/application/use_cases/admin/order_management_use_case.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | status: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/application/use_cases/admin/product_management_use_case.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | request: CreateProductRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/application/use_cases/admin/product_management_use_case.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | product_id: String, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_data` [INFO] [stderr] --> src/application/use_cases/admin/product_management_use_case.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | product_data: ProductDto, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/application/use_cases/admin/product_management_use_case.rs:36:40 [INFO] [stderr] | [INFO] [stderr] 36 | pub async fn delete_product(&self, product_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/application/use_cases/admin/stock_management_use_case.rs:19:41 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn get_stock_level(&self, product_id: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/application/use_cases/admin/stock_management_use_case.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | product_id: String, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `quantity` [INFO] [stderr] --> src/application/use_cases/admin/stock_management_use_case.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | quantity: i32, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reason` [INFO] [stderr] --> src/application/use_cases/admin/stock_management_use_case.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | reason: String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/application/use_cases/admin/user_management_use_case.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | pub async fn deactivate_user(&self, user_id: String) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/infrastructure/database/migration.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | pub async fn run_migrations(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> src/adapter/app.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | let app: Router = Router::new(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/infrastructure/repository/address_repository_impl.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | async fn save(&self, address: Address) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/address_repository_impl.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/infrastructure/repository/address_repository_impl.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/infrastructure/repository/address_repository_impl.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | async fn update(&self, address: Address) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/address_repository_impl.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cart` [INFO] [stderr] --> src/infrastructure/repository/cart_repository_impl.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | async fn save(&self, cart: Cart) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/cart_repository_impl.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/infrastructure/repository/cart_repository_impl.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cart` [INFO] [stderr] --> src/infrastructure/repository/cart_repository_impl.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | async fn update(&self, cart: Cart) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/cart_repository_impl.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | async fn delete(&self, id: &str) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category` [INFO] [stderr] --> src/infrastructure/repository/category_repository_impl.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | async fn save(&self, category: Category) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/category_repository_impl.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent_id` [INFO] [stderr] --> src/infrastructure/repository/category_repository_impl.rs:33:39 [INFO] [stderr] | [INFO] [stderr] 33 | async fn find_by_parent_id(&self, parent_id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category` [INFO] [stderr] --> src/infrastructure/repository/category_repository_impl.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | async fn update(&self, category: Category) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/category_repository_impl.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order` [INFO] [stderr] --> src/infrastructure/repository/order_repository_impl.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | async fn save(&self, order: Order) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/order_repository_impl.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/infrastructure/repository/order_repository_impl.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order` [INFO] [stderr] --> src/infrastructure/repository/order_repository_impl.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | async fn update(&self, order: Order) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/order_repository_impl.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `review` [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | async fn save(&self, review: Review) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:29:40 [INFO] [stderr] | [INFO] [stderr] 29 | async fn find_by_product_id(&self, product_id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:33:37 [INFO] [stderr] | [INFO] [stderr] 33 | async fn find_by_user_id(&self, user_id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `review` [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | async fn update(&self, review: Review) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_review` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | async fn delete(&self, id: &str) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `movement` [INFO] [stderr] --> src/infrastructure/repository/stock_repository_impl.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | async fn save_movement(&self, movement: StockMovement) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movement` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/infrastructure/repository/stock_repository_impl.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | product_id: &str, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `product_id` [INFO] [stderr] --> src/infrastructure/repository/stock_repository_impl.rs:32:39 [INFO] [stderr] | [INFO] [stderr] 32 | async fn get_current_stock(&self, product_id: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:23:26 [INFO] [stderr] | [INFO] [stderr] 23 | async fn save(&self, user: User) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:28:32 [INFO] [stderr] | [INFO] [stderr] 28 | async fn find_by_id(&self, id: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | async fn find_by_username(&self, username: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:38:35 [INFO] [stderr] | [INFO] [stderr] 38 | async fn find_by_email(&self, email: &str) -> Result, Self::Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | async fn update(&self, user: User) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | async fn delete(&self, id: &str) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/infrastructure/service/auth_service_impl.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | async fn generate_token(&self, user_id: &str) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/infrastructure/service/auth_service_impl.rs:33:36 [INFO] [stderr] | [INFO] [stderr] 33 | async fn validate_token(&self, token: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `refresh_token` [INFO] [stderr] --> src/infrastructure/service/auth_service_impl.rs:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | async fn refresh_token(&self, refresh_token: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refresh_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email` [INFO] [stderr] --> src/infrastructure/service/email_service_impl.rs:28:40 [INFO] [stderr] | [INFO] [stderr] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `username` [INFO] [stderr] --> src/infrastructure/service/email_service_impl.rs:28:53 [INFO] [stderr] | [INFO] [stderr] 28 | async fn send_welcome_email(&self, email: &str, username: &str) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email` [INFO] [stderr] --> src/infrastructure/service/email_service_impl.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | email: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reset_token` [INFO] [stderr] --> src/infrastructure/service/email_service_impl.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | reset_token: &str, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email` [INFO] [stderr] --> src/infrastructure/service/email_service_impl.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | email: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/infrastructure/service/email_service_impl.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | order_id: &str, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payment_method` [INFO] [stderr] --> src/infrastructure/service/payment_service_impl.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | payment_method: &str, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_method` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/infrastructure/service/payment_service_impl.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | amount: f64, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payment_id` [INFO] [stderr] --> src/infrastructure/service/payment_service_impl.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payment_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/infrastructure/service/payment_service_impl.rs:36:54 [INFO] [stderr] | [INFO] [stderr] 36 | async fn refund_payment(&self, payment_id: &str, amount: f64) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filename` [INFO] [stderr] --> src/infrastructure/service/upload_service_impl.rs:28:53 [INFO] [stderr] | [INFO] [stderr] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_data` [INFO] [stderr] --> src/infrastructure/service/upload_service_impl.rs:28:33 [INFO] [stderr] | [INFO] [stderr] 28 | async fn upload_file(&self, file_data: Vec, filename: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_url` [INFO] [stderr] --> src/infrastructure/service/upload_service_impl.rs:32:33 [INFO] [stderr] | [INFO] [stderr] 32 | async fn delete_file(&self, file_url: &str) -> Result<(), Self::Error> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_url` [INFO] [stderr] [INFO] [stderr] warning: field `user_repository` is never read [INFO] [stderr] --> src/application/use_cases/auth/login_use_case.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct LoginUseCase [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | user_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `user_repository` is never read [INFO] [stderr] --> src/application/use_cases/auth/register_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct RegisterUseCase [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | user_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `user_repository` is never read [INFO] [stderr] --> src/application/use_cases/user/create_user_usecase/create_user_usecase.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CreateUserUseCase [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | user_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `inner` is never read [INFO] [stderr] --> src/application/use_cases/user/create_user_usecase/create_user_usecase_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CreateUserUseCaseImpl [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | inner: CreateUserUseCase, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `user_repository` is never read [INFO] [stderr] --> src/application/use_cases/user/get_user_profile_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetUserProfileUseCase [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | user_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `address_repository` is never read [INFO] [stderr] --> src/application/use_cases/user/manage_address_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ManageAddressUseCase [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | address_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `user_repository` is never read [INFO] [stderr] --> src/application/use_cases/user/update_user_profile_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct UpdateUserProfileUseCase [INFO] [stderr] | ------------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | user_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `product_repository` is never read [INFO] [stderr] --> src/application/use_cases/product/get_product_detail_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetProductDetailUseCase [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | product_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `product_repository` is never read [INFO] [stderr] --> src/application/use_cases/product/get_product_list_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetProductListUseCase [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | product_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `product_repository` is never read [INFO] [stderr] --> src/application/use_cases/product/search_product_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct SearchProductUseCase [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | product_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cart_repository` is never read [INFO] [stderr] --> src/application/use_cases/cart/add_to_cart_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct AddToCartUseCase [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | cart_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cart_repository` is never read [INFO] [stderr] --> src/application/use_cases/cart/get_cart_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetCartUseCase [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | cart_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cart_repository` is never read [INFO] [stderr] --> src/application/use_cases/cart/remove_from_cart_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct RemoveFromCartUseCase [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | cart_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cart_repository` is never read [INFO] [stderr] --> src/application/use_cases/cart/update_cart_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct UpdateCartUseCase [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | cart_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `order_repository` is never read [INFO] [stderr] --> src/application/use_cases/order/cancel_order_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CancelOrderUseCase [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | order_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `order_repository` is never read [INFO] [stderr] --> src/application/use_cases/order/create_order_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CreateOrderUseCase [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | order_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `order_repository` is never read [INFO] [stderr] --> src/application/use_cases/order/get_order_detail_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetOrderDetailUseCase [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | order_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `order_repository` is never read [INFO] [stderr] --> src/application/use_cases/order/get_order_list_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GetOrderListUseCase [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | order_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `review_repository` is never read [INFO] [stderr] --> src/application/use_cases/review/create_review_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct CreateReviewUseCase [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | review_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `review_repository` is never read [INFO] [stderr] --> src/application/use_cases/review/delete_review_use_case.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct DeleteReviewUseCase [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | review_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `review_repository` is never read [INFO] [stderr] --> src/application/use_cases/review/update_review_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct UpdateReviewUseCase [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | review_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `order_repository` is never read [INFO] [stderr] --> src/application/use_cases/admin/order_management_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct OrderManagementUseCase [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | order_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `product_repository` is never read [INFO] [stderr] --> src/application/use_cases/admin/product_management_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ProductManagementUseCase [INFO] [stderr] | ------------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | product_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `stock_repository` is never read [INFO] [stderr] --> src/application/use_cases/admin/stock_management_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct StockManagementUseCase [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | stock_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `user_repository` is never read [INFO] [stderr] --> src/application/use_cases/admin/user_management_use_case.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct UserManagementUseCase [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | user_repository: R, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/address_repository_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct AddressRepositoryImpl { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 8 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AddressRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/cart_repository_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct CartRepositoryImpl { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 8 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CartRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/category_repository_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct CategoryRepositoryImpl { [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] 8 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CategoryRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/order_repository_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct OrderRepositoryImpl { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 8 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OrderRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/review_repository_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ReviewRepositoryImpl { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 8 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReviewRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/stock_repository_impl.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct StockRepositoryImpl { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 8 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StockRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/infrastructure/repository/user_repository_impl.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct UserRepositoryImpl { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 10 | pool: SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserRepositoryImpl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rspc-ts-front` (lib) generated 135 warnings (run `cargo fix --lib -p rspc-ts-front` to apply 7 suggestions) [INFO] [stderr] warning: `rspc-ts-front` (lib test) generated 135 warnings (135 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rspc_ts_front-56616a98abc56eca) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rspc_ts_front-695d5805c12b3eff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/product_crud.rs (/opt/rustwide/target/debug/deps/product_crud-43c6b872ecdcaac2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_product_crud ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rspc_ts_front [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "54ca9859fb6310ed663a6af931ca05a3d1f4d285acb59b4e53aec6d5f954c2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ca9859fb6310ed663a6af931ca05a3d1f4d285acb59b4e53aec6d5f954c2e5", kill_on_drop: false }` [INFO] [stdout] 54ca9859fb6310ed663a6af931ca05a3d1f4d285acb59b4e53aec6d5f954c2e5