[INFO] cloning repository https://github.com/BrianIto/rust_sqlx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BrianIto/rust_sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianIto%2Frust_sqlx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianIto%2Frust_sqlx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7b2b54a67804874267d77f68ea0f7cee149a3e5
[INFO] checking BrianIto/rust_sqlx against d8df82673d5911b6112a85bf91d9adefb2c66a1a for pr-162242
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrianIto%2Frust_sqlx" "/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/BrianIto/rust_sqlx
[INFO] finished tweaking git repo https://github.com/BrianIto/rust_sqlx
[INFO] tweaked toml for git repo https://github.com/BrianIto/rust_sqlx written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BrianIto/rust_sqlx on toolchain d8df82673d5911b6112a85bf91d9adefb2c66a1a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8df82673d5911b6112a85bf91d9adefb2c66a1a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BrianIto/rust_sqlx 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" "+d8df82673d5911b6112a85bf91d9adefb2c66a1a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `relational_dbs` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-5-tc1/source/target/.../relational_dbs
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `relational-dbs`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 - name = "relational_dbs"
[INFO] [stderr] 24 + name = "relational-dbs"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `relational-dbs`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:25:19
[INFO] [stderr]    |
[INFO] [stderr] 25 ~ version = "0.1.0"
[INFO] [stderr] 26 + [[bin]]
[INFO] [stderr] 27 + name = "relational-dbs"
[INFO] [stderr] 28 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `relational_dbs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546
[INFO] running `Command { std: "docker" "start" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546" "/opt/rustwide/cargo-home/bin/cargo" "+d8df82673d5911b6112a85bf91d9adefb2c66a1a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546" "/opt/rustwide/cargo-home/bin/cargo" "+d8df82673d5911b6112a85bf91d9adefb2c66a1a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `relational_dbs` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../relational_dbs
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `relational-dbs`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 - name = "relational_dbs"
[INFO] [stderr] 24 + name = "relational-dbs"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `relational-dbs`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:25:19
[INFO] [stderr]    |
[INFO] [stderr] 25 ~ version = "0.1.0"
[INFO] [stderr] 26 + [[bin]]
[INFO] [stderr] 27 + name = "relational-dbs"
[INFO] [stderr] 28 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `relational_dbs` (manifest) generated 1 warning
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]     Checking serde_core v1.0.229
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling cmov v0.5.4
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking hybrid-array v0.4.14
[INFO] [stderr]    Compiling futures-core v0.3.33
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]     Checking generic-array v0.14.9
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling futures-sink v0.3.33
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling rust_decimal v1.42.1
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling tinyvec v1.12.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling strum_macros v0.28.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling arrayvec v0.7.8
[INFO] [stderr]    Compiling futures-task v0.3.33
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling futures-io v0.3.33
[INFO] [stderr]     Checking compact_str v0.9.1
[INFO] [stderr]    Compiling futures-util v0.3.33
[INFO] [stderr]    Compiling event-listener v5.4.2
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.13
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling chacha20 v0.10.1
[INFO] [stderr]    Compiling hashlink v0.11.1
[INFO] [stderr]     Checking lru v0.18.1
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling uuid v1.24.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rand v0.10.2
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]    Compiling futures-channel v0.3.33
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling whoami v2.1.2
[INFO] [stderr]    Compiling owo-colors v4.3.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking strum v0.28.0
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]     Checking line-clipping v0.3.7
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling color-spantrace v0.3.0
[INFO] [stderr]    Compiling md-5 v0.11.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]    Compiling hkdf v0.13.0
[INFO] [stderr]    Compiling sha2 v0.11.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking tracing-error v0.2.1
[INFO] [stderr]     Checking object v0.37.3
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking rustc-demangle v0.1.28
[INFO] [stderr]     Checking kasuari v0.4.12
[INFO] [stderr]     Checking eyre v0.6.12
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]    Compiling tokio-stream v0.1.19
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling either v1.17.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling sqlx-core v0.9.0
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking color-eyre v0.6.5
[INFO] [stderr]     Checking unicode-truncate v2.0.1
[INFO] [stderr]     Checking ratatui-core v0.1.2
[INFO] [stderr]     Checking ratatui-widgets v0.3.2
[INFO] [stderr]     Checking ratatui-crossterm v0.1.2
[INFO] [stderr]     Checking ratatui-macros v0.7.2
[INFO] [stderr]     Checking ratatui v0.30.2
[INFO] [stderr]    Compiling sqlx-postgres v0.9.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking relational_dbs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `created_at` and `updated_at` are never read
[INFO] [stdout]   --> src/entities/category.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Category {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 11 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Category` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `created_at` and `updated_at` are never read
[INFO] [stdout]   --> src/entities/products.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Product {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 15 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Product` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseItem` is never constructed
[INFO] [stdout]  --> src/entities/purchase_items.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PurchaseItem {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Purchase` is never constructed
[INFO] [stdout]  --> src/entities/purchases.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Purchase {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseWithItems` is never constructed
[INFO] [stdout]   --> src/entities/purchases.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct PurchaseWithItems {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/entities/purchases.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl PurchaseWithItems {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(purchase: Purchase, items: Vec<super::PurchaseItem>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MovementType` is never used
[INFO] [stdout]  --> src/entities/stock_movements.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum MovementType {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StockMovement` is never constructed
[INFO] [stdout]   --> src/entities/stock_movements.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct StockMovement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Validation` and `NotFound` are never constructed
[INFO] [stdout]   --> src/errors.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  8 |     Validation(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  9 |     #[error("not found: {0}")]
[INFO] [stdout] 10 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find` is never used
[INFO] [stdout]   --> src/repositories/product_repository.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn find(pool: &PgPool, id: Uuid) -> AppResult<Option<Product>> {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]   --> src/repositories/product_repository.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn delete(pool: &PgPool, id: Uuid) -> AppResult<()> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find` is never used
[INFO] [stdout]  --> src/repositories/purchase_repository.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn find(pool: &PgPool, id: Uuid) -> AppResult<Option<Purchase>> {
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `items` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub async fn items(pool: &PgPool, purchase_id: Uuid) -> AppResult<Vec<PurchaseItem>> {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_with_items` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn find_with_items(pool: &PgPool, id: Uuid) -> AppResult<Option<PurchaseWithItems>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub async fn create(pool: &PgPool, purchase: &Purchase) -> AppResult<Purchase> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_transactional` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn create_transactional(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_items` is never used
[INFO] [stdout]    --> src/repositories/purchase_repository.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub async fn create_items(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_item` is never used
[INFO] [stdout]    --> src/repositories/purchase_repository.rs:148:14
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub async fn create_item(pool: &PgPool, item: &PurchaseItem) -> AppResult<PurchaseItem> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `movements_for_product` is never used
[INFO] [stdout]  --> src/repositories/stock_repository.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn movements_for_product(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_movement` is never used
[INFO] [stdout]   --> src/repositories/stock_repository.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn create_movement(pool: &PgPool, movement: &StockMovement) -> AppResult<StockMovement> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_movement` is never used
[INFO] [stdout]   --> src/repositories/stock_repository.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub async fn update_movement(pool: &PgPool, movement: &StockMovement) -> AppResult<StockMovement> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_movement` is never used
[INFO] [stdout]   --> src/repositories/stock_repository.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn delete_movement(pool: &PgPool, movement_id: uuid::Uuid) -> AppResult<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InventoryService` is never constructed
[INFO] [stdout]   --> src/services/inventory_service.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InventoryService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `record_movement` are never used
[INFO] [stdout]   --> src/services/inventory_service.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl InventoryService {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(pool: PgPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub async fn record_movement(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find` is never used
[INFO] [stdout]   --> src/services/product_service.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ProductService {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub async fn find(&self, id: uuid::Uuid) -> AppResult<Option<Product>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseService` is never constructed
[INFO] [stdout]   --> src/services/purchase_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PurchaseService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseLine` is never constructed
[INFO] [stdout]   --> src/services/purchase_service.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PurchaseLine {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `create` are never used
[INFO] [stdout]   --> src/services/purchase_service.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl PurchaseService {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new(pool: PgPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn create(&self, lines: &[PurchaseLine]) -> AppResult<Uuid> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `created_at` and `updated_at` are never read
[INFO] [stdout]   --> src/entities/category.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Category {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 11 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Category` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `created_at` and `updated_at` are never read
[INFO] [stdout]   --> src/entities/products.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Product {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub created_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 15 |     pub updated_at: Option<NaiveDateTime>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Product` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseItem` is never constructed
[INFO] [stdout]  --> src/entities/purchase_items.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PurchaseItem {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Purchase` is never constructed
[INFO] [stdout]  --> src/entities/purchases.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Purchase {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseWithItems` is never constructed
[INFO] [stdout]   --> src/entities/purchases.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct PurchaseWithItems {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/entities/purchases.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl PurchaseWithItems {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(purchase: Purchase, items: Vec<super::PurchaseItem>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MovementType` is never used
[INFO] [stdout]  --> src/entities/stock_movements.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum MovementType {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StockMovement` is never constructed
[INFO] [stdout]   --> src/entities/stock_movements.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct StockMovement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Validation` and `NotFound` are never constructed
[INFO] [stdout]   --> src/errors.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  8 |     Validation(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]  9 |     #[error("not found: {0}")]
[INFO] [stdout] 10 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find` is never used
[INFO] [stdout]   --> src/repositories/product_repository.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn find(pool: &PgPool, id: Uuid) -> AppResult<Option<Product>> {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]   --> src/repositories/product_repository.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn delete(pool: &PgPool, id: Uuid) -> AppResult<()> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find` is never used
[INFO] [stdout]  --> src/repositories/purchase_repository.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn find(pool: &PgPool, id: Uuid) -> AppResult<Option<Purchase>> {
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `items` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub async fn items(pool: &PgPool, purchase_id: Uuid) -> AppResult<Vec<PurchaseItem>> {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_with_items` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub async fn find_with_items(pool: &PgPool, id: Uuid) -> AppResult<Option<PurchaseWithItems>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub async fn create(pool: &PgPool, purchase: &Purchase) -> AppResult<Purchase> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_transactional` is never used
[INFO] [stdout]   --> src/repositories/purchase_repository.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub async fn create_transactional(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_items` is never used
[INFO] [stdout]    --> src/repositories/purchase_repository.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub async fn create_items(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_item` is never used
[INFO] [stdout]    --> src/repositories/purchase_repository.rs:148:14
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub async fn create_item(pool: &PgPool, item: &PurchaseItem) -> AppResult<PurchaseItem> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `movements_for_product` is never used
[INFO] [stdout]  --> src/repositories/stock_repository.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn movements_for_product(
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_movement` is never used
[INFO] [stdout]   --> src/repositories/stock_repository.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn create_movement(pool: &PgPool, movement: &StockMovement) -> AppResult<StockMovement> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_movement` is never used
[INFO] [stdout]   --> src/repositories/stock_repository.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub async fn update_movement(pool: &PgPool, movement: &StockMovement) -> AppResult<StockMovement> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_movement` is never used
[INFO] [stdout]   --> src/repositories/stock_repository.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn delete_movement(pool: &PgPool, movement_id: uuid::Uuid) -> AppResult<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InventoryService` is never constructed
[INFO] [stdout]   --> src/services/inventory_service.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct InventoryService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `record_movement` are never used
[INFO] [stdout]   --> src/services/inventory_service.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl InventoryService {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(pool: PgPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub async fn record_movement(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find` is never used
[INFO] [stdout]   --> src/services/product_service.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ProductService {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub async fn find(&self, id: uuid::Uuid) -> AppResult<Option<Product>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseService` is never constructed
[INFO] [stdout]   --> src/services/purchase_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PurchaseService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseLine` is never constructed
[INFO] [stdout]   --> src/services/purchase_service.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PurchaseLine {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `create` are never used
[INFO] [stdout]   --> src/services/purchase_service.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl PurchaseService {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new(pool: PgPool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn create(&self, lines: &[PurchaseLine]) -> AppResult<Uuid> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546", kill_on_drop: false }`
[INFO] [stdout] 9a55e81f31ae14bac458c4b481ef268bda46583d4b422c30f1d1cfb9f9d68546
