[INFO] cloning repository https://github.com/Jonathan-dev2002/miniShopAxum
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jonathan-dev2002/miniShopAxum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathan-dev2002%2FminiShopAxum", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathan-dev2002%2FminiShopAxum'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca845989114c26caa4a458020605e1c791b78028
[INFO] checking Jonathan-dev2002/miniShopAxum/ca845989114c26caa4a458020605e1c791b78028 against master#65407954098ca3c19f0d46092cb374b5d3e9dc3c for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonathan-dev2002%2FminiShopAxum" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Jonathan-dev2002/miniShopAxum
[INFO] finished tweaking git repo https://github.com/Jonathan-dev2002/miniShopAxum
[INFO] tweaked toml for git repo https://github.com/Jonathan-dev2002/miniShopAxum written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jonathan-dev2002/miniShopAxum on toolchain 65407954098ca3c19f0d46092cb374b5d3e9dc3c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Jonathan-dev2002/miniShopAxum 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" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.113
[INFO] [stderr]   Downloaded rsa v0.9.9
[INFO] [stderr]   Downloaded yaup v0.3.1
[INFO] [stderr]   Downloaded meilisearch-sdk v0.27.1
[INFO] [stderr]   Downloaded structmeta v0.3.0
[INFO] [stderr]   Downloaded structmeta-derive v0.3.0
[INFO] [stderr]   Downloaded meilisearch-index-setting-macro v0.27.1
[INFO] [stderr]   Downloaded iso8601 v0.6.3
[INFO] [stderr]   Downloaded bcrypt v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d
[INFO] running `Command { std: "docker" "start" "78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d", 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" "78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d", 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" "78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling syn v2.0.113
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking rustls-webpki v0.103.8
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling structmeta-derive v0.3.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking webpki-roots v1.0.5
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]    Compiling structmeta v0.3.0
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling meilisearch-index-setting-macro v0.27.1
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking yaup v0.3.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking iso8601 v0.6.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking meilisearch-sdk v0.27.1
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking miniShopAxum 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/repositories/user_repository.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /         sqlx::query_as!(
[INFO] [stdout] 21 | |             UserEntity,
[INFO] [stdout] 22 | |             "INSERT INTO users (id, username, password_hash, created_at) VALUES ($1, $2, $3, $4) RETURNING *",
[INFO] [stdout] 23 | |             Uuid::new_v4(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |             chrono::Utc::now()
[INFO] [stdout] 27 | |         )
[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/repositories/user_repository.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         sqlx::query_as!(
[INFO] [stdout] 37 | |             UserEntity,
[INFO] [stdout] 38 | |             "SELECT * FROM users WHERE username = $1",
[INFO] [stdout] 39 | |             username
[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_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/repositories/user_repository.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         sqlx::query_as!(UserEntity, "SELECT * FROM users WHERE id = $1", user_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_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/repositories/user_repository.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         sqlx::query_as!(UserEntity, "SELECT * FROM users ORDER BY created_at DESC")
[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/repositories/user_repository.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 | /         sqlx::query_as!(
[INFO] [stdout] 128 | |             UserEntity,
[INFO] [stdout] 129 | |             r#"
[INFO] [stdout] 130 | |         UPDATE users 
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             user_id
[INFO] [stdout] 140 | |         )
[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/repositories/user_repository.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         sqlx::query!("DELETE FROM users WHERE id = $1", user_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/repositories/categories_repository.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | /         sqlx::query_as!(
[INFO] [stdout] 24 | |             CategoryEntity,
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             INSERT INTO categories (name, description, is_active) 
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             req.is_active.unwrap_or(true)
[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_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/repositories/categories_repository.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | /         sqlx::query_as!(
[INFO] [stdout] 111 | |             CategoryEntity,
[INFO] [stdout] 112 | |             "SELECT * FROM categories WHERE id = $1",
[INFO] [stdout] 113 | |             categories_id
[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_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/repositories/categories_repository.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | /         sqlx::query_as!(
[INFO] [stdout] 125 | |             CategoryEntity,
[INFO] [stdout] 126 | |             r#"
[INFO] [stdout] 127 | |             UPDATE categories 
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             categories_id
[INFO] [stdout] 140 | |         )
[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/repositories/categories_repository.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 147 | |             r#"
[INFO] [stdout] 148 | |             UPDATE categories 
[INFO] [stdout] 149 | |             SET is_active = false, 
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |             id
[INFO] [stdout] 154 | |         )
[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/repositories/products_repository.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         sqlx::query_as!(
[INFO] [stdout] 20 | |             ProductEntity,
[INFO] [stdout] 21 | |             r#"
[INFO] [stdout] 22 | |             INSERT INTO products 
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             req.is_active.unwrap_or(true)
[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_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/repositories/products_repository.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | /         sqlx::query_as!(
[INFO] [stdout] 132 | |             ProductEntity,
[INFO] [stdout] 133 | |             r#"
[INFO] [stdout] 134 | |             UPDATE products
[INFO] [stdout] ...   |
[INFO] [stdout] 152 | |             id
[INFO] [stdout] 153 | |         )
[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/repositories/products_repository.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 160 | |             "UPDATE products SET is_active = false, updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 161 | |             id
[INFO] [stdout] 162 | |         )
[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/repositories/cart_repository.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |           let cart = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 17 | |             CartsEntity,
[INFO] [stdout] 18 | |             "SELECT * FROM carts WHERE user_id = $1",
[INFO] [stdout] 19 | |             user_id
[INFO] [stdout] 20 | |         )
[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/repositories/cart_repository.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |               let new_cart = sqlx::query!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 28 | |                 "INSERT INTO carts (user_id) VALUES ($1) RETURNING id",
[INFO] [stdout] 29 | |                 user_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/repositories/cart_repository.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | /         sqlx::query_as!(
[INFO] [stdout] 39 | |             CartItemDetail,
[INFO] [stdout] 40 | |             r#"
[INFO] [stdout] 41 | |             SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             cart_id
[INFO] [stdout] 53 | |         )
[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/repositories/cart_repository.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | /         sqlx::query!(
[INFO] [stdout] 65 | |             r#"
[INFO] [stdout] 66 | |             INSERT INTO cart_items (cart_id, product_id, quantity)
[INFO] [stdout] 67 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             quantity
[INFO] [stdout] 76 | |         )
[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/repositories/cart_repository.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 88 | |             "UPDATE cart_items SET quantity = $1, updated_at = NOW() WHERE id = $2",
[INFO] [stdout] 89 | |             quantity,
[INFO] [stdout] 90 | |             item_id
[INFO] [stdout] 91 | |         )
[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/repositories/cart_repository.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let result = sqlx::query!("DELETE FROM cart_items WHERE id = $1", item_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] warning: unused import: `Extension`
[INFO] [stdout]  --> src/controllers/categories_controller.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Extension, Json,
[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: `meilisearch_sdk::search::SearchResults`
[INFO] [stdout]   --> src/controllers/products_controller.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use meilisearch_sdk::search::SearchResults;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CartItemDetail`, `CartWithItems`, and `ProductEntity`
[INFO] [stdout]  --> src/models/dto.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     CartItemDetail, CartWithItems, CategoryEntity, ProductEntity, ProductWithCategory,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Date`
[INFO] [stdout]  --> src/models/entity.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::Query`
[INFO] [stdout]  --> src/repositories/categories_repository.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use axum::extract::Query;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CartsEntity`
[INFO] [stdout]  --> src/repositories/cart_repository.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::entity::{CartItemDetail, CartsEntity};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/services/auth_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProductSearchDocument`
[INFO] [stdout]  --> src/services/products_service.rs:3:72
[INFO] [stdout]   |
[INFO] [stdout] 3 |         FilterOptions, PagedResponse, ProductRequest, ProductResponse, ProductSearchDocument,
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `search::SearchResults`, `self`, and `tasks::Task`
[INFO] [stdout]  --> src/services/search_service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     search::SearchResults,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     settings::{self, Settings},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 9 |     tasks::Task,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Router`, `get`, `middleware as axum_middleware`, and `post`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Router, middleware as axum_middleware,
[INFO] [stdout]    |     ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     routing::{get, post},
[INFO] [stdout]    |               ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `login_handler` and `register_handler`
[INFO] [stdout]   --> src/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | use controllers::auth_controller::{login_handler, register_handler};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `middleware::auth::auth_middleware`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use middleware::auth::auth_middleware;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cart_service` and `self`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     cart_service,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     search_service::{self, SearchService},
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/models/entity.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[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/repositories/user_repository.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | /         sqlx::query_as!(
[INFO] [stdout] 21 | |             UserEntity,
[INFO] [stdout] 22 | |             "INSERT INTO users (id, username, password_hash, created_at) VALUES ($1, $2, $3, $4) RETURNING *",
[INFO] [stdout] 23 | |             Uuid::new_v4(),
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |             chrono::Utc::now()
[INFO] [stdout] 27 | |         )
[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/repositories/user_repository.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         sqlx::query_as!(
[INFO] [stdout] 37 | |             UserEntity,
[INFO] [stdout] 38 | |             "SELECT * FROM users WHERE username = $1",
[INFO] [stdout] 39 | |             username
[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_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/repositories/user_repository.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         sqlx::query_as!(UserEntity, "SELECT * FROM users WHERE id = $1", user_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_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/repositories/user_repository.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         sqlx::query_as!(UserEntity, "SELECT * FROM users ORDER BY created_at DESC")
[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/repositories/user_repository.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 | /         sqlx::query_as!(
[INFO] [stdout] 128 | |             UserEntity,
[INFO] [stdout] 129 | |             r#"
[INFO] [stdout] 130 | |         UPDATE users 
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             user_id
[INFO] [stdout] 140 | |         )
[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/repositories/user_repository.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         sqlx::query!("DELETE FROM users WHERE id = $1", user_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/repositories/categories_repository.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | /         sqlx::query_as!(
[INFO] [stdout] 24 | |             CategoryEntity,
[INFO] [stdout] 25 | |             r#"
[INFO] [stdout] 26 | |             INSERT INTO categories (name, description, is_active) 
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             req.is_active.unwrap_or(true)
[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_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/repositories/categories_repository.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | /         sqlx::query_as!(
[INFO] [stdout] 111 | |             CategoryEntity,
[INFO] [stdout] 112 | |             "SELECT * FROM categories WHERE id = $1",
[INFO] [stdout] 113 | |             categories_id
[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_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/repositories/categories_repository.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | /         sqlx::query_as!(
[INFO] [stdout] 125 | |             CategoryEntity,
[INFO] [stdout] 126 | |             r#"
[INFO] [stdout] 127 | |             UPDATE categories 
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             categories_id
[INFO] [stdout] 140 | |         )
[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/repositories/categories_repository.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 147 | |             r#"
[INFO] [stdout] 148 | |             UPDATE categories 
[INFO] [stdout] 149 | |             SET is_active = false, 
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |             id
[INFO] [stdout] 154 | |         )
[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/repositories/products_repository.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         sqlx::query_as!(
[INFO] [stdout] 20 | |             ProductEntity,
[INFO] [stdout] 21 | |             r#"
[INFO] [stdout] 22 | |             INSERT INTO products 
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             req.is_active.unwrap_or(true)
[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_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/repositories/products_repository.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 | /         sqlx::query_as!(
[INFO] [stdout] 132 | |             ProductEntity,
[INFO] [stdout] 133 | |             r#"
[INFO] [stdout] 134 | |             UPDATE products
[INFO] [stdout] ...   |
[INFO] [stdout] 152 | |             id
[INFO] [stdout] 153 | |         )
[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/repositories/products_repository.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 160 | |             "UPDATE products SET is_active = false, updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 161 | |             id
[INFO] [stdout] 162 | |         )
[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/repositories/cart_repository.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |           let cart = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 17 | |             CartsEntity,
[INFO] [stdout] 18 | |             "SELECT * FROM carts WHERE user_id = $1",
[INFO] [stdout] 19 | |             user_id
[INFO] [stdout] 20 | |         )
[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/repositories/cart_repository.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |               let new_cart = sqlx::query!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 28 | |                 "INSERT INTO carts (user_id) VALUES ($1) RETURNING id",
[INFO] [stdout] 29 | |                 user_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/repositories/cart_repository.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | /         sqlx::query_as!(
[INFO] [stdout] 39 | |             CartItemDetail,
[INFO] [stdout] 40 | |             r#"
[INFO] [stdout] 41 | |             SELECT 
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             cart_id
[INFO] [stdout] 53 | |         )
[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/repositories/cart_repository.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | /         sqlx::query!(
[INFO] [stdout] 65 | |             r#"
[INFO] [stdout] 66 | |             INSERT INTO cart_items (cart_id, product_id, quantity)
[INFO] [stdout] 67 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | |             quantity
[INFO] [stdout] 76 | |         )
[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/repositories/cart_repository.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 88 | |             "UPDATE cart_items SET quantity = $1, updated_at = NOW() WHERE id = $2",
[INFO] [stdout] 89 | |             quantity,
[INFO] [stdout] 90 | |             item_id
[INFO] [stdout] 91 | |         )
[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/repositories/cart_repository.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let result = sqlx::query!("DELETE FROM cart_items WHERE id = $1", item_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] warning: unused import: `Extension`
[INFO] [stdout]  --> src/controllers/categories_controller.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Extension, Json,
[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: `meilisearch_sdk::search::SearchResults`
[INFO] [stdout]   --> src/controllers/products_controller.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use meilisearch_sdk::search::SearchResults;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CartItemDetail`, `CartWithItems`, and `ProductEntity`
[INFO] [stdout]  --> src/models/dto.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     CartItemDetail, CartWithItems, CategoryEntity, ProductEntity, ProductWithCategory,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Date`
[INFO] [stdout]  --> src/models/entity.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::Query`
[INFO] [stdout]  --> src/repositories/categories_repository.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use axum::extract::Query;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CartsEntity`
[INFO] [stdout]  --> src/repositories/cart_repository.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::entity::{CartItemDetail, CartsEntity};
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/services/auth_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProductSearchDocument`
[INFO] [stdout]  --> src/services/products_service.rs:3:72
[INFO] [stdout]   |
[INFO] [stdout] 3 |         FilterOptions, PagedResponse, ProductRequest, ProductResponse, ProductSearchDocument,
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `search::SearchResults`, `self`, and `tasks::Task`
[INFO] [stdout]  --> src/services/search_service.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     search::SearchResults,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     settings::{self, Settings},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 9 |     tasks::Task,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Router`, `get`, `middleware as axum_middleware`, and `post`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Router, middleware as axum_middleware,
[INFO] [stdout]    |     ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     routing::{get, post},
[INFO] [stdout]    |               ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `login_handler` and `register_handler`
[INFO] [stdout]   --> src/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | use controllers::auth_controller::{login_handler, register_handler};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `middleware::auth::auth_middleware`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use middleware::auth::auth_middleware;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cart_service` and `self`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     cart_service,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 29 |     search_service::{self, SearchService},
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/models/entity.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Date, DateTime, Utc};
[INFO] [stdout]   |              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delete`
[INFO] [stdout]   --> src/controllers/categories_controller.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let delete = state
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delete`
[INFO] [stdout]   --> src/controllers/categories_controller.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let delete = state
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `miniShopAxum` (bin "miniShopAxum" test) due to 19 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `miniShopAxum` (bin "miniShopAxum") due to 19 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d", kill_on_drop: false }`
[INFO] [stdout] 78a46fe1080fde9bee2b462d9147fc7dde52054e5657187b47d86655516b134d
