[INFO] cloning repository https://github.com/quseop/ecommerce-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quseop/ecommerce-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquseop%2Fecommerce-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquseop%2Fecommerce-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d67dfe01ec9c29d1280d7f999de00e9bc9e56d08
[INFO] checking quseop/ecommerce-engine against master#80b898258da78fdd1262438126aa0cf90e395f0c for pr-149195-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquseop%2Fecommerce-engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/quseop/ecommerce-engine
[INFO] finished tweaking git repo https://github.com/quseop/ecommerce-engine
[INFO] tweaked toml for git repo https://github.com/quseop/ecommerce-engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quseop/ecommerce-engine on toolchain 80b898258da78fdd1262438126aa0cf90e395f0c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quseop/ecommerce-engine 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" "+80b898258da78fdd1262438126aa0cf90e395f0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder-macro v0.20.1
[INFO] [stderr]   Downloaded typed-builder v0.20.1
[INFO] [stderr]   Downloaded mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]   Downloaded mongocrypt v0.3.1
[INFO] [stderr]   Downloaded derive-where v1.6.0
[INFO] [stderr]   Downloaded rustls-webpki v0.103.7
[INFO] [stderr]   Downloaded diesel-async v0.6.1
[INFO] [stderr]   Downloaded resolv-conf v0.7.5
[INFO] [stderr]   Downloaded serde_with_macros v3.15.1
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.3.0
[INFO] [stderr]   Downloaded rustc_version_runtime v0.3.0
[INFO] [stderr]   Downloaded serde_with v3.15.1
[INFO] [stderr]   Downloaded shuttle-actix-web v0.57.0
[INFO] [stderr]   Downloaded shuttle-shared-db v0.57.0
[INFO] [stderr]   Downloaded mongodb v3.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bcdc8ffbcf5132e72b07f61daa834ff8c8f4d412b01a47069aab49c69a7fa2c8
[INFO] running `Command { std: "docker" "start" "-a" "bcdc8ffbcf5132e72b07f61daa834ff8c8f4d412b01a47069aab49c69a7fa2c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bcdc8ffbcf5132e72b07f61daa834ff8c8f4d412b01a47069aab49c69a7fa2c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcdc8ffbcf5132e72b07f61daa834ff8c8f4d412b01a47069aab49c69a7fa2c8", kill_on_drop: false }`
[INFO] [stdout] bcdc8ffbcf5132e72b07f61daa834ff8c8f4d412b01a47069aab49c69a7fa2c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+80b898258da78fdd1262438126aa0cf90e395f0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b74d0d3d04602e384f6e080d923dc67d9b041bd00d81fc09df627951e5c37f06
[INFO] running `Command { std: "docker" "start" "-a" "b74d0d3d04602e384f6e080d923dc67d9b041bd00d81fc09df627951e5c37f06", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking rustls-pki-types v1.13.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling rustls v0.23.34
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking webpki-roots v1.0.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking semver v1.0.27
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking resolv-conf v0.7.5
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[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 tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling typeshare-annotation v1.0.4
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking rustls-webpki v0.103.7
[INFO] [stderr]    Compiling typed-builder-macro v0.20.1
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.15.1
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking typed-builder v0.20.1
[INFO] [stderr]     Checking serde_with v3.15.1
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking bson v2.15.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling mongodb-internal-macros v3.3.0
[INFO] [stderr]     Checking tungstenite v0.27.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking typeshare v1.0.4
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]    Compiling shuttle-common v0.57.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking mongocrypt v0.3.1
[INFO] [stderr]     Checking shuttle-service v0.57.0
[INFO] [stderr]    Compiling shuttle-ifc v0.57.0
[INFO] [stderr]    Compiling shuttle-codegen v0.57.0
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking tokio-tungstenite v0.27.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking mongodb v3.3.0
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking reqwest-middleware v0.4.2
[INFO] [stderr]     Checking shuttle-api-client v0.57.0
[INFO] [stderr]     Checking shuttle-runtime v0.57.0
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking shuttle-shared-db v0.57.0
[INFO] [stderr]     Checking shuttle-actix-web v0.57.0
[INFO] [stderr]     Checking ecommerce-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::product::models::category::ProductCategory`
[INFO] [stdout]  --> src/product/models/product_new.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::product::models::category::ProductCategory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/product/models/category.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Decode, Encode, Type};
[INFO] [stdout]   |            ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::models::category::ProductCategory`
[INFO] [stdout]  --> src/product/models/dto/product_dto.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::product::models::category::ProductCategory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JsonBody`
[INFO] [stdout]  --> src/fulfillment/order/api/order_api.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::web::{Json, JsonBody};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/fulfillment/order/repository/implementation/postgres_order_repo.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/fulfillment/shipping/models/shipping.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Local, Utc};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/fulfillment/payment/payment_state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/fulfillment/payment/models/domain/payment.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Local, Utc};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::fulfillment::order::models::domain::order::Order`
[INFO] [stdout]  --> src/fulfillment/payment/models/domain/payment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::fulfillment::order::models::domain::order::Order;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRow` and `Type`
[INFO] [stdout]  --> src/fulfillment/payment/models/payment_status.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Decode, FromRow, Type};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/app_state.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Json`, `Result`, `get`, and `post`
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use actix_web::{get, post, web::{self, Json, ServiceConfig}, Result};
[INFO] [stdout]    |                 ^^^  ^^^^              ^^^^                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Data` and `post`
[INFO] [stdout]   --> src/main.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | use actix_web::web::{post, Data};
[INFO] [stdout]    |                      ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientOptions`, `ServerApiVersion`, `ServerApi`, and `bson::doc`
[INFO] [stdout]   --> src/main.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use mongodb::{bson::doc, options::{ClientOptions, ServerApi, ServerApiVersion}, Client};
[INFO] [stdout]    |               ^^^^^^^^^            ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromRow`
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use sqlx::{FromRow, PgPool};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgSeverity::Log`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use sqlx::postgres::PgSeverity::Log;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cart::repository::implementation::mongo_cart_repo::MongoCartRepo`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::cart::repository::implementation::mongo_cart_repo::MongoCartRepo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::fulfillment::order::order_state::OrderAppState`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::fulfillment::order::order_state::OrderAppState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::fulfillment::order::repository::implementation::postgres_order_repo::PostgresOrderRepo`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::fulfillment::order::repository::implementation::postgres_order_repo::PostgresOrderRepo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::product_state::ProductAppState`
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::product::product_state::ProductAppState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::repository::implementation::mongo_product_repo::MongoProductRepo`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::product::repository::implementation::mongo_product_repo::MongoProductRepo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::models::category::ProductCategory`
[INFO] [stdout]  --> src/product/models/product_new.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::product::models::category::ProductCategory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/product/models/category.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Decode, Encode, Type};
[INFO] [stdout]   |            ^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::models::category::ProductCategory`
[INFO] [stdout]  --> src/product/models/dto/product_dto.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::product::models::category::ProductCategory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JsonBody`
[INFO] [stdout]  --> src/fulfillment/order/api/order_api.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::web::{Json, JsonBody};
[INFO] [stdout]   |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/fulfillment/order/repository/implementation/postgres_order_repo.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/fulfillment/shipping/models/shipping.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Local, Utc};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/fulfillment/payment/payment_state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Utc`
[INFO] [stdout]  --> src/fulfillment/payment/models/domain/payment.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Local, Utc};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::fulfillment::order::models::domain::order::Order`
[INFO] [stdout]  --> src/fulfillment/payment/models/domain/payment.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::fulfillment::order::models::domain::order::Order;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRow` and `Type`
[INFO] [stdout]  --> src/fulfillment/payment/models/payment_status.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::{Decode, FromRow, Type};
[INFO] [stdout]   |                    ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/app_state.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Json`, `Result`, `get`, and `post`
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use actix_web::{get, post, web::{self, Json, ServiceConfig}, Result};
[INFO] [stdout]    |                 ^^^  ^^^^              ^^^^                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Data` and `post`
[INFO] [stdout]   --> src/main.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | use actix_web::web::{post, Data};
[INFO] [stdout]    |                      ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientOptions`, `ServerApiVersion`, `ServerApi`, and `bson::doc`
[INFO] [stdout]   --> src/main.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use mongodb::{bson::doc, options::{ClientOptions, ServerApi, ServerApiVersion}, Client};
[INFO] [stdout]    |               ^^^^^^^^^            ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromRow`
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | use sqlx::{FromRow, PgPool};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgSeverity::Log`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use sqlx::postgres::PgSeverity::Log;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::cart::repository::implementation::mongo_cart_repo::MongoCartRepo`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::cart::repository::implementation::mongo_cart_repo::MongoCartRepo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::fulfillment::order::order_state::OrderAppState`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::fulfillment::order::order_state::OrderAppState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::fulfillment::order::repository::implementation::postgres_order_repo::PostgresOrderRepo`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::fulfillment::order::repository::implementation::postgres_order_repo::PostgresOrderRepo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::product_state::ProductAppState`
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::product::product_state::ProductAppState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::product::repository::implementation::mongo_product_repo::MongoProductRepo`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::product::repository::implementation::mongo_product_repo::MongoProductRepo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::SinkExt`
[INFO] [stdout]  --> src/fulfillment/order/api/order_api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::SinkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::SinkExt`
[INFO] [stdout]  --> src/fulfillment/order/api/order_api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use futures::SinkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shipping`
[INFO] [stdout]   --> src/fulfillment/shipping/repository/implementation/postgres_shipping_repo.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn add_shipping(&self, shipping: ShippingNew) -> actix_web::Result<Shipping> {
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shipping`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DB_NAME` is never used
[INFO] [stdout]   --> src/main.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const DB_NAME: &str = "agapao_db";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COLL_NAME` is never used
[INFO] [stdout]   --> src/main.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const COLL_NAME: &str = "products";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/cart/cart_state.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl CartAppState {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn new(repo: Arc<dyn CartRepository + Send + Sync>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_db` and `from_db` are never used
[INFO] [stdout]   --> src/cart/models/cart.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Cart {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn to_db(&self) -> CartDB {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn from_db(cart_db: CartDB, items: Vec<CartItem>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CartDB` is never constructed
[INFO] [stdout]  --> src/cart/models/domain/cart_db.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct CartDB {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostgresCartRepository` is never constructed
[INFO] [stdout]   --> src/cart/repository/implementation/postgres_cart_repo.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct PostgresCartRepository {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostgresProductRepo` is never constructed
[INFO] [stdout]   --> src/product/repository/implementation/postgres_product_repo.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct PostgresProductRepo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_dto`, `to_image_dto`, `to_size_dto`, and `from_dto` are never used
[INFO] [stdout]   --> src/product/models/product.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Product {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn to_dto(&self) -> ProductDTO {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn to_image_dto(&self) -> Vec<ProductImageDTO> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn to_size_dto(&self) -> Vec<ProductSizeDTO> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn from_dto(product_dto: &ProductDTO, image_dto: &Vec<ProductImageDTO>, size_dto: &Vec<ProductSizeDTO>) -> Product {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/product/models/category.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ProductCategory {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 15 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductDTO` is never constructed
[INFO] [stdout]  --> src/product/models/dto/product_dto.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ProductDTO {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductSizeDTO` is never constructed
[INFO] [stdout]  --> src/product/models/dto/product_size_dto.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProductSizeDTO {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductImageDTO` is never constructed
[INFO] [stdout]  --> src/product/models/dto/product_image_dto.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProductImageDTO {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fulfillment/order/models/domain/order_item.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl OrderItem {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shipping` is never constructed
[INFO] [stdout]  --> src/fulfillment/shipping/models/shipping.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Shipping {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShippingNew` is never constructed
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ShippingNew {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_new` are never used
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Shipping {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 27 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn from_new(shipping: ShippingNew) -> Shipping {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShippingStatus` is never used
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum ShippingStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `as_str` and `from_str` are never used
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl ShippingStatus {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 65 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Address` is never constructed
[INFO] [stdout]  --> src/fulfillment/shipping/models/address.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Address {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AddressNew` is never constructed
[INFO] [stdout]   --> src/fulfillment/shipping/models/address.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AddressNew {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ShippingRepository` is never used
[INFO] [stdout]  --> src/fulfillment/shipping/repository/interface/shipping_repo.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait ShippingRepository {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostgresShippingRepo` is never constructed
[INFO] [stdout]  --> src/fulfillment/shipping/repository/implementation/postgres_shipping_repo.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PostgresShippingRepo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_payment` is never used
[INFO] [stdout]   --> src/fulfillment/payment/payment_state.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl PaymentState {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub async fn make_payment(&self) -> actix_web::Result<Payment> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pending` is never used
[INFO] [stdout]   --> src/fulfillment/payment/models/domain/payment.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Payment {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn pending(order_id: String, amount_cents: i64) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `payment_state` is never read
[INFO] [stdout]   --> src/app_state.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub struct AppStates {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |         pub payment_state: web::Data<PaymentState>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shipping`
[INFO] [stdout]   --> src/fulfillment/shipping/repository/implementation/postgres_shipping_repo.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn add_shipping(&self, shipping: ShippingNew) -> actix_web::Result<Shipping> {
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shipping`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DB_NAME` is never used
[INFO] [stdout]   --> src/main.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const DB_NAME: &str = "agapao_db";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COLL_NAME` is never used
[INFO] [stdout]   --> src/main.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const COLL_NAME: &str = "products";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/cart/cart_state.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl CartAppState {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn new(repo: Arc<dyn CartRepository + Send + Sync>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_db` and `from_db` are never used
[INFO] [stdout]   --> src/cart/models/cart.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Cart {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn to_db(&self) -> CartDB {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn from_db(cart_db: CartDB, items: Vec<CartItem>) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CartDB` is never constructed
[INFO] [stdout]  --> src/cart/models/domain/cart_db.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct CartDB {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostgresCartRepository` is never constructed
[INFO] [stdout]   --> src/cart/repository/implementation/postgres_cart_repo.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct PostgresCartRepository {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostgresProductRepo` is never constructed
[INFO] [stdout]   --> src/product/repository/implementation/postgres_product_repo.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct PostgresProductRepo {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_dto`, `to_image_dto`, `to_size_dto`, and `from_dto` are never used
[INFO] [stdout]   --> src/product/models/product.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Product {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn to_dto(&self) -> ProductDTO {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn to_image_dto(&self) -> Vec<ProductImageDTO> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn to_size_dto(&self) -> Vec<ProductSizeDTO> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn from_dto(product_dto: &ProductDTO, image_dto: &Vec<ProductImageDTO>, size_dto: &Vec<ProductSizeDTO>) -> Product {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/product/models/category.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ProductCategory {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 15 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductDTO` is never constructed
[INFO] [stdout]  --> src/product/models/dto/product_dto.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ProductDTO {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductSizeDTO` is never constructed
[INFO] [stdout]  --> src/product/models/dto/product_size_dto.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProductSizeDTO {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProductImageDTO` is never constructed
[INFO] [stdout]  --> src/product/models/dto/product_image_dto.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ProductImageDTO {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/fulfillment/order/models/domain/order_item.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl OrderItem {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shipping` is never constructed
[INFO] [stdout]  --> src/fulfillment/shipping/models/shipping.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Shipping {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShippingNew` is never constructed
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct ShippingNew {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_new` are never used
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Shipping {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 27 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn from_new(shipping: ShippingNew) -> Shipping {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShippingStatus` is never used
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum ShippingStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `as_str` and `from_str` are never used
[INFO] [stdout]   --> src/fulfillment/shipping/models/shipping.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl ShippingStatus {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 65 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Address` is never constructed
[INFO] [stdout]  --> src/fulfillment/shipping/models/address.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Address {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AddressNew` is never constructed
[INFO] [stdout]   --> src/fulfillment/shipping/models/address.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AddressNew {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ShippingRepository` is never used
[INFO] [stdout]  --> src/fulfillment/shipping/repository/interface/shipping_repo.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait ShippingRepository {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostgresShippingRepo` is never constructed
[INFO] [stdout]  --> src/fulfillment/shipping/repository/implementation/postgres_shipping_repo.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PostgresShippingRepo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_payment` is never used
[INFO] [stdout]   --> src/fulfillment/payment/payment_state.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl PaymentState {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub async fn make_payment(&self) -> actix_web::Result<Payment> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pending` is never used
[INFO] [stdout]   --> src/fulfillment/payment/models/domain/payment.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Payment {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn pending(order_id: String, amount_cents: i64) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `payment_state` is never read
[INFO] [stdout]   --> src/app_state.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub struct AppStates {
[INFO] [stdout]    |                --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |         pub payment_state: web::Data<PaymentState>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s
[INFO] running `Command { std: "docker" "inspect" "b74d0d3d04602e384f6e080d923dc67d9b041bd00d81fc09df627951e5c37f06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b74d0d3d04602e384f6e080d923dc67d9b041bd00d81fc09df627951e5c37f06", kill_on_drop: false }`
[INFO] [stdout] b74d0d3d04602e384f6e080d923dc67d9b041bd00d81fc09df627951e5c37f06
