[INFO] cloning repository https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarls-rodrigues%2FThe-Warehouse-Hub---TWH", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarls-rodrigues%2FThe-Warehouse-Hub---TWH'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b68bddfd9727f373c081ef0ab408d51bf104b5a0
[INFO] checking carls-rodrigues/The-Warehouse-Hub---TWH/b68bddfd9727f373c081ef0ab408d51bf104b5a0 against eff8269f797067c30555e77f160ec84c0ed15cd9 for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarls-rodrigues%2FThe-Warehouse-Hub---TWH" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH
[INFO] finished tweaking git repo https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH
[INFO] tweaked toml for git repo https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH on toolchain eff8269f797067c30555e77f160ec84c0ed15cd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/carls-rodrigues/The-Warehouse-Hub---TWH 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" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded opentelemetry v0.24.0
[INFO] [stderr]   Downloaded tracing-opentelemetry v0.25.0
[INFO] [stderr]   Downloaded opentelemetry_sdk v0.24.1
[INFO] [stderr]   Downloaded syn v2.0.107
[INFO] [stderr]   Downloaded opentelemetry-prometheus v0.17.0
[INFO] [stderr]   Downloaded opentelemetry-otlp v0.17.0
[INFO] [stderr]   Downloaded mockall v0.12.1
[INFO] [stderr]   Downloaded rustls v0.23.33
[INFO] [stderr]   Downloaded mockall_derive v0.12.1
[INFO] [stderr]   Downloaded opentelemetry-proto v0.7.0
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] [stderr]   Downloaded axum v0.8.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5
[INFO] running `Command { std: "docker" "start" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5", 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" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5" "/opt/rustwide/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5", 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" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5" "/opt/rustwide/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling syn v2.0.107
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking deranged v0.5.4
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking opentelemetry v0.24.0
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking mockall v0.12.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking prost v0.13.5
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking opentelemetry_sdk v0.24.1
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking opentelemetry-prometheus v0.17.0
[INFO] [stderr]     Checking tracing-opentelemetry v0.25.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking redis v0.32.7
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.8.6
[INFO] [stderr]     Checking tonic v0.12.3
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking opentelemetry-proto v0.7.0
[INFO] [stderr]     Checking opentelemetry-otlp v0.17.0
[INFO] [stderr]     Checking The-Warehouse-Hub---TWH v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/application/use_cases/get_billing_metrics.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             sqlx::query!("SELECT COUNT(*) as count FROM webhook_deliveries")
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/application/use_cases/get_billing_metrics.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 27 |           let successful_deliveries = sqlx::query!(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 28 | |             "SELECT COUNT(*) as count FROM webhook_deliveries WHERE status = 'SUCCESS'"
[INFO] [stdout] 29 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/application/use_cases/get_billing_metrics.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |           let failed_deliveries = sqlx::query!(
[INFO] [stdout]    |  _________________________________^
[INFO] [stdout] 39 | |             "SELECT COUNT(*) as count FROM webhook_deliveries WHERE status IN ('FAILED', 'TIMEOUT', 'DLQ')"
[INFO] [stdout] 40 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/application/use_cases/get_billing_metrics.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             sqlx::query!("SELECT COUNT(*) as count FROM webhook_deliveries")
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/application/use_cases/get_billing_metrics.rs:27:37
[INFO] [stdout]    |
[INFO] [stdout] 27 |           let successful_deliveries = sqlx::query!(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 28 | |             "SELECT COUNT(*) as count FROM webhook_deliveries WHERE status = 'SUCCESS'"
[INFO] [stdout] 29 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/application/use_cases/get_billing_metrics.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |           let failed_deliveries = sqlx::query!(
[INFO] [stdout]    |  _________________________________^
[INFO] [stdout] 39 | |             "SELECT COUNT(*) as count FROM webhook_deliveries WHERE status IN ('FAILED', 'TIMEOUT', 'DLQ')"
[INFO] [stdout] 40 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/controllers/items_controller.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 158 |     sqlx::query!("SELECT set_tenant_context($1)", tenant_id)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/controllers/items_controller.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 158 |     sqlx::query!("SELECT set_tenant_context($1)", tenant_id)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_item_repository.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | ... = sqlx::query!("SELECT items.id, sku, name, des...ems.tenant_id = get_current_tenant_id()", id)
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_item_repository.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 | ... = sqlx::query!("SELECT items.id, sku, name, des...ms.tenant_id = get_current_tenant_id()", sku)
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | /         sqlx::query!(
[INFO] [stdout] 116 | |             r#"
[INFO] [stdout] 117 | |             INSERT INTO items (id, sku, name, description, category, unit, barcode, cost_price, sale_price,
[INFO] [stdout] 118 | |                               reorder_point, reorder_qty, weight, dimensions, metadata, tenant_id, active, created_at, updated_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |             item.updated_at
[INFO] [stdout] 139 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 | /         sqlx::query!(
[INFO] [stdout] 154 | |             r#"
[INFO] [stdout] 155 | |             UPDATE items
[INFO] [stdout] 156 | |             SET sku = $2, name = $3, description = $4, category = $5, unit = $6, barcode = $7,
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |             item.updated_at
[INFO] [stdout] 177 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 | /         sqlx::query!(
[INFO] [stdout] 187 | |             r#"
[INFO] [stdout] 188 | |             DELETE FROM items WHERE id = $1 AND items.tenant_id = get_current_tenant_id()
[INFO] [stdout] 189 | |             "#,
[INFO] [stdout] 190 | |             id
[INFO] [stdout] 191 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:200:20
[INFO] [stdout]     |
[INFO] [stdout] 200 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 201 | |             r#"
[INFO] [stdout] 202 | |             SELECT id, sku, name, description, category, unit, barcode, cost_price, sale_price,
[INFO] [stdout] 203 | |                    reorder_point, reorder_qty, weight, dimensions, metadata, items.tenant_id, active, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | |             offset
[INFO] [stdout] 211 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:248:34
[INFO] [stdout]     |
[INFO] [stdout] 248 |           let count: Option<i64> = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 249 | |             r#"
[INFO] [stdout] 250 | |             SELECT COUNT(*) FROM items WHERE items.tenant_id = get_current_tenant_id()
[INFO] [stdout] 251 | |             "#
[INFO] [stdout] 252 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:266:13
[INFO] [stdout]     |
[INFO] [stdout] 266 | /             sqlx::query_scalar!(
[INFO] [stdout] 267 | |                 "SELECT COUNT(*) FROM items WHERE sku = $1 AND items.tenant_id = get_current_tenant_id() AND id != $2",
[INFO] [stdout] 268 | |                 sku,
[INFO] [stdout] 269 | |                 exclude_id
[INFO] [stdout] 270 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |             sqlx::query_scalar!("SELECT COUNT(*) FROM items WHERE sku = $1 AND items.tenant_id = get_current_tenant_id()", sku)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_item_repository.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | ... = sqlx::query!("SELECT items.id, sku, name, des...ems.tenant_id = get_current_tenant_id()", id)
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_item_repository.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 | ... = sqlx::query!("SELECT items.id, sku, name, des...ms.tenant_id = get_current_tenant_id()", sku)
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | /         sqlx::query!(
[INFO] [stdout] 116 | |             r#"
[INFO] [stdout] 117 | |             INSERT INTO items (id, sku, name, description, category, unit, barcode, cost_price, sale_price,
[INFO] [stdout] 118 | |                               reorder_point, reorder_qty, weight, dimensions, metadata, tenant_id, active, created_at, updated_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |             item.updated_at
[INFO] [stdout] 139 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 | /         sqlx::query!(
[INFO] [stdout] 154 | |             r#"
[INFO] [stdout] 155 | |             UPDATE items
[INFO] [stdout] 156 | |             SET sku = $2, name = $3, description = $4, category = $5, unit = $6, barcode = $7,
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |             item.updated_at
[INFO] [stdout] 177 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 | /         sqlx::query!(
[INFO] [stdout] 187 | |             r#"
[INFO] [stdout] 188 | |             DELETE FROM items WHERE id = $1 AND items.tenant_id = get_current_tenant_id()
[INFO] [stdout] 189 | |             "#,
[INFO] [stdout] 190 | |             id
[INFO] [stdout] 191 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:200:20
[INFO] [stdout]     |
[INFO] [stdout] 200 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 201 | |             r#"
[INFO] [stdout] 202 | |             SELECT id, sku, name, description, category, unit, barcode, cost_price, sale_price,
[INFO] [stdout] 203 | |                    reorder_point, reorder_qty, weight, dimensions, metadata, items.tenant_id, active, created_at, updated_at
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | |             offset
[INFO] [stdout] 211 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:248:34
[INFO] [stdout]     |
[INFO] [stdout] 248 |           let count: Option<i64> = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 249 | |             r#"
[INFO] [stdout] 250 | |             SELECT COUNT(*) FROM items WHERE items.tenant_id = get_current_tenant_id()
[INFO] [stdout] 251 | |             "#
[INFO] [stdout] 252 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:266:13
[INFO] [stdout]     |
[INFO] [stdout] 266 | /             sqlx::query_scalar!(
[INFO] [stdout] 267 | |                 "SELECT COUNT(*) FROM items WHERE sku = $1 AND items.tenant_id = get_current_tenant_id() AND id != $2",
[INFO] [stdout] 268 | |                 sku,
[INFO] [stdout] 269 | |                 exclude_id
[INFO] [stdout] 270 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_item_repository.rs:274:13
[INFO] [stdout]     |
[INFO] [stdout] 274 |             sqlx::query_scalar!("SELECT COUNT(*) FROM items WHERE sku = $1 AND items.tenant_id = get_current_tenant_id()", sku)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_job_repository.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 23 | |             r#"
[INFO] [stdout] 24 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 25 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |             job_id
[INFO] [stdout] 30 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_job_repository.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 72 | |             r#"
[INFO] [stdout] 73 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 74 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 | /         sqlx::query!(
[INFO] [stdout] 127 | |             r#"
[INFO] [stdout] 128 | |             INSERT INTO jobs (id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 129 | |                              created_at, updated_at, started_at, completed_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |             job.completed_at
[INFO] [stdout] 145 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 | /         sqlx::query!(
[INFO] [stdout] 161 | |             r#"
[INFO] [stdout] 162 | |             UPDATE jobs
[INFO] [stdout] 163 | |             SET status = $1, progress = $2, result_url = $3, errors = $4,
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |             job.id
[INFO] [stdout] 175 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:189:20
[INFO] [stdout]     |
[INFO] [stdout] 189 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 190 | |             r#"
[INFO] [stdout] 191 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 192 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |             offset
[INFO] [stdout] 201 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:242:22
[INFO] [stdout]     |
[INFO] [stdout] 242 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             SELECT COUNT(*) as count
[INFO] [stdout] 245 | |             FROM jobs
[INFO] [stdout] ...   |
[INFO] [stdout] 248 | |             tenant_id
[INFO] [stdout] 249 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:263:20
[INFO] [stdout]     |
[INFO] [stdout] 263 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 266 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...   |
[INFO] [stdout] 274 | |             limit
[INFO] [stdout] 275 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_job_repository.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 23 | |             r#"
[INFO] [stdout] 24 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 25 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |             job_id
[INFO] [stdout] 30 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_job_repository.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 72 | |             r#"
[INFO] [stdout] 73 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 74 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 | /         sqlx::query!(
[INFO] [stdout] 127 | |             r#"
[INFO] [stdout] 128 | |             INSERT INTO jobs (id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 129 | |                              created_at, updated_at, started_at, completed_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |             job.completed_at
[INFO] [stdout] 145 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 | /         sqlx::query!(
[INFO] [stdout] 161 | |             r#"
[INFO] [stdout] 162 | |             UPDATE jobs
[INFO] [stdout] 163 | |             SET status = $1, progress = $2, result_url = $3, errors = $4,
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |             job.id
[INFO] [stdout] 175 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:189:20
[INFO] [stdout]     |
[INFO] [stdout] 189 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 190 | |             r#"
[INFO] [stdout] 191 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 192 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |             offset
[INFO] [stdout] 201 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:242:22
[INFO] [stdout]     |
[INFO] [stdout] 242 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             SELECT COUNT(*) as count
[INFO] [stdout] 245 | |             FROM jobs
[INFO] [stdout] ...   |
[INFO] [stdout] 248 | |             tenant_id
[INFO] [stdout] 249 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_job_repository.rs:263:20
[INFO] [stdout]     |
[INFO] [stdout] 263 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 264 | |             r#"
[INFO] [stdout] 265 | |             SELECT id, job_id, tenant_id, type, status, progress, payload, result_url, errors,
[INFO] [stdout] 266 | |                    created_at, updated_at, started_at, completed_at
[INFO] [stdout] ...   |
[INFO] [stdout] 274 | |             limit
[INFO] [stdout] 275 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 27 | |             r#"
[INFO] [stdout] 28 | |             SELECT
[INFO] [stdout] 29 | |                 po.id, po.po_number, po.supplier_id, po.status, po.expected_date,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |             id
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 105 | |             r#"
[INFO] [stdout] 106 | |             SELECT id FROM purchase_orders WHERE po_number = $1
[INFO] [stdout] 107 | |             "#,
[INFO] [stdout] 108 | |             po_number
[INFO] [stdout] 109 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 | / ...   sqlx::query!(
[INFO] [stdout] 136 | | ...       r#"
[INFO] [stdout] 137 | | ...       INSERT INTO purchase_orders (id, po_number, supplier_id, status, expected_date, total_amount, created_by, created_at, u...
[INFO] [stdout] 138 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 148 | | ...       po.updated_at
[INFO] [stdout] 149 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 | / ...   sqlx::query!(
[INFO] [stdout] 156 | | ...       r#"
[INFO] [stdout] 157 | | ...       INSERT INTO purchase_order_lines (id, po_id, item_id, qty_ordered, qty_received, unit_cost, line_total, created_at, upd...
[INFO] [stdout] 158 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 168 | | ...       po.updated_at
[INFO] [stdout] 169 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 | /         sqlx::query!(
[INFO] [stdout] 198 | |             r#"
[INFO] [stdout] 199 | |             UPDATE purchase_orders
[INFO] [stdout] 200 | |             SET status = $2, expected_date = $3, total_amount = $4, updated_at = $5
[INFO] [stdout] ...   |
[INFO] [stdout] 207 | |             po.updated_at
[INFO] [stdout] 208 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 | /             sqlx::query!(
[INFO] [stdout] 216 | |                 r#"
[INFO] [stdout] 217 | |                 UPDATE purchase_order_lines
[INFO] [stdout] 218 | |                 SET qty_received = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | |                 po.updated_at
[INFO] [stdout] 224 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 | /         sqlx::query!(
[INFO] [stdout] 239 | |             r#"
[INFO] [stdout] 240 | |             DELETE FROM purchase_orders WHERE id = $1
[INFO] [stdout] 241 | |             "#,
[INFO] [stdout] 242 | |             id
[INFO] [stdout] 243 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 27 | |             r#"
[INFO] [stdout] 28 | |             SELECT
[INFO] [stdout] 29 | |                 po.id, po.po_number, po.supplier_id, po.status, po.expected_date,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |             id
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 105 | |             r#"
[INFO] [stdout] 106 | |             SELECT id FROM purchase_orders WHERE po_number = $1
[INFO] [stdout] 107 | |             "#,
[INFO] [stdout] 108 | |             po_number
[INFO] [stdout] 109 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 | / ...   sqlx::query!(
[INFO] [stdout] 347 | | ...       r#"
[INFO] [stdout] 348 | | ...       INSERT INTO stock_movements (id, item_id, location_id, quantity, movement_type, reference_type, reference_id, reason, c...
[INFO] [stdout] 349 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 360 | | ...       movement.created_at
[INFO] [stdout] 361 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:367:17
[INFO] [stdout]     |
[INFO] [stdout] 367 | /                 sqlx::query!(
[INFO] [stdout] 368 | |                     r#"
[INFO] [stdout] 369 | |                     INSERT INTO stock_levels (item_id, location_id, quantity_on_hand, last_movement_id, updated_at)
[INFO] [stdout] 370 | |                     VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 381 | |                     movement.created_at
[INFO] [stdout] 382 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_return_repository.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let return_row = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             SELECT id, return_number, location_id, customer_id, status, total_quantity, notes, created_by, created_at, updated_at
[INFO] [stdout] 27 | |             FROM returns
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |             id
[INFO] [stdout] 31 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 | / ...   sqlx::query!(
[INFO] [stdout] 136 | | ...       r#"
[INFO] [stdout] 137 | | ...       INSERT INTO purchase_orders (id, po_number, supplier_id, status, expected_date, total_amount, created_by, created_at, u...
[INFO] [stdout] 138 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 148 | | ...       po.updated_at
[INFO] [stdout] 149 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_return_repository.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let line_rows = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 43 | |             r#"
[INFO] [stdout] 44 | |             SELECT id, return_id, item_id, quantity, quantity_received, unit_price, reason, created_at, updated_at
[INFO] [stdout] 45 | |             FROM return_lines
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             id
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 | / ...   sqlx::query!(
[INFO] [stdout] 156 | | ...       r#"
[INFO] [stdout] 157 | | ...       INSERT INTO purchase_order_lines (id, po_id, item_id, qty_ordered, qty_received, unit_cost, line_total, created_at, upd...
[INFO] [stdout] 158 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 168 | | ...       po.updated_at
[INFO] [stdout] 169 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 | /         sqlx::query!(
[INFO] [stdout] 198 | |             r#"
[INFO] [stdout] 199 | |             UPDATE purchase_orders
[INFO] [stdout] 200 | |             SET status = $2, expected_date = $3, total_amount = $4, updated_at = $5
[INFO] [stdout] ...   |
[INFO] [stdout] 207 | |             po.updated_at
[INFO] [stdout] 208 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 | /             sqlx::query!(
[INFO] [stdout] 216 | |                 r#"
[INFO] [stdout] 217 | |                 UPDATE purchase_order_lines
[INFO] [stdout] 218 | |                 SET qty_received = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 223 | |                 po.updated_at
[INFO] [stdout] 224 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 | /         sqlx::query!(
[INFO] [stdout] 239 | |             r#"
[INFO] [stdout] 240 | |             DELETE FROM purchase_orders WHERE id = $1
[INFO] [stdout] 241 | |             "#,
[INFO] [stdout] 242 | |             id
[INFO] [stdout] 243 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 | / ...   sqlx::query!(
[INFO] [stdout] 347 | | ...       r#"
[INFO] [stdout] 348 | | ...       INSERT INTO stock_movements (id, item_id, location_id, quantity, movement_type, reference_type, reference_id, reason, c...
[INFO] [stdout] 349 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 360 | | ...       movement.created_at
[INFO] [stdout] 361 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:367:17
[INFO] [stdout]     |
[INFO] [stdout] 367 | /                 sqlx::query!(
[INFO] [stdout] 368 | |                     r#"
[INFO] [stdout] 369 | |                     INSERT INTO stock_levels (item_id, location_id, quantity_on_hand, last_movement_id, updated_at)
[INFO] [stdout] 370 | |                     VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 381 | |                     movement.created_at
[INFO] [stdout] 382 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_return_repository.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let return_row = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             SELECT id, return_number, location_id, customer_id, status, total_quantity, notes, created_by, created_at, updated_at
[INFO] [stdout] 27 | |             FROM returns
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |             id
[INFO] [stdout] 31 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_return_repository.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |           let line_rows = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 43 | |             r#"
[INFO] [stdout] 44 | |             SELECT id, return_id, item_id, quantity, quantity_received, unit_price, reason, created_at, updated_at
[INFO] [stdout] 45 | |             FROM return_lines
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             id
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 | / ...   sqlx::query!(
[INFO] [stdout] 100 | | ...       r#"
[INFO] [stdout] 101 | | ...       INSERT INTO returns (id, return_number, location_id, customer_id, status, total_quantity, notes, created_by, created_at...
[INFO] [stdout] 102 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | | ...       return_entity.updated_at
[INFO] [stdout] 114 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 | / ...   sqlx::query!(
[INFO] [stdout] 122 | | ...       r#"
[INFO] [stdout] 123 | | ...       INSERT INTO return_lines (id, return_id, item_id, quantity, quantity_received, unit_price, reason, created_at, updated_at)
[INFO] [stdout] 124 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | ...       line.updated_at
[INFO] [stdout] 135 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:162:26
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let return_row = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 163 | |             r#"
[INFO] [stdout] 164 | |             SELECT id FROM returns WHERE return_number = $1
[INFO] [stdout] 165 | |             "#,
[INFO] [stdout] 166 | |             return_number
[INFO] [stdout] 167 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | / ...   sqlx::query!(
[INFO] [stdout] 180 | | ...       r#"
[INFO] [stdout] 181 | | ...       UPDATE returns
[INFO] [stdout] 182 | | ...       SET return_number = $2, location_id = $3, customer_id = $4, status = $5, total_quantity = $6, notes = $7, updated_at = $8
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | | ...       return_entity.updated_at
[INFO] [stdout] 193 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 | /         sqlx::query!(
[INFO] [stdout] 203 | |             r#"
[INFO] [stdout] 204 | |             DELETE FROM returns WHERE id = $1
[INFO] [stdout] 205 | |             "#,
[INFO] [stdout] 206 | |             id
[INFO] [stdout] 207 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:220:27
[INFO] [stdout]     |
[INFO] [stdout] 220 |           let return_rows = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 221 | |             r#"
[INFO] [stdout] 222 | |             SELECT id FROM returns
[INFO] [stdout] 223 | |             ORDER BY created_at DESC
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |             offset
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:260:9
[INFO] [stdout]     |
[INFO] [stdout] 260 | /         sqlx::query!(
[INFO] [stdout] 261 | |             r#"
[INFO] [stdout] 262 | |             UPDATE returns
[INFO] [stdout] 263 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |             return_entity.updated_at
[INFO] [stdout] 269 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 | /         sqlx::query!(
[INFO] [stdout] 304 | |             r#"
[INFO] [stdout] 305 | |             UPDATE returns
[INFO] [stdout] 306 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 311 | |             return_entity.updated_at
[INFO] [stdout] 312 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 | /             sqlx::query!(
[INFO] [stdout] 320 | |                 r#"
[INFO] [stdout] 321 | |                 UPDATE return_lines
[INFO] [stdout] 322 | |                 SET quantity_received = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 327 | |                 line.updated_at
[INFO] [stdout] 328 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 | / ...   sqlx::query!(
[INFO] [stdout] 100 | | ...       r#"
[INFO] [stdout] 101 | | ...       INSERT INTO returns (id, return_number, location_id, customer_id, status, total_quantity, notes, created_by, created_at...
[INFO] [stdout] 102 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | | ...       return_entity.updated_at
[INFO] [stdout] 114 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 | / ...   sqlx::query!(
[INFO] [stdout] 337 | | ...       r#"
[INFO] [stdout] 338 | | ...       INSERT INTO stock_movements (id, item_id, location_id, movement_type, quantity, reference_type, reference_id, reason, c...
[INFO] [stdout] 339 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | | ...       movement.created_by
[INFO] [stdout] 351 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 | / ...   sqlx::query!(
[INFO] [stdout] 122 | | ...       r#"
[INFO] [stdout] 123 | | ...       INSERT INTO return_lines (id, return_id, item_id, quantity, quantity_received, unit_price, reason, created_at, updated_at)
[INFO] [stdout] 124 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | | ...       line.updated_at
[INFO] [stdout] 135 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:162:26
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let return_row = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 163 | |             r#"
[INFO] [stdout] 164 | |             SELECT id FROM returns WHERE return_number = $1
[INFO] [stdout] 165 | |             "#,
[INFO] [stdout] 166 | |             return_number
[INFO] [stdout] 167 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | / ...   sqlx::query!(
[INFO] [stdout] 180 | | ...       r#"
[INFO] [stdout] 181 | | ...       UPDATE returns
[INFO] [stdout] 182 | | ...       SET return_number = $2, location_id = $3, customer_id = $4, status = $5, total_quantity = $6, notes = $7, updated_at = $8
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | | ...       return_entity.updated_at
[INFO] [stdout] 193 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 | /         sqlx::query!(
[INFO] [stdout] 203 | |             r#"
[INFO] [stdout] 204 | |             DELETE FROM returns WHERE id = $1
[INFO] [stdout] 205 | |             "#,
[INFO] [stdout] 206 | |             id
[INFO] [stdout] 207 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:220:27
[INFO] [stdout]     |
[INFO] [stdout] 220 |           let return_rows = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 221 | |             r#"
[INFO] [stdout] 222 | |             SELECT id FROM returns
[INFO] [stdout] 223 | |             ORDER BY created_at DESC
[INFO] [stdout] ...   |
[INFO] [stdout] 227 | |             offset
[INFO] [stdout] 228 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:260:9
[INFO] [stdout]     |
[INFO] [stdout] 260 | /         sqlx::query!(
[INFO] [stdout] 261 | |             r#"
[INFO] [stdout] 262 | |             UPDATE returns
[INFO] [stdout] 263 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |             return_entity.updated_at
[INFO] [stdout] 269 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 | /         sqlx::query!(
[INFO] [stdout] 304 | |             r#"
[INFO] [stdout] 305 | |             UPDATE returns
[INFO] [stdout] 306 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 311 | |             return_entity.updated_at
[INFO] [stdout] 312 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 | /             sqlx::query!(
[INFO] [stdout] 320 | |                 r#"
[INFO] [stdout] 321 | |                 UPDATE return_lines
[INFO] [stdout] 322 | |                 SET quantity_received = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 327 | |                 line.updated_at
[INFO] [stdout] 328 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_return_repository.rs:336:13
[INFO] [stdout]     |
[INFO] [stdout] 336 | / ...   sqlx::query!(
[INFO] [stdout] 337 | | ...       r#"
[INFO] [stdout] 338 | | ...       INSERT INTO stock_movements (id, item_id, location_id, movement_type, quantity, reference_type, reference_id, reason, c...
[INFO] [stdout] 339 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | | ...       movement.created_by
[INFO] [stdout] 351 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_stock_repository.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             r#"
[INFO] [stdout] 30 | |             INSERT INTO stock_movements (
[INFO] [stdout] 31 | |                 id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |             movement.created_by
[INFO] [stdout] 46 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_stock_repository.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | /         sqlx::query!(
[INFO] [stdout] 55 | |             r#"
[INFO] [stdout] 56 | |             INSERT INTO stock_levels (item_id, location_id, quantity_on_hand, last_movement_id, updated_at, tenant_id)
[INFO] [stdout] 57 | |             VALUES ($1, $2, $3, $4, $5, get_current_tenant_id())
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |             movement.created_at
[INFO] [stdout] 69 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_stock_repository.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query!(
[INFO] [stdout] 29 | |             r#"
[INFO] [stdout] 30 | |             INSERT INTO stock_movements (
[INFO] [stdout] 31 | |                 id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | |             movement.created_by
[INFO] [stdout] 46 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_stock_repository.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | /         sqlx::query!(
[INFO] [stdout] 55 | |             r#"
[INFO] [stdout] 56 | |             INSERT INTO stock_levels (item_id, location_id, quantity_on_hand, last_movement_id, updated_at, tenant_id)
[INFO] [stdout] 57 | |             VALUES ($1, $2, $3, $4, $5, get_current_tenant_id())
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |             movement.created_at
[INFO] [stdout] 69 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:114:22
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 115 | |             r#"
[INFO] [stdout] 116 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 117 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |             location_id
[INFO] [stdout] 122 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:137:23
[INFO] [stdout]     |
[INFO] [stdout] 137 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 138 | |             r#"
[INFO] [stdout] 139 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 140 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |             item_id
[INFO] [stdout] 145 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 167 | |             r#"
[INFO] [stdout] 168 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 169 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |             location_id
[INFO] [stdout] 174 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 198 | |             r#"
[INFO] [stdout] 199 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 200 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |             offset
[INFO] [stdout] 209 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:114:22
[INFO] [stdout]     |
[INFO] [stdout] 114 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 115 | |             r#"
[INFO] [stdout] 116 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 117 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |             location_id
[INFO] [stdout] 122 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:137:23
[INFO] [stdout]     |
[INFO] [stdout] 137 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 138 | |             r#"
[INFO] [stdout] 139 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 140 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |             item_id
[INFO] [stdout] 145 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:242:23
[INFO] [stdout]     |
[INFO] [stdout] 242 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 245 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |             offset
[INFO] [stdout] 254 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 167 | |             r#"
[INFO] [stdout] 168 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 169 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |             location_id
[INFO] [stdout] 174 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:288:23
[INFO] [stdout]     |
[INFO] [stdout] 288 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 289 | |             r#"
[INFO] [stdout] 290 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 291 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 300 | |             offset
[INFO] [stdout] 301 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:329:22
[INFO] [stdout]     |
[INFO] [stdout] 329 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 330 | |             r#"
[INFO] [stdout] 331 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 332 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 336 | |             id
[INFO] [stdout] 337 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:365:22
[INFO] [stdout]     |
[INFO] [stdout] 365 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 366 | |             r#"
[INFO] [stdout] 367 | |             SELECT COALESCE(SUM(quantity_on_hand), 0) as total
[INFO] [stdout] 368 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 371 | |             item_id
[INFO] [stdout] 372 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 | /         sqlx::query!(
[INFO] [stdout] 386 | |             r#"
[INFO] [stdout] 387 | |             INSERT INTO stock_levels (item_id, location_id, quantity_on_hand, updated_at, tenant_id)
[INFO] [stdout] 388 | |             VALUES ($1, $2, 0, NOW(), get_current_tenant_id())
[INFO] [stdout] ...   |
[INFO] [stdout] 392 | |             location_id
[INFO] [stdout] 393 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 198 | |             r#"
[INFO] [stdout] 199 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 200 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |             offset
[INFO] [stdout] 209 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:242:23
[INFO] [stdout]     |
[INFO] [stdout] 242 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 245 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |             offset
[INFO] [stdout] 254 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:288:23
[INFO] [stdout]     |
[INFO] [stdout] 288 |           let results = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 289 | |             r#"
[INFO] [stdout] 290 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 291 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 300 | |             offset
[INFO] [stdout] 301 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:329:22
[INFO] [stdout]     |
[INFO] [stdout] 329 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 330 | |             r#"
[INFO] [stdout] 331 | |             SELECT id, item_id, location_id, movement_type, quantity,
[INFO] [stdout] 332 | |                    reference_type, reference_id, reason, created_at, created_by
[INFO] [stdout] ...   |
[INFO] [stdout] 336 | |             id
[INFO] [stdout] 337 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:365:22
[INFO] [stdout]     |
[INFO] [stdout] 365 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 366 | |             r#"
[INFO] [stdout] 367 | |             SELECT COALESCE(SUM(quantity_on_hand), 0) as total
[INFO] [stdout] 368 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 371 | |             item_id
[INFO] [stdout] 372 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:385:9
[INFO] [stdout]     |
[INFO] [stdout] 385 | /         sqlx::query!(
[INFO] [stdout] 386 | |             r#"
[INFO] [stdout] 387 | |             INSERT INTO stock_levels (item_id, location_id, quantity_on_hand, updated_at, tenant_id)
[INFO] [stdout] 388 | |             VALUES ($1, $2, 0, NOW(), get_current_tenant_id())
[INFO] [stdout] ...   |
[INFO] [stdout] 392 | |             location_id
[INFO] [stdout] 393 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:406:22
[INFO] [stdout]     |
[INFO] [stdout] 406 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 407 | |             r#"
[INFO] [stdout] 408 | |             SELECT EXISTS(
[INFO] [stdout] 409 | |                 SELECT 1 FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 414 | |             location_id
[INFO] [stdout] 415 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:434:31
[INFO] [stdout]     |
[INFO] [stdout] 434 |           let results: Vec<_> = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 435 | |             r#"
[INFO] [stdout] 436 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 437 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 444 | |             offset
[INFO] [stdout] 445 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:406:22
[INFO] [stdout]     |
[INFO] [stdout] 406 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 407 | |             r#"
[INFO] [stdout] 408 | |             SELECT EXISTS(
[INFO] [stdout] 409 | |                 SELECT 1 FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 414 | |             location_id
[INFO] [stdout] 415 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:434:31
[INFO] [stdout]     |
[INFO] [stdout] 434 |           let results: Vec<_> = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 435 | |             r#"
[INFO] [stdout] 436 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 437 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 444 | |             offset
[INFO] [stdout] 445 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:486:31
[INFO] [stdout]     |
[INFO] [stdout] 486 |           let results: Vec<_> = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 487 | |             r#"
[INFO] [stdout] 488 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 489 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 496 | |             offset
[INFO] [stdout] 497 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:537:31
[INFO] [stdout]     |
[INFO] [stdout] 537 |           let results: Vec<_> = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 538 | |             r#"
[INFO] [stdout] 539 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 540 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 546 | |             offset
[INFO] [stdout] 547 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:486:31
[INFO] [stdout]     |
[INFO] [stdout] 486 |           let results: Vec<_> = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 487 | |             r#"
[INFO] [stdout] 488 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 489 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 496 | |             offset
[INFO] [stdout] 497 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_stock_repository.rs:537:31
[INFO] [stdout]     |
[INFO] [stdout] 537 |           let results: Vec<_> = sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 538 | |             r#"
[INFO] [stdout] 539 | |             SELECT item_id, location_id, quantity_on_hand, last_movement_id, updated_at
[INFO] [stdout] 540 | |             FROM stock_levels
[INFO] [stdout] ...   |
[INFO] [stdout] 546 | |             offset
[INFO] [stdout] 547 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_transfer_repository.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |   ...   let transfer_row = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 27 | | ...       r#"
[INFO] [stdout] 28 | | ...       SELECT id, transfer_number, from_location_id, to_location_id, status, total_quantity, notes, created_by, created_at, upd...
[INFO] [stdout] 29 | | ...       FROM transfers
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | | ...       id
[INFO] [stdout] 33 | | ...   )
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_transfer_repository.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let line_rows = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 45 | |             r#"
[INFO] [stdout] 46 | |             SELECT id, transfer_id, item_id, quantity, quantity_received, created_at, updated_at
[INFO] [stdout] 47 | |             FROM transfer_lines
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             id
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_transfer_repository.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |   ...   let transfer_row = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 27 | | ...       r#"
[INFO] [stdout] 28 | | ...       SELECT id, transfer_number, from_location_id, to_location_id, status, total_quantity, notes, created_by, created_at, upd...
[INFO] [stdout] 29 | | ...       FROM transfers
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | | ...       id
[INFO] [stdout] 33 | | ...   )
[INFO] [stdout]    | |_______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_transfer_repository.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |           let line_rows = sqlx::query!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 45 | |             r#"
[INFO] [stdout] 46 | |             SELECT id, transfer_id, item_id, quantity, quantity_received, created_at, updated_at
[INFO] [stdout] 47 | |             FROM transfer_lines
[INFO] [stdout] ...  |
[INFO] [stdout] 51 | |             id
[INFO] [stdout] 52 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  98 | / ...   sqlx::query!(
[INFO] [stdout]  99 | | ...       r#"
[INFO] [stdout] 100 | | ...       INSERT INTO transfers (id, transfer_number, from_location_id, to_location_id, status, total_quantity, notes, created_by...
[INFO] [stdout] 101 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | | ...       transfer.updated_at
[INFO] [stdout] 113 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 | /             sqlx::query!(
[INFO] [stdout] 121 | |                 r#"
[INFO] [stdout] 122 | |                 INSERT INTO transfer_lines (id, transfer_id, item_id, quantity, quantity_received, created_at, updated_at)
[INFO] [stdout] 123 | |                 VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |                 line.updated_at
[INFO] [stdout] 132 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:162:28
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let transfer_row = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 163 | |             r#"
[INFO] [stdout] 164 | |             SELECT id FROM transfers WHERE transfer_number = $1
[INFO] [stdout] 165 | |             "#,
[INFO] [stdout] 166 | |             transfer_number
[INFO] [stdout] 167 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | /         sqlx::query!(
[INFO] [stdout] 180 | |             r#"
[INFO] [stdout] 181 | |             UPDATE transfers
[INFO] [stdout] 182 | |             SET status = $2, total_quantity = $3, notes = $4, updated_at = $5
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |             transfer.updated_at
[INFO] [stdout] 190 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 | /         sqlx::query!(
[INFO] [stdout] 200 | |             r#"
[INFO] [stdout] 201 | |             DELETE FROM transfers WHERE id = $1
[INFO] [stdout] 202 | |             "#,
[INFO] [stdout] 203 | |             id
[INFO] [stdout] 204 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:217:29
[INFO] [stdout]     |
[INFO] [stdout] 217 |           let transfer_rows = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 218 | |             r#"
[INFO] [stdout] 219 | |             SELECT id FROM transfers
[INFO] [stdout] 220 | |             ORDER BY created_at DESC
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             offset
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 | /         sqlx::query!(
[INFO] [stdout] 262 | |             r#"
[INFO] [stdout] 263 | |             UPDATE transfers
[INFO] [stdout] 264 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |             transfer.updated_at
[INFO] [stdout] 270 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 | / ...   sqlx::query!(
[INFO] [stdout] 278 | | ...       r#"
[INFO] [stdout] 279 | | ...       INSERT INTO stock_movements (id, item_id, location_id, movement_type, quantity, reference_type, reference_id, reason, c...
[INFO] [stdout] 280 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 291 | | ...       movement.created_by
[INFO] [stdout] 292 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  98 | / ...   sqlx::query!(
[INFO] [stdout]  99 | | ...       r#"
[INFO] [stdout] 100 | | ...       INSERT INTO transfers (id, transfer_number, from_location_id, to_location_id, status, total_quantity, notes, created_by...
[INFO] [stdout] 101 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | | ...       transfer.updated_at
[INFO] [stdout] 113 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 | /             sqlx::query!(
[INFO] [stdout] 121 | |                 r#"
[INFO] [stdout] 122 | |                 INSERT INTO transfer_lines (id, transfer_id, item_id, quantity, quantity_received, created_at, updated_at)
[INFO] [stdout] 123 | |                 VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |                 line.updated_at
[INFO] [stdout] 132 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 | /         sqlx::query!(
[INFO] [stdout] 328 | |             r#"
[INFO] [stdout] 329 | |             UPDATE transfers
[INFO] [stdout] 330 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | |             transfer.updated_at
[INFO] [stdout] 336 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 | /             sqlx::query!(
[INFO] [stdout] 344 | |                 r#"
[INFO] [stdout] 345 | |                 UPDATE transfer_lines
[INFO] [stdout] 346 | |                 SET quantity_received = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 351 | |                 line.updated_at
[INFO] [stdout] 352 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:360:13
[INFO] [stdout]     |
[INFO] [stdout] 360 | / ...   sqlx::query!(
[INFO] [stdout] 361 | | ...       r#"
[INFO] [stdout] 362 | | ...       INSERT INTO stock_movements (id, item_id, location_id, movement_type, quantity, reference_type, reference_id, reason, c...
[INFO] [stdout] 363 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 374 | | ...       movement.created_by
[INFO] [stdout] 375 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:162:28
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let transfer_row = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 163 | |             r#"
[INFO] [stdout] 164 | |             SELECT id FROM transfers WHERE transfer_number = $1
[INFO] [stdout] 165 | |             "#,
[INFO] [stdout] 166 | |             transfer_number
[INFO] [stdout] 167 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | /         sqlx::query!(
[INFO] [stdout] 180 | |             r#"
[INFO] [stdout] 181 | |             UPDATE transfers
[INFO] [stdout] 182 | |             SET status = $2, total_quantity = $3, notes = $4, updated_at = $5
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |             transfer.updated_at
[INFO] [stdout] 190 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:199:9
[INFO] [stdout]     |
[INFO] [stdout] 199 | /         sqlx::query!(
[INFO] [stdout] 200 | |             r#"
[INFO] [stdout] 201 | |             DELETE FROM transfers WHERE id = $1
[INFO] [stdout] 202 | |             "#,
[INFO] [stdout] 203 | |             id
[INFO] [stdout] 204 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:217:29
[INFO] [stdout]     |
[INFO] [stdout] 217 |           let transfer_rows = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 218 | |             r#"
[INFO] [stdout] 219 | |             SELECT id FROM transfers
[INFO] [stdout] 220 | |             ORDER BY created_at DESC
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             offset
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 | /         sqlx::query!(
[INFO] [stdout] 262 | |             r#"
[INFO] [stdout] 263 | |             UPDATE transfers
[INFO] [stdout] 264 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |             transfer.updated_at
[INFO] [stdout] 270 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 | / ...   sqlx::query!(
[INFO] [stdout] 278 | | ...       r#"
[INFO] [stdout] 279 | | ...       INSERT INTO stock_movements (id, item_id, location_id, movement_type, quantity, reference_type, reference_id, reason, c...
[INFO] [stdout] 280 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 291 | | ...       movement.created_by
[INFO] [stdout] 292 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:327:9
[INFO] [stdout]     |
[INFO] [stdout] 327 | /         sqlx::query!(
[INFO] [stdout] 328 | |             r#"
[INFO] [stdout] 329 | |             UPDATE transfers
[INFO] [stdout] 330 | |             SET status = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 335 | |             transfer.updated_at
[INFO] [stdout] 336 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 | /             sqlx::query!(
[INFO] [stdout] 344 | |                 r#"
[INFO] [stdout] 345 | |                 UPDATE transfer_lines
[INFO] [stdout] 346 | |                 SET quantity_received = $2, updated_at = $3
[INFO] [stdout] ...   |
[INFO] [stdout] 351 | |                 line.updated_at
[INFO] [stdout] 352 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_transfer_repository.rs:360:13
[INFO] [stdout]     |
[INFO] [stdout] 360 | / ...   sqlx::query!(
[INFO] [stdout] 361 | | ...       r#"
[INFO] [stdout] 362 | | ...       INSERT INTO stock_movements (id, item_id, location_id, movement_type, quantity, reference_type, reference_id, reason, c...
[INFO] [stdout] 363 | | ...       VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 374 | | ...       movement.created_by
[INFO] [stdout] 375 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_user_repository.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 24 | |             r#"
[INFO] [stdout] 25 | |             SELECT id, email, password_hash, first_name, last_name, tenant_id, active, created_at, updated_at
[INFO] [stdout] 26 | |             FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |             id
[INFO] [stdout] 30 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_user_repository.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             SELECT id, email, password_hash, first_name, last_name, tenant_id, active, created_at, updated_at
[INFO] [stdout] 64 | |             FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             email.as_str()
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_user_repository.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 | /         sqlx::query!(
[INFO] [stdout] 100 | |             r#"
[INFO] [stdout] 101 | |             INSERT INTO users (id, email, password_hash, first_name, last_name, tenant_id, active, created_at, updated_at)
[INFO] [stdout] 102 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             user.updated_at
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_user_repository.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 24 | |             r#"
[INFO] [stdout] 25 | |             SELECT id, email, password_hash, first_name, last_name, tenant_id, active, created_at, updated_at
[INFO] [stdout] 26 | |             FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |             id
[INFO] [stdout] 30 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_user_repository.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             SELECT id, email, password_hash, first_name, last_name, tenant_id, active, created_at, updated_at
[INFO] [stdout] 64 | |             FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             email.as_str()
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_user_repository.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 | /         sqlx::query!(
[INFO] [stdout] 100 | |             r#"
[INFO] [stdout] 101 | |             INSERT INTO users (id, email, password_hash, first_name, last_name, tenant_id, active, created_at, updated_at)
[INFO] [stdout] 102 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
[INFO] [stdout] ...   |
[INFO] [stdout] 112 | |             user.updated_at
[INFO] [stdout] 113 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_webhook_repository.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         sqlx::query!(
[INFO] [stdout] 31 | |             r#"
[INFO] [stdout] 32 | |             INSERT INTO webhooks (
[INFO] [stdout] 33 | |                 id, url, secret, events, status, created_by,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             webhook.failure_count
[INFO] [stdout] 48 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_webhook_repository.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |           let row = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 58 | |             r#"
[INFO] [stdout] 59 | |             SELECT id, url, secret, events, status, created_by,
[INFO] [stdout] 60 | |                    created_at, updated_at, last_delivery_at, failure_count
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             id
[INFO] [stdout] 65 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:100:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 101 | |             r#"
[INFO] [stdout] 102 | |             SELECT id, url, secret, events, status, created_by,
[INFO] [stdout] 103 | |                    created_at, updated_at, last_delivery_at, failure_count
[INFO] [stdout] ...   |
[INFO] [stdout] 108 | |             user_id
[INFO] [stdout] 109 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:149:20
[INFO] [stdout]     |
[INFO] [stdout] 149 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             SELECT id, url, secret, events, status, created_by,
[INFO] [stdout] 152 | |                    created_at, updated_at, last_delivery_at, failure_count
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             event_str
[INFO] [stdout] 157 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 | /         sqlx::query!(
[INFO] [stdout] 201 | |             r#"
[INFO] [stdout] 202 | |             UPDATE webhooks
[INFO] [stdout] 203 | |             SET url = $2, secret = $3, events = $4, status = $5,
[INFO] [stdout] ...   |
[INFO] [stdout] 214 | |             webhook.failure_count
[INFO] [stdout] 215 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 | /         sqlx::query!(
[INFO] [stdout] 225 | |             r#"
[INFO] [stdout] 226 | |             DELETE FROM webhooks WHERE id = $1
[INFO] [stdout] 227 | |             "#,
[INFO] [stdout] 228 | |             id
[INFO] [stdout] 229 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 | /         sqlx::query!(
[INFO] [stdout] 239 | |             r#"
[INFO] [stdout] 240 | |             INSERT INTO webhook_events (id, event_type, payload, created_at)
[INFO] [stdout] 241 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |             event.created_at
[INFO] [stdout] 247 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:262:20
[INFO] [stdout]     |
[INFO] [stdout] 262 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 263 | |             r#"
[INFO] [stdout] 264 | |             SELECT id, event_type, payload, created_at
[INFO] [stdout] 265 | |             FROM webhook_events
[INFO] [stdout] ...   |
[INFO] [stdout] 270 | |             offset
[INFO] [stdout] 271 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_webhook_repository.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | /         sqlx::query!(
[INFO] [stdout] 31 | |             r#"
[INFO] [stdout] 32 | |             INSERT INTO webhooks (
[INFO] [stdout] 33 | |                 id, url, secret, events, status, created_by,
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             webhook.failure_count
[INFO] [stdout] 48 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 | /         sqlx::query!(
[INFO] [stdout] 294 | |             r#"
[INFO] [stdout] 295 | |             INSERT INTO webhook_deliveries (
[INFO] [stdout] 296 | |                 id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |             delivery.updated_at
[INFO] [stdout] 314 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 | /         sqlx::query!(
[INFO] [stdout] 326 | |             r#"
[INFO] [stdout] 327 | |             UPDATE webhook_deliveries
[INFO] [stdout] 328 | |             SET status = $2, attempt_count = $3, last_attempt_at = $4,
[INFO] [stdout] ...   |
[INFO] [stdout] 341 | |             delivery.updated_at
[INFO] [stdout] 342 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/infrastructure/repositories/postgres_webhook_repository.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |           let row = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 58 | |             r#"
[INFO] [stdout] 59 | |             SELECT id, url, secret, events, status, created_by,
[INFO] [stdout] 60 | |                    created_at, updated_at, last_delivery_at, failure_count
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             id
[INFO] [stdout] 65 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:358:20
[INFO] [stdout]     |
[INFO] [stdout] 358 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 359 | |             r#"
[INFO] [stdout] 360 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 361 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 370 | |             offset
[INFO] [stdout] 371 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:100:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 101 | |             r#"
[INFO] [stdout] 102 | |             SELECT id, url, secret, events, status, created_by,
[INFO] [stdout] 103 | |                    created_at, updated_at, last_delivery_at, failure_count
[INFO] [stdout] ...   |
[INFO] [stdout] 108 | |             user_id
[INFO] [stdout] 109 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:149:20
[INFO] [stdout]     |
[INFO] [stdout] 149 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 150 | |             r#"
[INFO] [stdout] 151 | |             SELECT id, url, secret, events, status, created_by,
[INFO] [stdout] 152 | |                    created_at, updated_at, last_delivery_at, failure_count
[INFO] [stdout] ...   |
[INFO] [stdout] 156 | |             event_str
[INFO] [stdout] 157 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:407:20
[INFO] [stdout]     |
[INFO] [stdout] 407 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 408 | |             r#"
[INFO] [stdout] 409 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 410 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 419 | |             limit
[INFO] [stdout] 420 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:200:9
[INFO] [stdout]     |
[INFO] [stdout] 200 | /         sqlx::query!(
[INFO] [stdout] 201 | |             r#"
[INFO] [stdout] 202 | |             UPDATE webhooks
[INFO] [stdout] 203 | |             SET url = $2, secret = $3, events = $4, status = $5,
[INFO] [stdout] ...   |
[INFO] [stdout] 214 | |             webhook.failure_count
[INFO] [stdout] 215 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:457:20
[INFO] [stdout]     |
[INFO] [stdout] 457 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 458 | |             r#"
[INFO] [stdout] 459 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 460 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 468 | |             offset
[INFO] [stdout] 469 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:500:19
[INFO] [stdout]     |
[INFO] [stdout] 500 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 501 | |             r#"
[INFO] [stdout] 502 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 503 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 508 | |             id
[INFO] [stdout] 509 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 | /         sqlx::query!(
[INFO] [stdout] 225 | |             r#"
[INFO] [stdout] 226 | |             DELETE FROM webhooks WHERE id = $1
[INFO] [stdout] 227 | |             "#,
[INFO] [stdout] 228 | |             id
[INFO] [stdout] 229 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:540:19
[INFO] [stdout]     |
[INFO] [stdout] 540 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 541 | |             r#"
[INFO] [stdout] 542 | |             SELECT id, event_type, payload, created_at
[INFO] [stdout] 543 | |             FROM webhook_events
[INFO] [stdout] ...   |
[INFO] [stdout] 546 | |             id
[INFO] [stdout] 547 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 | /         sqlx::query!(
[INFO] [stdout] 239 | |             r#"
[INFO] [stdout] 240 | |             INSERT INTO webhook_events (id, event_type, payload, created_at)
[INFO] [stdout] 241 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |             event.created_at
[INFO] [stdout] 247 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:570:19
[INFO] [stdout]     |
[INFO] [stdout] 570 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 571 | |             r#"
[INFO] [stdout] 572 | |             SELECT COUNT(*) as count
[INFO] [stdout] 573 | |             FROM webhook_deliveries
[INFO] [stdout] ...   |
[INFO] [stdout] 576 | |             webhook_id
[INFO] [stdout] 577 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:262:20
[INFO] [stdout]     |
[INFO] [stdout] 262 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 263 | |             r#"
[INFO] [stdout] 264 | |             SELECT id, event_type, payload, created_at
[INFO] [stdout] 265 | |             FROM webhook_events
[INFO] [stdout] ...   |
[INFO] [stdout] 270 | |             offset
[INFO] [stdout] 271 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:586:19
[INFO] [stdout]     |
[INFO] [stdout] 586 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 587 | |             r#"
[INFO] [stdout] 588 | |             SELECT COUNT(*) as count
[INFO] [stdout] 589 | |             FROM webhook_deliveries
[INFO] [stdout] 590 | |             WHERE status = 'DLQ'
[INFO] [stdout] 591 | |             "#,
[INFO] [stdout] 592 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:604:9
[INFO] [stdout]     |
[INFO] [stdout] 604 | /         sqlx::query!(
[INFO] [stdout] 605 | |             r#"
[INFO] [stdout] 606 | |             DELETE FROM webhook_events
[INFO] [stdout] 607 | |             WHERE created_at < NOW() - INTERVAL '1 day' * $1
[INFO] [stdout] 608 | |             "#,
[INFO] [stdout] 609 | |             days_old as f64
[INFO] [stdout] 610 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 | /         sqlx::query!(
[INFO] [stdout] 294 | |             r#"
[INFO] [stdout] 295 | |             INSERT INTO webhook_deliveries (
[INFO] [stdout] 296 | |                 id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |             delivery.updated_at
[INFO] [stdout] 314 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:616:9
[INFO] [stdout]     |
[INFO] [stdout] 616 | /         sqlx::query!(
[INFO] [stdout] 617 | |             r#"
[INFO] [stdout] 618 | |             DELETE FROM webhook_deliveries
[INFO] [stdout] 619 | |             WHERE status = 'SUCCESS' AND created_at < NOW() - INTERVAL '1 day' * $1
[INFO] [stdout] 620 | |             "#,
[INFO] [stdout] 621 | |             days_old as f64
[INFO] [stdout] 622 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 | /         sqlx::query!(
[INFO] [stdout] 326 | |             r#"
[INFO] [stdout] 327 | |             UPDATE webhook_deliveries
[INFO] [stdout] 328 | |             SET status = $2, attempt_count = $3, last_attempt_at = $4,
[INFO] [stdout] ...   |
[INFO] [stdout] 341 | |             delivery.updated_at
[INFO] [stdout] 342 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:358:20
[INFO] [stdout]     |
[INFO] [stdout] 358 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 359 | |             r#"
[INFO] [stdout] 360 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 361 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 370 | |             offset
[INFO] [stdout] 371 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:407:20
[INFO] [stdout]     |
[INFO] [stdout] 407 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 408 | |             r#"
[INFO] [stdout] 409 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 410 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 419 | |             limit
[INFO] [stdout] 420 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:457:20
[INFO] [stdout]     |
[INFO] [stdout] 457 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 458 | |             r#"
[INFO] [stdout] 459 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 460 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 468 | |             offset
[INFO] [stdout] 469 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:500:19
[INFO] [stdout]     |
[INFO] [stdout] 500 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 501 | |             r#"
[INFO] [stdout] 502 | |             SELECT id, webhook_id, event_id, status, attempt_count,
[INFO] [stdout] 503 | |                    last_attempt_at, next_attempt_at, response_status,
[INFO] [stdout] ...   |
[INFO] [stdout] 508 | |             id
[INFO] [stdout] 509 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:540:19
[INFO] [stdout]     |
[INFO] [stdout] 540 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 541 | |             r#"
[INFO] [stdout] 542 | |             SELECT id, event_type, payload, created_at
[INFO] [stdout] 543 | |             FROM webhook_events
[INFO] [stdout] ...   |
[INFO] [stdout] 546 | |             id
[INFO] [stdout] 547 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:570:19
[INFO] [stdout]     |
[INFO] [stdout] 570 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 571 | |             r#"
[INFO] [stdout] 572 | |             SELECT COUNT(*) as count
[INFO] [stdout] 573 | |             FROM webhook_deliveries
[INFO] [stdout] ...   |
[INFO] [stdout] 576 | |             webhook_id
[INFO] [stdout] 577 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:586:19
[INFO] [stdout]     |
[INFO] [stdout] 586 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 587 | |             r#"
[INFO] [stdout] 588 | |             SELECT COUNT(*) as count
[INFO] [stdout] 589 | |             FROM webhook_deliveries
[INFO] [stdout] 590 | |             WHERE status = 'DLQ'
[INFO] [stdout] 591 | |             "#,
[INFO] [stdout] 592 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:604:9
[INFO] [stdout]     |
[INFO] [stdout] 604 | /         sqlx::query!(
[INFO] [stdout] 605 | |             r#"
[INFO] [stdout] 606 | |             DELETE FROM webhook_events
[INFO] [stdout] 607 | |             WHERE created_at < NOW() - INTERVAL '1 day' * $1
[INFO] [stdout] 608 | |             "#,
[INFO] [stdout] 609 | |             days_old as f64
[INFO] [stdout] 610 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_webhook_repository.rs:616:9
[INFO] [stdout]     |
[INFO] [stdout] 616 | /         sqlx::query!(
[INFO] [stdout] 617 | |             r#"
[INFO] [stdout] 618 | |             DELETE FROM webhook_deliveries
[INFO] [stdout] 619 | |             WHERE status = 'SUCCESS' AND created_at < NOW() - INTERVAL '1 day' * $1
[INFO] [stdout] 620 | |             "#,
[INFO] [stdout] 621 | |             days_old as f64
[INFO] [stdout] 622 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/presentation/handlers/admin.rs:81:36
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let total_webhook_deliveries = sqlx::query!("SELECT COUNT(*) as count FROM webhook_deliveries")
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/presentation/handlers/admin.rs:88:37
[INFO] [stdout]    |
[INFO] [stdout] 88 |       let failed_webhook_deliveries = sqlx::query!(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 89 | |         "SELECT COUNT(*) as count FROM webhook_deliveries WHERE status IN ('FAILED', 'TIMEOUT', 'DLQ')"
[INFO] [stdout] 90 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/presentation/handlers/admin.rs:81:36
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let total_webhook_deliveries = sqlx::query!("SELECT COUNT(*) as count FROM webhook_deliveries")
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/presentation/handlers/admin.rs:88:37
[INFO] [stdout]    |
[INFO] [stdout] 88 |       let failed_webhook_deliveries = sqlx::query!(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 89 | |         "SELECT COUNT(*) as count FROM webhook_deliveries WHERE status IN ('FAILED', 'TIMEOUT', 'DLQ')"
[INFO] [stdout] 90 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/presentation/handlers/admin.rs:248:17
[INFO] [stdout]     |
[INFO] [stdout] 248 |       let quota = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 249 | |         TenantQuotasResponse,
[INFO] [stdout] 250 | |         r#"
[INFO] [stdout] 251 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |         tenant_id
[INFO] [stdout] 268 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/presentation/handlers/admin.rs:248:17
[INFO] [stdout]     |
[INFO] [stdout] 248 |       let quota = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 249 | |         TenantQuotasResponse,
[INFO] [stdout] 250 | |         r#"
[INFO] [stdout] 251 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |         tenant_id
[INFO] [stdout] 268 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/cleanup_expired_sandboxes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::tenant::Tenant`
[INFO] [stdout]  --> src/application/use_cases/cleanup_expired_sandboxes.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::domain::entities::tenant::Tenant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TenantType`
[INFO] [stdout]  --> src/application/use_cases/create_sandbox_tenant.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::entities::tenant::{Tenant, TenantType};
[INFO] [stdout]   |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/create_tenant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/create_transfer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/create_transfer.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/delete_tenant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_billing_metrics.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Job`
[INFO] [stdout]  --> src/application/use_cases/get_job_status.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::job::{Job, JobError};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LocationType` and `Location`
[INFO] [stdout]  --> src/application/use_cases/get_location.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, LocationAddress, LocationType};
[INFO] [stdout]   |                                         ^^^^^^^^                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_low_stock_report.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `inventory::StockLevel` and `item::Item`
[INFO] [stdout]  --> src/application/use_cases/get_low_stock_report.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     entities::{inventory::StockLevel, item::Item},
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::purchase_order::PurchaseOrder`
[INFO] [stdout]  --> src/application/use_cases/get_purchase_order.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::purchase_order::PurchaseOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_return.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_return.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_sales_order.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_sales_order.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockLevel`
[INFO] [stdout]  --> src/application/use_cases/get_stock_level.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::inventory::{StockLevel, StockLevelResponse};
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::item::Item`
[INFO] [stdout]  --> src/application/use_cases/get_stock_level.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::domain::entities::item::Item;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::location::Location`
[INFO] [stdout]  --> src/application/use_cases/get_stock_level.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::entities::location::Location;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockMovement`
[INFO] [stdout]  --> src/application/use_cases/get_stock_movements.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::entities::inventory::{StockMovement, StockMovementResponse};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::item::Item`
[INFO] [stdout]  --> src/application/use_cases/get_stock_movements.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::domain::entities::item::Item;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::location::Location`
[INFO] [stdout]  --> src/application/use_cases/get_stock_movements.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::domain::entities::location::Location;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_stock_valuation_report.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_tenant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_transfer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_transfer.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Webhook`
[INFO] [stdout]  --> src/application/use_cases/get_webhook_deliveries.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::webhook::{Webhook, WebhookDelivery};
[INFO] [stdout]   |                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/list_dlq_deliveries.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::location::Location`
[INFO] [stdout]  --> src/application/use_cases/list_item_stock_levels.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::entities::location::Location;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LocationAddress`, `LocationType`, and `Location`
[INFO] [stdout]  --> src/application/use_cases/list_locations.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, LocationAddress, LocationType};
[INFO] [stdout]   |                                         ^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/list_tenants.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/process_return.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/process_return.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::inventory::StockMovement`
[INFO] [stdout]  --> src/application/use_cases/receive_purchase_order.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::inventory::StockMovement;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PurchaseOrder`
[INFO] [stdout]  --> src/application/use_cases/receive_purchase_order.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     PurchaseOrder, ReceiveLine, ReceivePurchaseOrderRequest,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/receive_transfer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/receive_transfer.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/replay_dlq_delivery.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/application/use_cases/search_use_case.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SalesOrderLine`
[INFO] [stdout]  --> src/application/use_cases/ship_sales_order.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     SalesOrder, SalesOrderLine, ShipLineRequest, StockMovement,
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/ship_sales_order.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/ship_transfer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/ship_transfer.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LocationType` and `Location`
[INFO] [stdout]  --> src/application/use_cases/update_location.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Location, LocationAddress, LocationType, UpdateLocationRequest,
[INFO] [stdout]   |     ^^^^^^^^                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Webhook`
[INFO] [stdout]  --> src/application/use_cases/update_webhook.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::webhook::{Webhook, WebhookEventType, WebhookStatus};
[INFO] [stdout]   |                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdempotencyKeyRequest`
[INFO] [stdout]  --> src/domain/services/idempotency_repository.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::idempotency::{IdempotencyKey, IdempotencyKeyRequest};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateLocationRequest`
[INFO] [stdout]  --> src/domain/services/location_repository.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, UpdateLocationRequest};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreatePurchaseOrderRequest`
[INFO] [stdout]  --> src/domain/services/purchase_order_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreatePurchaseOrderRequest, PurchaseOrder, ReceivePurchaseOrderRequest,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SearchResultItem`
[INFO] [stdout]  --> src/domain/services/search_repository.rs:2:65
[INFO] [stdout]   |
[INFO] [stdout] 2 |     SearchIndex, SearchIndexRequest, SearchQuery, SearchResult, SearchResultItem,
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreateTransferRequest` and `ReceiveTransferRequest`
[INFO] [stdout]  --> src/domain/services/transfer_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreateTransferRequest, ReceiveTransferRequest, StockMovement, Transfer, TransferLine,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebhookEventType`
[INFO] [stdout]  --> src/domain/services/webhook_dispatcher.rs:1:80
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::webhook::{Webhook, WebhookDelivery, WebhookEvent, WebhookEventType};
[INFO] [stdout]   |                                                                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusCode`
[INFO] [stdout]  --> src/domain/services/webhook_dispatcher.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use reqwest::{Client, StatusCode};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/domain/services/webhook_repository.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderMap`
[INFO] [stdout]   --> src/infrastructure/controllers/locations_controller.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     http::{HeaderMap, StatusCode},
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SpanKind`, `Status`, `TraceContextExt`, and `Tracer`
[INFO] [stdout]  --> src/infrastructure/observability/tracing_middleware.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use opentelemetry::trace::{SpanKind, Status, TraceContextExt, Tracer};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyValue` and `global`
[INFO] [stdout]  --> src/infrastructure/observability/tracing_middleware.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use opentelemetry::{global, KeyValue};
[INFO] [stdout]   |                     ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdempotencyKeyRequest`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_idempotency_repository.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::domain::entities::idempotency::{IdempotencyKey, IdempotencyKeyRequest};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JobError`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_job_repository.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::job::{Job, JobError, JobStatus};
[INFO] [stdout]   |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LocationAddress`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_location_repository.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, LocationAddress, LocationType};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreatePurchaseOrderRequest`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     CreatePurchaseOrderRequest, PurchaseOrder, PurchaseOrderLine, PurchaseOrderStatus,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Postgres` and `Transaction`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_stock_repository.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sqlx::{PgPool, Postgres, Transaction};
[INFO] [stdout]   |                    ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreateTransferRequest`, `MovementType`, `ReceiveTransferRequest`, and `ReferenceType`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_transfer_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreateTransferRequest, MovementType, ReceiveTransferRequest, ReferenceType, StockMovement,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdempotencyKeyRequest`
[INFO] [stdout]  --> src/infrastructure/repositories/redis_idempotency_repository.rs:7:60
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::domain::entities::idempotency::{IdempotencyKey, IdempotencyKeyRequest};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgPool`
[INFO] [stdout]  --> src/presentation/handlers/admin.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{PgPool, Row};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/admin.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/presentation/handlers/jobs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnqueueJobUseCase` and `GetJobStatusUseCase`
[INFO] [stdout]   --> src/presentation/handlers/jobs.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     enqueue_job::{EnqueueJobRequest, EnqueueJobUseCase},
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     get_job_status::{GetJobStatusRequest, GetJobStatusUseCase},
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreatePurchaseOrderUseCase`, `GetPurchaseOrderUseCase`, and `ReceivePurchaseOrderUseCase`
[INFO] [stdout]   --> src/presentation/handlers/purchase_order.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |         CreatePurchaseOrderResponse, CreatePurchaseOrderUseCase, CreatePurchaseOrderUseCaseRequest,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     },
[INFO] [stdout] 13 |     get_purchase_order::{GetPurchaseOrderResponse, GetPurchaseOrderUseCase},
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     receive_purchase_order::{
[INFO] [stdout] 15 |         ReceivePurchaseOrderResponse, ReceivePurchaseOrderUseCase,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shared::error::DomainError`
[INFO] [stdout]   --> src/presentation/handlers/purchase_order.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::shared::error::DomainError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateReturnUseCase`
[INFO] [stdout]  --> src/presentation/handlers/returns.rs:1:74
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::application::use_cases::create_return::{CreateReturnResponse, CreateReturnUseCase};
[INFO] [stdout]   |                                                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cleanup_expired_sandboxes::CleanupExpiredSandboxesUseCase`, `create_sandbox_tenant::CreateSandboxTenantUseCase`, `create_tenant::CreateTenantUseCase`, `delete_tenant::DeleteTenantUseCase`, `get_tenant::GetTenantUseCase`, and `list_tenants::ListTenantsUseCase`
[INFO] [stdout]   --> src/presentation/handlers/tenant.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     cleanup_expired_sandboxes::CleanupExpiredSandboxesUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     create_sandbox_tenant::CreateSandboxTenantUseCase, create_tenant::CreateTenantUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     delete_tenant::DeleteTenantUseCase, get_tenant::GetTenantUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_tenants::ListTenantsUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shared::error::DomainError`
[INFO] [stdout]   --> src/presentation/handlers/tenant.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::shared::error::DomainError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateTransferUseCase`
[INFO] [stdout]  --> src/presentation/handlers/transfer.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreateTransferResponse, CreateTransferUseCase,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReceiveTransferUseCase`
[INFO] [stdout]  --> src/presentation/handlers/transfer.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     ReceiveTransferResponse, ReceiveTransferUseCase,
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShipTransferUseCase`
[INFO] [stdout]  --> src/presentation/handlers/transfer.rs:8:74
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::application::use_cases::ship_transfer::{ShipTransferResponse, ShipTransferUseCase};
[INFO] [stdout]   |                                                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/presentation/handlers/webhook.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shared::error::DomainError`
[INFO] [stdout]   --> src/presentation/handlers/webhook_deliveries.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::shared::error::DomainError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/routes/reports.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/routes/search.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SearchUseCaseImpl` and `SearchUseCase`
[INFO] [stdout]  --> src/presentation/routes/search.rs:7:54
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::application::use_cases::search_use_case::{SearchUseCase, SearchUseCaseImpl};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::infrastructure::repositories::postgres_search_repository::PostgresSearchRepository`
[INFO] [stdout]  --> src/presentation/routes/search.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::infrastructure::repositories::postgres_search_repository::PostgresSearchRepository;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `returns::return_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use returns::return_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sales_order::sales_order_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use sales_order::sales_order_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tenant::tenant_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub use tenant::tenant_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transfer::transfer_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use transfer::transfer_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExportService`
[INFO] [stdout]   --> src/main.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::domain::services::export_service::{ExportService, ExportServiceImpl};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebhookDispatcher`
[INFO] [stdout]   --> src/main.rs:28:51
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::domain::services::webhook_dispatcher::{WebhookDispatcher, WebhookDispatcherImpl};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::services::webhook_repository::WebhookRepository`
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::domain::services::webhook_repository::WebhookRepository;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/cleanup_expired_sandboxes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::tenant::Tenant`
[INFO] [stdout]  --> src/application/use_cases/cleanup_expired_sandboxes.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::domain::entities::tenant::Tenant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/application/use_cases/cleanup_expired_sandboxes.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/application/use_cases/cleanup_expired_sandboxes.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use tokio::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TenantType`
[INFO] [stdout]  --> src/application/use_cases/create_sandbox_tenant.rs:8:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::domain::entities::tenant::{Tenant, TenantType};
[INFO] [stdout]   |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/create_tenant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/application/use_cases/create_tenant.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/application/use_cases/create_tenant.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use tokio::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/create_transfer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/create_transfer.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/delete_tenant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/application/use_cases/delete_tenant.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/application/use_cases/delete_tenant.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use tokio::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_billing_metrics.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Job`
[INFO] [stdout]  --> src/application/use_cases/get_job_status.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::job::{Job, JobError};
[INFO] [stdout]   |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LocationType` and `Location`
[INFO] [stdout]  --> src/application/use_cases/get_location.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, LocationAddress, LocationType};
[INFO] [stdout]   |                                         ^^^^^^^^                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_low_stock_report.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `inventory::StockLevel` and `item::Item`
[INFO] [stdout]  --> src/application/use_cases/get_low_stock_report.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     entities::{inventory::StockLevel, item::Item},
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::purchase_order::PurchaseOrder`
[INFO] [stdout]  --> src/application/use_cases/get_purchase_order.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::purchase_order::PurchaseOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_return.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_return.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_sales_order.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_sales_order.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockLevel`
[INFO] [stdout]  --> src/application/use_cases/get_stock_level.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::inventory::{StockLevel, StockLevelResponse};
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::item::Item`
[INFO] [stdout]  --> src/application/use_cases/get_stock_level.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::domain::entities::item::Item;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::location::Location`
[INFO] [stdout]  --> src/application/use_cases/get_stock_level.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::entities::location::Location;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StockMovement`
[INFO] [stdout]  --> src/application/use_cases/get_stock_movements.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::entities::inventory::{StockMovement, StockMovementResponse};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::item::Item`
[INFO] [stdout]  --> src/application/use_cases/get_stock_movements.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::domain::entities::item::Item;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::location::Location`
[INFO] [stdout]  --> src/application/use_cases/get_stock_movements.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::domain::entities::location::Location;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_stock_valuation_report.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_tenant.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/application/use_cases/get_tenant.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/application/use_cases/get_tenant.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use tokio::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/get_transfer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/get_transfer.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Webhook`
[INFO] [stdout]  --> src/application/use_cases/get_webhook_deliveries.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::webhook::{Webhook, WebhookDelivery};
[INFO] [stdout]   |                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/list_dlq_deliveries.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::location::Location`
[INFO] [stdout]  --> src/application/use_cases/list_item_stock_levels.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::domain::entities::location::Location;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LocationAddress`, `LocationType`, and `Location`
[INFO] [stdout]  --> src/application/use_cases/list_locations.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, LocationAddress, LocationType};
[INFO] [stdout]   |                                         ^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/list_tenants.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/application/use_cases/list_tenants.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use std::sync::Arc;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/application/use_cases/list_tenants.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     use tokio::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/process_return.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/process_return.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::entities::inventory::StockMovement`
[INFO] [stdout]  --> src/application/use_cases/receive_purchase_order.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::inventory::StockMovement;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PurchaseOrder`
[INFO] [stdout]  --> src/application/use_cases/receive_purchase_order.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     PurchaseOrder, ReceiveLine, ReceivePurchaseOrderRequest,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/receive_transfer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/receive_transfer.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/replay_dlq_delivery.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SalesOrderLine`
[INFO] [stdout]  --> src/application/use_cases/ship_sales_order.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     SalesOrder, SalesOrderLine, ShipLineRequest, StockMovement,
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/ship_sales_order.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/application/use_cases/ship_transfer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/application/use_cases/ship_transfer.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LocationType` and `Location`
[INFO] [stdout]  --> src/application/use_cases/update_location.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Location, LocationAddress, LocationType, UpdateLocationRequest,
[INFO] [stdout]   |     ^^^^^^^^                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Webhook`
[INFO] [stdout]  --> src/application/use_cases/update_webhook.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::webhook::{Webhook, WebhookEventType, WebhookStatus};
[INFO] [stdout]   |                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdempotencyKeyRequest`
[INFO] [stdout]  --> src/domain/services/idempotency_repository.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::idempotency::{IdempotencyKey, IdempotencyKeyRequest};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateLocationRequest`
[INFO] [stdout]  --> src/domain/services/location_repository.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, UpdateLocationRequest};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreatePurchaseOrderRequest`
[INFO] [stdout]  --> src/domain/services/purchase_order_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreatePurchaseOrderRequest, PurchaseOrder, ReceivePurchaseOrderRequest,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SearchResultItem`
[INFO] [stdout]  --> src/domain/services/search_repository.rs:2:65
[INFO] [stdout]   |
[INFO] [stdout] 2 |     SearchIndex, SearchIndexRequest, SearchQuery, SearchResult, SearchResultItem,
[INFO] [stdout]   |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreateTransferRequest` and `ReceiveTransferRequest`
[INFO] [stdout]  --> src/domain/services/transfer_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreateTransferRequest, ReceiveTransferRequest, StockMovement, Transfer, TransferLine,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebhookEventType`
[INFO] [stdout]  --> src/domain/services/webhook_dispatcher.rs:1:80
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::webhook::{Webhook, WebhookDelivery, WebhookEvent, WebhookEventType};
[INFO] [stdout]   |                                                                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusCode`
[INFO] [stdout]  --> src/domain/services/webhook_dispatcher.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use reqwest::{Client, StatusCode};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::PgPool`
[INFO] [stdout]  --> src/domain/services/webhook_repository.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::PgPool;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeaderMap`
[INFO] [stdout]   --> src/infrastructure/controllers/locations_controller.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     http::{HeaderMap, StatusCode},
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SpanKind`, `Status`, `TraceContextExt`, and `Tracer`
[INFO] [stdout]  --> src/infrastructure/observability/tracing_middleware.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use opentelemetry::trace::{SpanKind, Status, TraceContextExt, Tracer};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyValue` and `global`
[INFO] [stdout]  --> src/infrastructure/observability/tracing_middleware.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use opentelemetry::{global, KeyValue};
[INFO] [stdout]   |                     ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdempotencyKeyRequest`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_idempotency_repository.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::domain::entities::idempotency::{IdempotencyKey, IdempotencyKeyRequest};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JobError`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_job_repository.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::job::{Job, JobError, JobStatus};
[INFO] [stdout]   |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LocationAddress`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_location_repository.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::domain::entities::location::{Location, LocationAddress, LocationType};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreatePurchaseOrderRequest`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_purchase_order_repository.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     CreatePurchaseOrderRequest, PurchaseOrder, PurchaseOrderLine, PurchaseOrderStatus,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Postgres` and `Transaction`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_stock_repository.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sqlx::{PgPool, Postgres, Transaction};
[INFO] [stdout]   |                    ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreateTransferRequest`, `MovementType`, `ReceiveTransferRequest`, and `ReferenceType`
[INFO] [stdout]  --> src/infrastructure/repositories/postgres_transfer_repository.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreateTransferRequest, MovementType, ReceiveTransferRequest, ReferenceType, StockMovement,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IdempotencyKeyRequest`
[INFO] [stdout]  --> src/infrastructure/repositories/redis_idempotency_repository.rs:7:60
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::domain::entities::idempotency::{IdempotencyKey, IdempotencyKeyRequest};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PgPool`
[INFO] [stdout]  --> src/presentation/handlers/admin.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::{PgPool, Row};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/handlers/admin.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/presentation/handlers/jobs.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EnqueueJobUseCase` and `GetJobStatusUseCase`
[INFO] [stdout]   --> src/presentation/handlers/jobs.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     enqueue_job::{EnqueueJobRequest, EnqueueJobUseCase},
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     get_job_status::{GetJobStatusRequest, GetJobStatusUseCase},
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreatePurchaseOrderUseCase`, `GetPurchaseOrderUseCase`, and `ReceivePurchaseOrderUseCase`
[INFO] [stdout]   --> src/presentation/handlers/purchase_order.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |         CreatePurchaseOrderResponse, CreatePurchaseOrderUseCase, CreatePurchaseOrderUseCaseRequest,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     },
[INFO] [stdout] 13 |     get_purchase_order::{GetPurchaseOrderResponse, GetPurchaseOrderUseCase},
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     receive_purchase_order::{
[INFO] [stdout] 15 |         ReceivePurchaseOrderResponse, ReceivePurchaseOrderUseCase,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shared::error::DomainError`
[INFO] [stdout]   --> src/presentation/handlers/purchase_order.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::shared::error::DomainError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateReturnUseCase`
[INFO] [stdout]  --> src/presentation/handlers/returns.rs:1:74
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::application::use_cases::create_return::{CreateReturnResponse, CreateReturnUseCase};
[INFO] [stdout]   |                                                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cleanup_expired_sandboxes::CleanupExpiredSandboxesUseCase`, `create_sandbox_tenant::CreateSandboxTenantUseCase`, `create_tenant::CreateTenantUseCase`, `delete_tenant::DeleteTenantUseCase`, `get_tenant::GetTenantUseCase`, and `list_tenants::ListTenantsUseCase`
[INFO] [stdout]   --> src/presentation/handlers/tenant.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     cleanup_expired_sandboxes::CleanupExpiredSandboxesUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     create_sandbox_tenant::CreateSandboxTenantUseCase, create_tenant::CreateTenantUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     delete_tenant::DeleteTenantUseCase, get_tenant::GetTenantUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_tenants::ListTenantsUseCase,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shared::error::DomainError`
[INFO] [stdout]   --> src/presentation/handlers/tenant.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::shared::error::DomainError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateTransferUseCase`
[INFO] [stdout]  --> src/presentation/handlers/transfer.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 |     CreateTransferResponse, CreateTransferUseCase,
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReceiveTransferUseCase`
[INFO] [stdout]  --> src/presentation/handlers/transfer.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     ReceiveTransferResponse, ReceiveTransferUseCase,
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ShipTransferUseCase`
[INFO] [stdout]  --> src/presentation/handlers/transfer.rs:8:74
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::application::use_cases::ship_transfer::{ShipTransferResponse, ShipTransferUseCase};
[INFO] [stdout]   |                                                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/presentation/handlers/webhook.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shared::error::DomainError`
[INFO] [stdout]   --> src/presentation/handlers/webhook_deliveries.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::shared::error::DomainError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/routes/reports.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/presentation/routes/search.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SearchUseCaseImpl` and `SearchUseCase`
[INFO] [stdout]  --> src/presentation/routes/search.rs:7:54
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::application::use_cases::search_use_case::{SearchUseCase, SearchUseCaseImpl};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::infrastructure::repositories::postgres_search_repository::PostgresSearchRepository`
[INFO] [stdout]  --> src/presentation/routes/search.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::infrastructure::repositories::postgres_search_repository::PostgresSearchRepository;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `returns::return_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use returns::return_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sales_order::sales_order_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use sales_order::sales_order_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tenant::tenant_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub use tenant::tenant_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transfer::transfer_routes`
[INFO] [stdout]   --> src/presentation/routes/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use transfer::transfer_routes;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExportService`
[INFO] [stdout]   --> src/main.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::domain::services::export_service::{ExportService, ExportServiceImpl};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebhookDispatcher`
[INFO] [stdout]   --> src/main.rs:28:51
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::domain::services::webhook_dispatcher::{WebhookDispatcher, WebhookDispatcherImpl};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::domain::services::webhook_repository::WebhookRepository`
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use crate::domain::services::webhook_repository::WebhookRepository;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/cleanup_expired_sandboxes.rs:73:60
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let use_case = CleanupExpiredSandboxesUseCase::new(mock_repo);
[INFO] [stdout]    |                        ----------------------------------- ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/cleanup_expired_sandboxes.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let use_case = CleanupExpiredSandboxesUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/cleanup_expired_sandboxes.rs:89:60
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let use_case = CleanupExpiredSandboxesUseCase::new(mock_repo);
[INFO] [stdout]    |                        ----------------------------------- ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/cleanup_expired_sandboxes.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let use_case = CleanupExpiredSandboxesUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/create_tenant.rs:51:49
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let use_case = CreateTenantUseCase::new(mock_repo);
[INFO] [stdout]    |                        ------------------------ ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/create_tenant.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let use_case = CreateTenantUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/delete_tenant.rs:73:49
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let use_case = DeleteTenantUseCase::new(mock_repo);
[INFO] [stdout]    |                        ------------------------ ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/delete_tenant.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let use_case = DeleteTenantUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/delete_tenant.rs:86:49
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let use_case = DeleteTenantUseCase::new(mock_repo);
[INFO] [stdout]    |                        ------------------------ ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/delete_tenant.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let use_case = DeleteTenantUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/get_tenant.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let use_case = GetTenantUseCase::new(mock_repo);
[INFO] [stdout]    |                        --------------------- ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/get_tenant.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let use_case = GetTenantUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/get_tenant.rs:72:46
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let use_case = GetTenantUseCase::new(mock_repo);
[INFO] [stdout]    |                        --------------------- ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/get_tenant.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let use_case = GetTenantUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/list_tenants.rs:54:48
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let use_case = ListTenantsUseCase::new(mock_repo);
[INFO] [stdout]    |                        ----------------------- ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/list_tenants.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let use_case = ListTenantsUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/application/use_cases/list_tenants.rs:68:48
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let use_case = ListTenantsUseCase::new(mock_repo);
[INFO] [stdout]    |                        ----------------------- ^^^^^^^^^ expected `Arc<_>`, found `MockTenantRepository`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<_>`
[INFO] [stdout]               found struct `MockTenantRepository`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/application/use_cases/list_tenants.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(tenant_repository: Arc<T>) -> Self {
[INFO] [stdout]    |            ^^^ -------------------------
[INFO] [stdout] help: call `Into::into` on this expression to convert `MockTenantRepository` into `Arc<_>`
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let use_case = ListTenantsUseCase::new(mock_repo.into());
[INFO] [stdout]    |                                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `webhook`
[INFO] [stdout]   --> src/application/use_cases/replay_dlq_delivery.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let webhook = self
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_webhook`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `webhook`
[INFO] [stdout]   --> src/application/use_cases/replay_dlq_delivery.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let webhook = self
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_webhook`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/infrastructure/middleware/idempotency.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn extract_response_body(response: &Response) -> Option<String> {
[INFO] [stdout]     |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]   --> src/infrastructure/middleware/rate_limit_middleware.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub async fn handle(self, headers: HeaderMap, request: Request, next: Next) -> Response {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]    --> src/infrastructure/middleware/rate_limit_middleware.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 128 |     headers: HeaderMap,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]    --> src/infrastructure/middleware/tenant_middleware.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub async fn tenant_middleware(headers: HeaderMap, request: Request, next: Next) -> Response {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> src/infrastructure/observability/mod.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let resource = Resource::new(vec![
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/infrastructure/middleware/idempotency.rs:164:26
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn extract_response_body(response: &Response) -> Option<String> {
[INFO] [stdout]     |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]   --> src/infrastructure/middleware/rate_limit_middleware.rs:27:31
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub async fn handle(self, headers: HeaderMap, request: Request, next: Next) -> Response {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]    --> src/infrastructure/middleware/rate_limit_middleware.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 128 |     headers: HeaderMap,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `headers`
[INFO] [stdout]    --> src/infrastructure/middleware/tenant_middleware.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub async fn tenant_middleware(headers: HeaderMap, request: Request, next: Next) -> Response {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> src/infrastructure/observability/mod.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let resource = Resource::new(vec![
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `created_by`
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_sales_order_repository.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         created_by: Uuid,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_by`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `created_by`
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_sales_order_repository.rs:549:9
[INFO] [stdout]     |
[INFO] [stdout] 549 |         created_by: Uuid,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_by`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/infrastructure/services/job_service_impl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut job = Job::new(tenant_id, request.job_type, Some(request.payload))?;
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `param_count` is never read
[INFO] [stdout]    --> src/presentation/handlers/admin.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |         param_count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `created_by`
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_sales_order_repository.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         created_by: Uuid,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_by`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `created_by`
[INFO] [stdout]    --> src/infrastructure/repositories/postgres_sales_order_repository.rs:549:9
[INFO] [stdout]     |
[INFO] [stdout] 549 |         created_by: Uuid,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_by`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `The-Warehouse-Hub---TWH` (bin "The-Warehouse-Hub---TWH") due to 94 previous errors; 99 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/infrastructure/services/job_service_impl.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut job = Job::new(tenant_id, request.job_type, Some(request.payload))?;
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `param_count` is never read
[INFO] [stdout]    --> src/presentation/handlers/admin.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |         param_count += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `The-Warehouse-Hub---TWH` (bin "The-Warehouse-Hub---TWH" test) due to 103 previous errors; 108 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5", kill_on_drop: false }`
[INFO] [stdout] 7f292068fa6e052f4ea116fec64ff704c828cdd0f8942a7fdc2db5d133dd90d5
