[INFO] cloning repository https://github.com/aribowobob/pos-be
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aribowobob/pos-be" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faribowobob%2Fpos-be", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faribowobob%2Fpos-be'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 721667547a99b6220292cd386478052b5a2e5d6e
[INFO] checking aribowobob/pos-be against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faribowobob%2Fpos-be" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/aribowobob/pos-be
[INFO] finished tweaking git repo https://github.com/aribowobob/pos-be
[INFO] tweaked toml for git repo https://github.com/aribowobob/pos-be written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aribowobob/pos-be on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aribowobob/pos-be 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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b364032f3272ccb30091d56c11b088c70537948a16a201cc034483a1ad1c442a
[INFO] running `Command { std: "docker" "start" "-a" "b364032f3272ccb30091d56c11b088c70537948a16a201cc034483a1ad1c442a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b364032f3272ccb30091d56c11b088c70537948a16a201cc034483a1ad1c442a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b364032f3272ccb30091d56c11b088c70537948a16a201cc034483a1ad1c442a", kill_on_drop: false }`
[INFO] [stdout] b364032f3272ccb30091d56c11b088c70537948a16a201cc034483a1ad1c442a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88fbd6685eed6aa250e3da3a15397ade174bd665da33993a5d8158fc5ebb6d0c
[INFO] running `Command { std: "docker" "start" "-a" "88fbd6685eed6aa250e3da3a15397ade174bd665da33993a5d8158fc5ebb6d0c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking bytes v1.10.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling zstd-safe v7.2.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling tinyvec v1.8.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]     Checking brotli-decompressor v4.0.2
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling ring v0.17.11
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling zstd-sys v2.0.14+zstd.1.5.7
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling shellexpand v2.1.2
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling tempfile v3.17.1
[INFO] [stderr]     Checking rust-embed-utils v7.8.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking pem v1.1.1
[INFO] [stderr]     Checking is-terminal v0.4.15
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling utoipa-swagger-ui v3.1.5
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling rust-embed-impl v6.8.1
[INFO] [stderr]    Compiling utoipa-gen v3.5.0
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking rust-embed v6.8.1
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.14.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking jsonwebtoken v8.3.0
[INFO] [stderr]     Checking utoipa v3.5.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking oauth2 v4.4.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking actix-cors v0.6.5
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking pos-be v0.0.19 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/handlers/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Deserialize;
[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: `DetailedOrderResponse`, `SalesCartResponse`, `SalesReportQuery`, and `SalesReport`
[INFO] [stdout]  --> src/handlers/sales.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...s::{SalesCartResponse, NewSalesCart, UpdateSalesCart, CreateOrderRequest, SalesReport, DetailedOrderResponse, SalesReportQuery};
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^                                                     ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedPurchaseOrderResponse`, `PurchaseCartResponse`, and `PurchaseReport`
[INFO] [stdout]  --> src/handlers/purchases.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...::{PurchaseCartResponse, NewPurchaseCart, UpdatePurchaseCart, CreatePurchaseOrderRequest, PurchaseReport, DetailedPurchaseOrderResponse, P...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^                                                                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/middleware/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/middleware/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/middleware/auth.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ServiceError`
[INFO] [stdout]   --> src/middleware/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::errors::ServiceError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]  --> src/middleware/skip_auth.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::task::{Context, Poll};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/middleware/extract_auth.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/user.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/models/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/product.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/handlers/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Deserialize;
[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: `DetailedOrderResponse`, `SalesCartResponse`, `SalesReportQuery`, and `SalesReport`
[INFO] [stdout]  --> src/handlers/sales.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...s::{SalesCartResponse, NewSalesCart, UpdateSalesCart, CreateOrderRequest, SalesReport, DetailedOrderResponse, SalesReportQuery};
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^                                                     ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedPurchaseOrderResponse`, `PurchaseCartResponse`, and `PurchaseReport`
[INFO] [stdout]  --> src/handlers/purchases.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...::{PurchaseCartResponse, NewPurchaseCart, UpdatePurchaseCart, CreatePurchaseOrderRequest, PurchaseReport, DetailedPurchaseOrderResponse, P...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^                                                                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/middleware/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/middleware/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/middleware/auth.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ServiceError`
[INFO] [stdout]   --> src/middleware/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::errors::ServiceError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]  --> src/middleware/skip_auth.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::task::{Context, Poll};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/middleware/extract_auth.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/user.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/services/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/models/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]   --> src/services/auth.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]    |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/services/user_service.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/product.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/services/user_service.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::models::user::{Store, User, UserWithStores};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool`
[INFO] [stdout]  --> src/services/product_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::postgres::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/services/sales_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PurchaseOrderDetail`
[INFO] [stdout]  --> src/services/purchase_service.rs:2:120
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...e, NewPurchaseCart, UpdatePurchaseCart, PurchaseOrder, PurchaseOrderDetail, CreatePurchaseOrderRequest, PurchaseOrderResponse,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Postgres` and `Transaction`
[INFO] [stdout]  --> src/services/purchase_service.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::{Row, Transaction, Postgres, FromRow};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/services/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]   --> src/services/auth.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]    |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/services/user_service.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/services/user_service.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::models::user::{Store, User, UserWithStores};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool`
[INFO] [stdout]  --> src/services/product_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::postgres::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/services/sales_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PurchaseOrderDetail`
[INFO] [stdout]  --> src/services/purchase_service.rs:2:120
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...e, NewPurchaseCart, UpdatePurchaseCart, PurchaseOrder, PurchaseOrderDetail, CreatePurchaseOrderRequest, PurchaseOrderResponse,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Postgres` and `Transaction`
[INFO] [stdout]  --> src/services/purchase_service.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::{Row, Transaction, Postgres, FromRow};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/docs/schemas.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rust_decimal::Decimal;
[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: `DateTime` and `Utc`
[INFO] [stdout]  --> src/docs/schemas.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedOrderResponse`, `DetailedPurchaseOrderResponse`, `PurchaseReportQuery`, `PurchaseSummary`, `SalesReportQuery`, and `SalesSummary`
[INFO] [stdout]   --> src/docs/mod.rs:14:50
[INFO] [stdout]    |
[INFO] [stdout] 14 |             UpdateSalesCart, CreateOrderRequest, SalesReportQuery, SalesReport, SalesCart, SalesCartResponse,
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |             NewSalesCart, SalesSummary, DetailedOrderResponse
[INFO] [stdout]    |                           ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |             UpdatePurchaseCart, CreatePurchaseOrderRequest, PurchaseReportQuery, PurchaseReport, PurchaseCart, PurchaseCartResponse,
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |             NewPurchaseCart, PurchaseSummary, DetailedPurchaseOrderResponse
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/handlers/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedOrderResponse`, `SalesCartResponse`, `SalesReportQuery`, and `SalesReport`
[INFO] [stdout]  --> src/handlers/sales.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...s::{SalesCartResponse, NewSalesCart, UpdateSalesCart, CreateOrderRequest, SalesReport, DetailedOrderResponse, SalesReportQuery};
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^                                                     ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedPurchaseOrderResponse`, `PurchaseCartResponse`, and `PurchaseReport`
[INFO] [stdout]  --> src/handlers/purchases.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...::{PurchaseCartResponse, NewPurchaseCart, UpdatePurchaseCart, CreatePurchaseOrderRequest, PurchaseReport, DetailedPurchaseOrderResponse, P...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^                                                                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/middleware/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/middleware/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/middleware/auth.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ServiceError`
[INFO] [stdout]   --> src/middleware/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::errors::ServiceError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]  --> src/middleware/skip_auth.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::task::{Context, Poll};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/middleware/extract_auth.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/user.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/models/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/product.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::ApiResponse`
[INFO] [stdout]   --> src/models/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use response::ApiResponse;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/services/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]   --> src/services/auth.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]    |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/services/user_service.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/services/user_service.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::models::user::{Store, User, UserWithStores};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool`
[INFO] [stdout]  --> src/services/product_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::postgres::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/services/sales_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PurchaseOrderDetail`
[INFO] [stdout]  --> src/services/purchase_service.rs:2:120
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...e, NewPurchaseCart, UpdatePurchaseCart, PurchaseOrder, PurchaseOrderDetail, CreatePurchaseOrderRequest, PurchaseOrderResponse,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Postgres` and `Transaction`
[INFO] [stdout]  --> src/services/purchase_service.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::{Row, Transaction, Postgres, FromRow};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/docs/schemas.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rust_decimal::Decimal;
[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: `DateTime` and `Utc`
[INFO] [stdout]  --> src/docs/schemas.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedOrderResponse`, `DetailedPurchaseOrderResponse`, `PurchaseReportQuery`, `PurchaseSummary`, `SalesReportQuery`, and `SalesSummary`
[INFO] [stdout]   --> src/docs/mod.rs:14:50
[INFO] [stdout]    |
[INFO] [stdout] 14 |             UpdateSalesCart, CreateOrderRequest, SalesReportQuery, SalesReport, SalesCart, SalesCartResponse,
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |             NewSalesCart, SalesSummary, DetailedOrderResponse
[INFO] [stdout]    |                           ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |             UpdatePurchaseCart, CreatePurchaseOrderRequest, PurchaseReportQuery, PurchaseReport, PurchaseCart, PurchaseCartResponse,
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |             NewPurchaseCart, PurchaseSummary, DetailedPurchaseOrderResponse
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/handlers/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedOrderResponse`, `SalesCartResponse`, `SalesReportQuery`, and `SalesReport`
[INFO] [stdout]  --> src/handlers/sales.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...s::{SalesCartResponse, NewSalesCart, UpdateSalesCart, CreateOrderRequest, SalesReport, DetailedOrderResponse, SalesReportQuery};
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^                                                     ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DetailedPurchaseOrderResponse`, `PurchaseCartResponse`, and `PurchaseReport`
[INFO] [stdout]  --> src/handlers/purchases.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...::{PurchaseCartResponse, NewPurchaseCart, UpdatePurchaseCart, CreatePurchaseOrderRequest, PurchaseReport, DetailedPurchaseOrderResponse, P...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^                                                                   ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/middleware/auth.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/middleware/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]   --> src/middleware/auth.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::task::{Context, Poll};
[INFO] [stdout]    |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::errors::ServiceError`
[INFO] [stdout]   --> src/middleware/auth.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::errors::ServiceError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context` and `Poll`
[INFO] [stdout]  --> src/middleware/skip_auth.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::task::{Context, Poll};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/middleware/extract_auth.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{info, error, debug};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/user.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/models/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/models/product.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, NaiveDateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `response::ApiResponse`
[INFO] [stdout]   --> src/models/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use response::ApiResponse;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/services/auth.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]   --> src/services/auth.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]    |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `Utc`
[INFO] [stdout]  --> src/services/user_service.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc, NaiveDateTime};
[INFO] [stdout]   |              ^^^^^^^^  ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/services/user_service.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::models::user::{Store, User, UserWithStores};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::postgres::PgPool`
[INFO] [stdout]  --> src/services/product_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::postgres::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Utc`
[INFO] [stdout]  --> src/services/sales_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::Utc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PurchaseOrderDetail`
[INFO] [stdout]  --> src/services/purchase_service.rs:2:120
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...e, NewPurchaseCart, UpdatePurchaseCart, PurchaseOrder, PurchaseOrderDetail, CreatePurchaseOrderRequest, PurchaseOrderResponse,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Postgres` and `Transaction`
[INFO] [stdout]  --> src/services/purchase_service.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::{Row, Transaction, Postgres, FromRow};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkipAuth` is never constructed
[INFO] [stdout]   --> src/middleware/skip_auth.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SkipAuth;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkipAuthMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/skip_auth.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct SkipAuthMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoogleTokenInfo` is never constructed
[INFO] [stdout]  --> src/models/auth.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct GoogleTokenInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewUser` is never constructed
[INFO] [stdout]   --> src/models/user.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct NewUser {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewUserStore` is never constructed
[INFO] [stdout]   --> src/models/user.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct NewUserStore {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseOrderDetail` is never constructed
[INFO] [stdout]   --> src/models/purchases.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct PurchaseOrderDetail {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkipAuth` is never constructed
[INFO] [stdout]   --> src/middleware/skip_auth.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SkipAuth;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SkipAuthMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/skip_auth.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct SkipAuthMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GoogleTokenInfo` is never constructed
[INFO] [stdout]  --> src/models/auth.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct GoogleTokenInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewUser` is never constructed
[INFO] [stdout]   --> src/models/user.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct NewUser {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewUserStore` is never constructed
[INFO] [stdout]   --> src/models/user.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct NewUserStore {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseOrderDetail` is never constructed
[INFO] [stdout]   --> src/models/purchases.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct PurchaseOrderDetail {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "88fbd6685eed6aa250e3da3a15397ade174bd665da33993a5d8158fc5ebb6d0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88fbd6685eed6aa250e3da3a15397ade174bd665da33993a5d8158fc5ebb6d0c", kill_on_drop: false }`
[INFO] [stdout] 88fbd6685eed6aa250e3da3a15397ade174bd665da33993a5d8158fc5ebb6d0c
