[INFO] cloning repository https://github.com/sanaedesuyo/db-web
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanaedesuyo/db-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanaedesuyo%2Fdb-web", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanaedesuyo%2Fdb-web'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c35e0e6571f1e33448120dcd6173101952c8c38f
[INFO] checking sanaedesuyo/db-web/c35e0e6571f1e33448120dcd6173101952c8c38f against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanaedesuyo%2Fdb-web" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sanaedesuyo/db-web
[INFO] finished tweaking git repo https://github.com/sanaedesuyo/db-web
[INFO] tweaked toml for git repo https://github.com/sanaedesuyo/db-web written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sanaedesuyo/db-web on toolchain 035b01b794602d5861daa43ac792f372f8981ed7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sanaedesuyo/db-web 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bcrypt v0.17.1
[INFO] [stderr]   Downloaded axum-extra v0.12.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abb57cad50532e3b659f4ef784f672277065dcf7ac6f2d1c884691d8a019e5e9
[INFO] running `Command { std: "docker" "start" "-a" "abb57cad50532e3b659f4ef784f672277065dcf7ac6f2d1c884691d8a019e5e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abb57cad50532e3b659f4ef784f672277065dcf7ac6f2d1c884691d8a019e5e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abb57cad50532e3b659f4ef784f672277065dcf7ac6f2d1c884691d8a019e5e9", kill_on_drop: false }`
[INFO] [stdout] abb57cad50532e3b659f4ef784f672277065dcf7ac6f2d1c884691d8a019e5e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1cea08e77497bc76d01a69d7e32ce29e9dd7562724447a1253dfafb9bb4f20bc
[INFO] running `Command { std: "docker" "start" "-a" "1cea08e77497bc76d01a69d7e32ce29e9dd7562724447a1253dfafb9bb4f20bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.45
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling rustls-pki-types v1.13.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling log v0.4.28
[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 parking v2.2.1
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking rsa v0.9.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking cookie v0.18.1
[INFO] [stderr]     Checking curve25519-dalek v4.1.3
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking jiff v0.2.16
[INFO] [stderr]     Checking bcrypt v0.17.1
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking tower-http v0.6.7
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking hyper v1.8.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.16.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]     Checking jsonwebtoken v10.2.0
[INFO] [stderr]     Checking serde_with v3.16.0
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking axum-extra v0.12.2
[INFO] [stderr]     Checking sqlx-mysql v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking db-web 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/handlers/client.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 12 | |         Client,
[INFO] [stdout] 13 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 14 | |         auth_client.id,
[INFO] [stdout] 15 | |     )
[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/handlers/client.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 30 | |         r#"
[INFO] [stdout] 31 | |         INSERT INTO clients (name, ctype, contactor, contactor_tel, email, description, username, password)
[INFO] [stdout] 32 | |         VALUES (?, ?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         })?
[INFO] [stdout] 38 | |     )
[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/handlers/client.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 62 | |         r#"UPDATE clients SET
[INFO] [stdout] 63 | |         name = COALESCE(?, name),
[INFO] [stdout] 64 | |         password = COALESCE(?, password),
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         client.name, enc_pwd, client.contactor, client.contactor_tel, client.email, client.description, client.id
[INFO] [stdout] 71 | |     )
[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/handlers/client.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 86 | |         Client,
[INFO] [stdout] 87 | |         "SELECT * FROM clients WHERE username = ?",
[INFO] [stdout] 88 | |         param.username
[INFO] [stdout] 89 | |     )
[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/handlers/inventory.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |       let existing = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |         Inventory,
[INFO] [stdout] 86 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 87 | |         inventory.rid, inventory.pid
[INFO] [stdout] 88 | |     )
[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/handlers/inventory.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout]  97 | /         sqlx::query!(
[INFO] [stdout]  98 | |             "INSERT INTO inventory (rid, pid, amount) VALUES(?, ?, ?)",
[INFO] [stdout]  99 | |             inventory.rid, inventory.pid, 0u32
[INFO] [stdout] 100 | |         )
[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/handlers/inventory.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 110 | |         r#"UPDATE inventory SET
[INFO] [stdout] 111 | |         amount = amount + ?
[INFO] [stdout] 112 | |         WHERE rid = ? AND pid = ?"#,
[INFO] [stdout] 113 | |         inventory.amount, inventory.rid, inventory.pid
[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/handlers/inventory.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |       let record = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 143 | |         Inventory,
[INFO] [stdout] 144 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 145 | |         inventory.rid, inventory.pid
[INFO] [stdout] 146 | |     )
[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/handlers/inventory.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 166 | |         r#"UPDATE inventory SET
[INFO] [stdout] 167 | |         amount = amount - ?,
[INFO] [stdout] 168 | |         reserved_amount = reserved_amount - ?
[INFO] [stdout] 169 | |         WHERE rid = ? AND pid = ?"#,
[INFO] [stdout] 170 | |         inventory.amount, inventory.amount, inventory.rid, inventory.pid
[INFO] [stdout] 171 | |     )
[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/handlers/order.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let order = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 12 | |         Order,
[INFO] [stdout] 13 | |         "SELECT * FROM orders WHERE id = ?",
[INFO] [stdout] 14 | |         param.id,
[INFO] [stdout] 15 | |     )
[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/handlers/order.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let order_items = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 28 | |         OrderItem,
[INFO] [stdout] 29 | |         "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 30 | |         existed_order.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_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/handlers/order.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 66 | |         Client,
[INFO] [stdout] 67 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 68 | |         param.id
[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_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/handlers/order.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let total = sqlx::query_scalar!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 82 | |         "SELECT COUNT(*) FROM orders WHERE cid = ?",
[INFO] [stdout] 83 | |         existed_client.id
[INFO] [stdout] 84 | |     )
[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/handlers/order.rs:96:18
[INFO] [stdout]     |
[INFO] [stdout]  96 |       let orders = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  97 | |         Order,
[INFO] [stdout]  98 | |         "SELECT * FROM orders WHERE cid = ? LIMIT ? OFFSET ?",
[INFO] [stdout]  99 | |         existed_client.id, param.page_size, offset
[INFO] [stdout] 100 | |     )
[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/handlers/order.rs:111:27
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let order_items = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 112 | |             OrderItem,
[INFO] [stdout] 113 | |             "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 114 | |             order.id
[INFO] [stdout] 115 | |         )
[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/handlers/order.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let order_id = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 166 | |         r#"INSERT INTO orders
[INFO] [stdout] 167 | |         (order_id, cid)
[INFO] [stdout] 168 | |         VALUES (?, ?)"#,
[INFO] [stdout] 169 | |         order_uuid, detailed_order.cid
[INFO] [stdout] 170 | |     )
[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/handlers/order.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 | /         sqlx::query!(
[INFO] [stdout] 181 | |             r#"INSERT INTO order_items
[INFO] [stdout] 182 | |             (order_id, pid, rid, amount, unit_price)
[INFO] [stdout] 183 | |             VALUES (?, ?, ?, ?, ?)"#,
[INFO] [stdout] 184 | |             order_id, order_item.pid, order_item.rid, order_item.amount, order_item.unit_price
[INFO] [stdout] 185 | |         )
[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/handlers/order.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 | /         sqlx::query!(
[INFO] [stdout] 194 | |             r#"UPDATE inventory SET
[INFO] [stdout] 195 | |             reserved_amount = reserved_amount + ?
[INFO] [stdout] 196 | |             WHERE pid = ? AND rid = ?"#,
[INFO] [stdout] 197 | |             order_item.amount, order_item.pid, order_item.rid,
[INFO] [stdout] 198 | |         )
[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/handlers/order.rs:222:18
[INFO] [stdout]     |
[INFO] [stdout] 222 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 223 | |         r#"UPDATE orders SET
[INFO] [stdout] 224 | |         status = ?
[INFO] [stdout] 225 | |         WHERE id = ?"#,
[INFO] [stdout] 226 | |         order.status, order.id
[INFO] [stdout] 227 | |     )
[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/handlers/product.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Product,
[INFO] [stdout] 12 | |         "SELECT * FROM products WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[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/handlers/product.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO products
[INFO] [stdout] 34 | |         (name, size, price, max_amount, min_amount)
[INFO] [stdout] 35 | |         VALUES (?, ?, ?, ?, ?)
[INFO] [stdout] 36 | |         "#,
[INFO] [stdout] 37 | |         product.name, product.size, product.price, product.max_amount, product.min_amount
[INFO] [stdout] 38 | |     )
[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/handlers/product.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 57 | |         r#"UPDATE products SET
[INFO] [stdout] 58 | |         name = COALESCE(?, name),
[INFO] [stdout] 59 | |         size = COALESCE(?, size),
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |         product.name, product.size, product.price, product.max_amount, product.min_amount, product.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/handlers/product.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 83 | |         Product,
[INFO] [stdout] 84 | |         "SELECT * FROM products",
[INFO] [stdout] 85 | |     )
[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/handlers/repository.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Repository,
[INFO] [stdout] 12 | |         "SELECT * FROM repository WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[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/handlers/repository.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO repository (name, description)
[INFO] [stdout] 34 | |         VALUES (?, ?)
[INFO] [stdout] 35 | |         "#,
[INFO] [stdout] 36 | |         repository.name, repository.description
[INFO] [stdout] 37 | |     )
[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/handlers/repository.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 56 | |         r#"UPDATE repository SET name = ?, description = ?
[INFO] [stdout] 57 | |         WHERE id = ?
[INFO] [stdout] 58 | |         "#,
[INFO] [stdout] 59 | |         repository.name, repository.description, repository.id
[INFO] [stdout] 60 | |     )
[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/handlers/repository.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |         Repository,
[INFO] [stdout] 79 | |         "SELECT * FROM repository",
[INFO] [stdout] 80 | |     )
[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/handlers/repository.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  98 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  99 | |         Repository,
[INFO] [stdout] 100 | |         "SELECT * FROM repository WHERE name LIKE ?",
[INFO] [stdout] 101 | |         format!("%{}%", param.name)
[INFO] [stdout] 102 | |     )
[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/handlers/repository.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 121 | |         "DELETE FROM repository WHERE id = ?",
[INFO] [stdout] 122 | |         param.id
[INFO] [stdout] 123 | |     )
[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/handlers/user.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 19 | |         User,
[INFO] [stdout] 20 | |         "SELECT * FROM users WHERE id = ?",
[INFO] [stdout] 21 | |         param.id
[INFO] [stdout] 22 | |     )
[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/handlers/user.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let existed_user = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 35 | |         User,
[INFO] [stdout] 36 | |         "SELECT * FROM users WHERE name = ?",
[INFO] [stdout] 37 | |         user.name
[INFO] [stdout] 38 | |     )
[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/handlers/user.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 79 | |         r#"
[INFO] [stdout] 80 | |         INSERT INTO users (name, password, flag, description)
[INFO] [stdout] 81 | |         VALUES (?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         })?, user.flag, user.description
[INFO] [stdout] 87 | |     )
[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/handlers/user.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 113 | |         r#"UPDATE users SET
[INFO] [stdout] 114 | |         name = COALESCE(?, name),
[INFO] [stdout] 115 | |         password = COALESCE(?, password),
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         user.name, enc_pwd, user.flag, user.description, user.id
[INFO] [stdout] 120 | |     )
[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/handlers/user.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 136 | |         "DELETE FROM users WHERE id = ?",
[INFO] [stdout] 137 | |         param.id
[INFO] [stdout] 138 | |     )
[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/handlers/cop/user_client.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         Client,
[INFO] [stdout] 14 | |         "SELECT * FROM clients WHERE name LIKE ?",
[INFO] [stdout] 15 | |         format!("%{}%", param.name)
[INFO] [stdout] 16 | |     )
[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/handlers/cop/user_client.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 32 | |         Client,
[INFO] [stdout] 33 | |         "SELECT * FROM clients WHERE ctype = ?",
[INFO] [stdout] 34 | |         param.ctype
[INFO] [stdout] 35 | |     )
[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/handlers/cop/user_client.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 50 | |         Client,
[INFO] [stdout] 51 | |         "SELECT * FROM clients"
[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_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/handlers/cop/user_client.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 68 | |         r#"UPDATE clients SET
[INFO] [stdout] 69 | |         ctype = ?
[INFO] [stdout] 70 | |         WHERE id = ?"#,
[INFO] [stdout] 71 | |         param.ctype, param.id
[INFO] [stdout] 72 | |     )
[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/handlers/cop/user_client.rs:90:18
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 91 | |         Client,
[INFO] [stdout] 92 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 93 | |         param.id
[INFO] [stdout] 94 | |     )
[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/handlers/client.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 12 | |         Client,
[INFO] [stdout] 13 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 14 | |         auth_client.id,
[INFO] [stdout] 15 | |     )
[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/handlers/client.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 30 | |         r#"
[INFO] [stdout] 31 | |         INSERT INTO clients (name, ctype, contactor, contactor_tel, email, description, username, password)
[INFO] [stdout] 32 | |         VALUES (?, ?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         })?
[INFO] [stdout] 38 | |     )
[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/handlers/client.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 62 | |         r#"UPDATE clients SET
[INFO] [stdout] 63 | |         name = COALESCE(?, name),
[INFO] [stdout] 64 | |         password = COALESCE(?, password),
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         client.name, enc_pwd, client.contactor, client.contactor_tel, client.email, client.description, client.id
[INFO] [stdout] 71 | |     )
[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/handlers/client.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 86 | |         Client,
[INFO] [stdout] 87 | |         "SELECT * FROM clients WHERE username = ?",
[INFO] [stdout] 88 | |         param.username
[INFO] [stdout] 89 | |     )
[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/handlers/inventory.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |       let existing = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |         Inventory,
[INFO] [stdout] 86 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 87 | |         inventory.rid, inventory.pid
[INFO] [stdout] 88 | |     )
[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/handlers/inventory.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout]  97 | /         sqlx::query!(
[INFO] [stdout]  98 | |             "INSERT INTO inventory (rid, pid, amount) VALUES(?, ?, ?)",
[INFO] [stdout]  99 | |             inventory.rid, inventory.pid, 0u32
[INFO] [stdout] 100 | |         )
[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/handlers/inventory.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 110 | |         r#"UPDATE inventory SET
[INFO] [stdout] 111 | |         amount = amount + ?
[INFO] [stdout] 112 | |         WHERE rid = ? AND pid = ?"#,
[INFO] [stdout] 113 | |         inventory.amount, inventory.rid, inventory.pid
[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/handlers/inventory.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |       let record = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 143 | |         Inventory,
[INFO] [stdout] 144 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 145 | |         inventory.rid, inventory.pid
[INFO] [stdout] 146 | |     )
[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/handlers/inventory.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 166 | |         r#"UPDATE inventory SET
[INFO] [stdout] 167 | |         amount = amount - ?,
[INFO] [stdout] 168 | |         reserved_amount = reserved_amount - ?
[INFO] [stdout] 169 | |         WHERE rid = ? AND pid = ?"#,
[INFO] [stdout] 170 | |         inventory.amount, inventory.amount, inventory.rid, inventory.pid
[INFO] [stdout] 171 | |     )
[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/handlers/order.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let order = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 12 | |         Order,
[INFO] [stdout] 13 | |         "SELECT * FROM orders WHERE id = ?",
[INFO] [stdout] 14 | |         param.id,
[INFO] [stdout] 15 | |     )
[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/handlers/order.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let order_items = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 28 | |         OrderItem,
[INFO] [stdout] 29 | |         "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 30 | |         existed_order.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_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/handlers/order.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 66 | |         Client,
[INFO] [stdout] 67 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 68 | |         param.id
[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_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/handlers/order.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let total = sqlx::query_scalar!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 82 | |         "SELECT COUNT(*) FROM orders WHERE cid = ?",
[INFO] [stdout] 83 | |         existed_client.id
[INFO] [stdout] 84 | |     )
[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/handlers/order.rs:96:18
[INFO] [stdout]     |
[INFO] [stdout]  96 |       let orders = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  97 | |         Order,
[INFO] [stdout]  98 | |         "SELECT * FROM orders WHERE cid = ? LIMIT ? OFFSET ?",
[INFO] [stdout]  99 | |         existed_client.id, param.page_size, offset
[INFO] [stdout] 100 | |     )
[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/handlers/order.rs:111:27
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let order_items = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 112 | |             OrderItem,
[INFO] [stdout] 113 | |             "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 114 | |             order.id
[INFO] [stdout] 115 | |         )
[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/handlers/order.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let order_id = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 166 | |         r#"INSERT INTO orders
[INFO] [stdout] 167 | |         (order_id, cid)
[INFO] [stdout] 168 | |         VALUES (?, ?)"#,
[INFO] [stdout] 169 | |         order_uuid, detailed_order.cid
[INFO] [stdout] 170 | |     )
[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/handlers/order.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 | /         sqlx::query!(
[INFO] [stdout] 181 | |             r#"INSERT INTO order_items
[INFO] [stdout] 182 | |             (order_id, pid, rid, amount, unit_price)
[INFO] [stdout] 183 | |             VALUES (?, ?, ?, ?, ?)"#,
[INFO] [stdout] 184 | |             order_id, order_item.pid, order_item.rid, order_item.amount, order_item.unit_price
[INFO] [stdout] 185 | |         )
[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/handlers/order.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 | /         sqlx::query!(
[INFO] [stdout] 194 | |             r#"UPDATE inventory SET
[INFO] [stdout] 195 | |             reserved_amount = reserved_amount + ?
[INFO] [stdout] 196 | |             WHERE pid = ? AND rid = ?"#,
[INFO] [stdout] 197 | |             order_item.amount, order_item.pid, order_item.rid,
[INFO] [stdout] 198 | |         )
[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/handlers/order.rs:222:18
[INFO] [stdout]     |
[INFO] [stdout] 222 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 223 | |         r#"UPDATE orders SET
[INFO] [stdout] 224 | |         status = ?
[INFO] [stdout] 225 | |         WHERE id = ?"#,
[INFO] [stdout] 226 | |         order.status, order.id
[INFO] [stdout] 227 | |     )
[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/handlers/product.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Product,
[INFO] [stdout] 12 | |         "SELECT * FROM products WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[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/handlers/product.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO products
[INFO] [stdout] 34 | |         (name, size, price, max_amount, min_amount)
[INFO] [stdout] 35 | |         VALUES (?, ?, ?, ?, ?)
[INFO] [stdout] 36 | |         "#,
[INFO] [stdout] 37 | |         product.name, product.size, product.price, product.max_amount, product.min_amount
[INFO] [stdout] 38 | |     )
[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/handlers/product.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 57 | |         r#"UPDATE products SET
[INFO] [stdout] 58 | |         name = COALESCE(?, name),
[INFO] [stdout] 59 | |         size = COALESCE(?, size),
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |         product.name, product.size, product.price, product.max_amount, product.min_amount, product.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/handlers/product.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 83 | |         Product,
[INFO] [stdout] 84 | |         "SELECT * FROM products",
[INFO] [stdout] 85 | |     )
[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/handlers/repository.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Repository,
[INFO] [stdout] 12 | |         "SELECT * FROM repository WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[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/handlers/repository.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO repository (name, description)
[INFO] [stdout] 34 | |         VALUES (?, ?)
[INFO] [stdout] 35 | |         "#,
[INFO] [stdout] 36 | |         repository.name, repository.description
[INFO] [stdout] 37 | |     )
[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/handlers/repository.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 56 | |         r#"UPDATE repository SET name = ?, description = ?
[INFO] [stdout] 57 | |         WHERE id = ?
[INFO] [stdout] 58 | |         "#,
[INFO] [stdout] 59 | |         repository.name, repository.description, repository.id
[INFO] [stdout] 60 | |     )
[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/handlers/repository.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |         Repository,
[INFO] [stdout] 79 | |         "SELECT * FROM repository",
[INFO] [stdout] 80 | |     )
[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/handlers/repository.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  98 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  99 | |         Repository,
[INFO] [stdout] 100 | |         "SELECT * FROM repository WHERE name LIKE ?",
[INFO] [stdout] 101 | |         format!("%{}%", param.name)
[INFO] [stdout] 102 | |     )
[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/handlers/repository.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 121 | |         "DELETE FROM repository WHERE id = ?",
[INFO] [stdout] 122 | |         param.id
[INFO] [stdout] 123 | |     )
[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/handlers/user.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 19 | |         User,
[INFO] [stdout] 20 | |         "SELECT * FROM users WHERE id = ?",
[INFO] [stdout] 21 | |         param.id
[INFO] [stdout] 22 | |     )
[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/handlers/user.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let existed_user = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 35 | |         User,
[INFO] [stdout] 36 | |         "SELECT * FROM users WHERE name = ?",
[INFO] [stdout] 37 | |         user.name
[INFO] [stdout] 38 | |     )
[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/handlers/user.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 79 | |         r#"
[INFO] [stdout] 80 | |         INSERT INTO users (name, password, flag, description)
[INFO] [stdout] 81 | |         VALUES (?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         })?, user.flag, user.description
[INFO] [stdout] 87 | |     )
[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/handlers/user.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 113 | |         r#"UPDATE users SET
[INFO] [stdout] 114 | |         name = COALESCE(?, name),
[INFO] [stdout] 115 | |         password = COALESCE(?, password),
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         user.name, enc_pwd, user.flag, user.description, user.id
[INFO] [stdout] 120 | |     )
[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/handlers/user.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 136 | |         "DELETE FROM users WHERE id = ?",
[INFO] [stdout] 137 | |         param.id
[INFO] [stdout] 138 | |     )
[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/handlers/cop/user_client.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         Client,
[INFO] [stdout] 14 | |         "SELECT * FROM clients WHERE name LIKE ?",
[INFO] [stdout] 15 | |         format!("%{}%", param.name)
[INFO] [stdout] 16 | |     )
[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/handlers/cop/user_client.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 32 | |         Client,
[INFO] [stdout] 33 | |         "SELECT * FROM clients WHERE ctype = ?",
[INFO] [stdout] 34 | |         param.ctype
[INFO] [stdout] 35 | |     )
[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/handlers/cop/user_client.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 50 | |         Client,
[INFO] [stdout] 51 | |         "SELECT * FROM clients"
[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_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/handlers/cop/user_client.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 68 | |         r#"UPDATE clients SET
[INFO] [stdout] 69 | |         ctype = ?
[INFO] [stdout] 70 | |         WHERE id = ?"#,
[INFO] [stdout] 71 | |         param.ctype, param.id
[INFO] [stdout] 72 | |     )
[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/handlers/cop/user_client.rs:90:18
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 91 | |         Client,
[INFO] [stdout] 92 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 93 | |         param.id
[INFO] [stdout] 94 | |     )
[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: `Inventory`
[INFO] [stdout]  --> src/handlers/inventory.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 |     AddInventory, Inventory, InventoryDetail, InventoryProductQueryId, InventoryRepoQueryId, ReduceInventory
[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: `Inventory`
[INFO] [stdout]  --> src/handlers/inventory.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 |     AddInventory, Inventory, InventoryDetail, InventoryProductQueryId, InventoryRepoQueryId, ReduceInventory
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client`, `OrderItem`, and `Order`
[INFO] [stdout]  --> src/handlers/order.rs:4:80
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...entUser, models::{client::{Client, ClientPageQueryId}, order::{InsertOrder, Order, OrderDTO, OrderItem, OrderQueryId, UpdateOrder}...
[INFO] [stdout]   |                               ^^^^^^                                           ^^^^^            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client`, `OrderItem`, and `Order`
[INFO] [stdout]  --> src/handlers/order.rs:4:80
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...entUser, models::{client::{Client, ClientPageQueryId}, order::{InsertOrder, Order, OrderDTO, OrderItem, OrderQueryId, UpdateOrder}...
[INFO] [stdout]   |                               ^^^^^^                                           ^^^^^            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 12 | |         Client,
[INFO] [stdout] 13 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 14 | |         auth_client.id,
[INFO] [stdout] 15 | |     )
[INFO] [stdout] 16 | |         .fetch_one(&pool)
[INFO] [stdout] 17 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 30 | |         r#"
[INFO] [stdout] 31 | |         INSERT INTO clients (name, ctype, contactor, contactor_tel, email, description, username, password)
[INFO] [stdout] 32 | |         VALUES (?, ?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         .execute(&pool)
[INFO] [stdout] 40 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 62 | |         r#"UPDATE clients SET
[INFO] [stdout] 63 | |         name = COALESCE(?, name),
[INFO] [stdout] 64 | |         password = COALESCE(?, password),
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |         .execute(&pool)
[INFO] [stdout] 73 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 86 | |         Client,
[INFO] [stdout] 87 | |         "SELECT * FROM clients WHERE username = ?",
[INFO] [stdout] 88 | |         param.username
[INFO] [stdout] 89 | |     )
[INFO] [stdout] 90 | |         .fetch_optional(&pool)
[INFO] [stdout] 91 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/inventory.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |       let existing = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |         Inventory,
[INFO] [stdout] 86 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 87 | |         inventory.rid, inventory.pid
[INFO] [stdout] 88 | |     )
[INFO] [stdout] 89 | |         .fetch_optional(&mut *transaction)
[INFO] [stdout] 90 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout]  97 | /         sqlx::query!(
[INFO] [stdout]  98 | |             "INSERT INTO inventory (rid, pid, amount) VALUES(?, ?, ?)",
[INFO] [stdout]  99 | |             inventory.rid, inventory.pid, 0u32
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 110 | |         r#"UPDATE inventory SET
[INFO] [stdout] 111 | |         amount = amount + ?
[INFO] [stdout] 112 | |         WHERE rid = ? AND pid = ?"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |         .execute(&mut *transaction)
[INFO] [stdout] 116 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |       let record = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 143 | |         Inventory,
[INFO] [stdout] 144 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 145 | |         inventory.rid, inventory.pid
[INFO] [stdout] 146 | |     )
[INFO] [stdout] 147 | |         .fetch_optional(&mut *transaction)
[INFO] [stdout] 148 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 166 | |         r#"UPDATE inventory SET
[INFO] [stdout] 167 | |         amount = amount - ?,
[INFO] [stdout] 168 | |         reserved_amount = reserved_amount - ?
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         .execute(&mut *transaction)
[INFO] [stdout] 173 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let order = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 12 | |         Order,
[INFO] [stdout] 13 | |         "SELECT * FROM orders WHERE id = ?",
[INFO] [stdout] 14 | |         param.id,
[INFO] [stdout] 15 | |     )
[INFO] [stdout] 16 | |         .fetch_optional(&pool)
[INFO] [stdout] 17 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let order_items = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 28 | |         OrderItem,
[INFO] [stdout] 29 | |         "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 30 | |         existed_order.id
[INFO] [stdout] 31 | |     )
[INFO] [stdout] 32 | |         .fetch_all(&pool)
[INFO] [stdout] 33 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 66 | |         Client,
[INFO] [stdout] 67 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 68 | |         param.id
[INFO] [stdout] 69 | |     )
[INFO] [stdout] 70 | |         .fetch_optional(&pool)
[INFO] [stdout] 71 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let total = sqlx::query_scalar!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 82 | |         "SELECT COUNT(*) FROM orders WHERE cid = ?",
[INFO] [stdout] 83 | |         existed_client.id
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:96:18
[INFO] [stdout]     |
[INFO] [stdout]  96 |       let orders = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  97 | |         Order,
[INFO] [stdout]  98 | |         "SELECT * FROM orders WHERE cid = ? LIMIT ? OFFSET ?",
[INFO] [stdout]  99 | |         existed_client.id, param.page_size, offset
[INFO] [stdout] 100 | |     )
[INFO] [stdout] 101 | |         .fetch_all(&pool)
[INFO] [stdout] 102 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:111:27
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let order_items = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 112 | |             OrderItem,
[INFO] [stdout] 113 | |             "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 114 | |             order.id
[INFO] [stdout] 115 | |         )
[INFO] [stdout] 116 | |             .fetch_all(&pool)
[INFO] [stdout] 117 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let order_id = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 166 | |         r#"INSERT INTO orders
[INFO] [stdout] 167 | |         (order_id, cid)
[INFO] [stdout] 168 | |         VALUES (?, ?)"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |         .execute(&mut *transaction)
[INFO] [stdout] 172 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 | /         sqlx::query!(
[INFO] [stdout] 181 | |             r#"INSERT INTO order_items
[INFO] [stdout] 182 | |             (order_id, pid, rid, amount, unit_price)
[INFO] [stdout] 183 | |             VALUES (?, ?, ?, ?, ?)"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 186 | |             .execute(&mut *transaction)
[INFO] [stdout] 187 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 | /         sqlx::query!(
[INFO] [stdout] 194 | |             r#"UPDATE inventory SET
[INFO] [stdout] 195 | |             reserved_amount = reserved_amount + ?
[INFO] [stdout] 196 | |             WHERE pid = ? AND rid = ?"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | |             .execute(&mut *transaction)
[INFO] [stdout] 200 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:222:18
[INFO] [stdout]     |
[INFO] [stdout] 222 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 223 | |         r#"UPDATE orders SET
[INFO] [stdout] 224 | |         status = ?
[INFO] [stdout] 225 | |         WHERE id = ?"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |         .execute(&pool)
[INFO] [stdout] 229 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Product,
[INFO] [stdout] 12 | |         "SELECT * FROM products WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[INFO] [stdout] 15 | |         .fetch_one(&pool)
[INFO] [stdout] 16 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO products
[INFO] [stdout] 34 | |         (name, size, price, max_amount, min_amount)
[INFO] [stdout] 35 | |         VALUES (?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         .execute(&pool)
[INFO] [stdout] 40 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 57 | |         r#"UPDATE products SET
[INFO] [stdout] 58 | |         name = COALESCE(?, name),
[INFO] [stdout] 59 | |         size = COALESCE(?, size),
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |         .execute(&pool)
[INFO] [stdout] 67 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 83 | |         Product,
[INFO] [stdout] 84 | |         "SELECT * FROM products",
[INFO] [stdout] ...  |
[INFO] [stdout] 87 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Repository,
[INFO] [stdout] 12 | |         "SELECT * FROM repository WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[INFO] [stdout] 15 | |         .fetch_one(&pool)
[INFO] [stdout] 16 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO repository (name, description)
[INFO] [stdout] 34 | |         VALUES (?, ?)
[INFO] [stdout] 35 | |         "#,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |         .execute(&pool)
[INFO] [stdout] 39 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 56 | |         r#"UPDATE repository SET name = ?, description = ?
[INFO] [stdout] 57 | |         WHERE id = ?
[INFO] [stdout] 58 | |         "#,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |         .execute(&pool)
[INFO] [stdout] 62 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |         Repository,
[INFO] [stdout] 79 | |         "SELECT * FROM repository",
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/repository.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  98 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  99 | |         Repository,
[INFO] [stdout] 100 | |         "SELECT * FROM repository WHERE name LIKE ?",
[INFO] [stdout] 101 | |         format!("%{}%", param.name)
[INFO] [stdout] 102 | |     )
[INFO] [stdout] 103 | |         .fetch_all(&pool)
[INFO] [stdout] 104 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/repository.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 121 | |         "DELETE FROM repository WHERE id = ?",
[INFO] [stdout] 122 | |         param.id
[INFO] [stdout] ...   |
[INFO] [stdout] 125 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/user.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 19 | |         User,
[INFO] [stdout] 20 | |         "SELECT * FROM users WHERE id = ?",
[INFO] [stdout] 21 | |         param.id
[INFO] [stdout] 22 | |     )
[INFO] [stdout] 23 | |         .fetch_one(&pool)
[INFO] [stdout] 24 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/user.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let existed_user = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 35 | |         User,
[INFO] [stdout] 36 | |         "SELECT * FROM users WHERE name = ?",
[INFO] [stdout] 37 | |         user.name
[INFO] [stdout] 38 | |     )
[INFO] [stdout] 39 | |         .fetch_optional(&pool)
[INFO] [stdout] 40 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/user.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 79 | |         r#"
[INFO] [stdout] 80 | |         INSERT INTO users (name, password, flag, description)
[INFO] [stdout] 81 | |         VALUES (?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |         .execute(&pool)
[INFO] [stdout] 89 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/user.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 113 | |         r#"UPDATE users SET
[INFO] [stdout] 114 | |         name = COALESCE(?, name),
[INFO] [stdout] 115 | |         password = COALESCE(?, password),
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |         .execute(&pool)
[INFO] [stdout] 122 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/user.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 136 | |         "DELETE FROM users WHERE id = ?",
[INFO] [stdout] 137 | |         param.id
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         Client,
[INFO] [stdout] 14 | |         "SELECT * FROM clients WHERE name LIKE ?",
[INFO] [stdout] 15 | |         format!("%{}%", param.name)
[INFO] [stdout] 16 | |     )
[INFO] [stdout] 17 | |         .fetch_all(&pool)
[INFO] [stdout] 18 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 12 | |         Client,
[INFO] [stdout] 13 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 14 | |         auth_client.id,
[INFO] [stdout] 15 | |     )
[INFO] [stdout] 16 | |         .fetch_one(&pool)
[INFO] [stdout] 17 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 32 | |         Client,
[INFO] [stdout] 33 | |         "SELECT * FROM clients WHERE ctype = ?",
[INFO] [stdout] 34 | |         param.ctype
[INFO] [stdout] 35 | |     )
[INFO] [stdout] 36 | |         .fetch_all(&pool)
[INFO] [stdout] 37 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 50 | |         Client,
[INFO] [stdout] 51 | |         "SELECT * FROM clients"
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 30 | |         r#"
[INFO] [stdout] 31 | |         INSERT INTO clients (name, ctype, contactor, contactor_tel, email, description, username, password)
[INFO] [stdout] 32 | |         VALUES (?, ?, ?, ?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         .execute(&pool)
[INFO] [stdout] 40 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 68 | |         r#"UPDATE clients SET
[INFO] [stdout] 69 | |         ctype = ?
[INFO] [stdout] 70 | |         WHERE id = ?"#,
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |         .execute(&pool)
[INFO] [stdout] 74 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 62 | |         r#"UPDATE clients SET
[INFO] [stdout] 63 | |         name = COALESCE(?, name),
[INFO] [stdout] 64 | |         password = COALESCE(?, password),
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |         .execute(&pool)
[INFO] [stdout] 73 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/client.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 86 | |         Client,
[INFO] [stdout] 87 | |         "SELECT * FROM clients WHERE username = ?",
[INFO] [stdout] 88 | |         param.username
[INFO] [stdout] 89 | |     )
[INFO] [stdout] 90 | |         .fetch_optional(&pool)
[INFO] [stdout] 91 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:90:18
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 91 | |         Client,
[INFO] [stdout] 92 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 93 | |         param.id
[INFO] [stdout] 94 | |     )
[INFO] [stdout] 95 | |         .fetch_one(&pool)
[INFO] [stdout] 96 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/inventory.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |       let existing = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 85 | |         Inventory,
[INFO] [stdout] 86 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 87 | |         inventory.rid, inventory.pid
[INFO] [stdout] 88 | |     )
[INFO] [stdout] 89 | |         .fetch_optional(&mut *transaction)
[INFO] [stdout] 90 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:97:9
[INFO] [stdout]     |
[INFO] [stdout]  97 | /         sqlx::query!(
[INFO] [stdout]  98 | |             "INSERT INTO inventory (rid, pid, amount) VALUES(?, ?, ?)",
[INFO] [stdout]  99 | |             inventory.rid, inventory.pid, 0u32
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 110 | |         r#"UPDATE inventory SET
[INFO] [stdout] 111 | |         amount = amount + ?
[INFO] [stdout] 112 | |         WHERE rid = ? AND pid = ?"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |         .execute(&mut *transaction)
[INFO] [stdout] 116 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |       let record = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 143 | |         Inventory,
[INFO] [stdout] 144 | |         "SELECT * FROM inventory WHERE rid = ? AND pid = ?",
[INFO] [stdout] 145 | |         inventory.rid, inventory.pid
[INFO] [stdout] 146 | |     )
[INFO] [stdout] 147 | |         .fetch_optional(&mut *transaction)
[INFO] [stdout] 148 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/inventory.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 166 | |         r#"UPDATE inventory SET
[INFO] [stdout] 167 | |         amount = amount - ?,
[INFO] [stdout] 168 | |         reserved_amount = reserved_amount - ?
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         .execute(&mut *transaction)
[INFO] [stdout] 173 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let order = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 12 | |         Order,
[INFO] [stdout] 13 | |         "SELECT * FROM orders WHERE id = ?",
[INFO] [stdout] 14 | |         param.id,
[INFO] [stdout] 15 | |     )
[INFO] [stdout] 16 | |         .fetch_optional(&pool)
[INFO] [stdout] 17 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let order_items = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 28 | |         OrderItem,
[INFO] [stdout] 29 | |         "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 30 | |         existed_order.id
[INFO] [stdout] 31 | |     )
[INFO] [stdout] 32 | |         .fetch_all(&pool)
[INFO] [stdout] 33 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let client = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 66 | |         Client,
[INFO] [stdout] 67 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 68 | |         param.id
[INFO] [stdout] 69 | |     )
[INFO] [stdout] 70 | |         .fetch_optional(&pool)
[INFO] [stdout] 71 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/order.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let total = sqlx::query_scalar!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 82 | |         "SELECT COUNT(*) FROM orders WHERE cid = ?",
[INFO] [stdout] 83 | |         existed_client.id
[INFO] [stdout] ...  |
[INFO] [stdout] 86 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:96:18
[INFO] [stdout]     |
[INFO] [stdout]  96 |       let orders = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  97 | |         Order,
[INFO] [stdout]  98 | |         "SELECT * FROM orders WHERE cid = ? LIMIT ? OFFSET ?",
[INFO] [stdout]  99 | |         existed_client.id, param.page_size, offset
[INFO] [stdout] 100 | |     )
[INFO] [stdout] 101 | |         .fetch_all(&pool)
[INFO] [stdout] 102 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:111:27
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let order_items = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 112 | |             OrderItem,
[INFO] [stdout] 113 | |             "SELECT * FROM order_items WHERE order_id = ?",
[INFO] [stdout] 114 | |             order.id
[INFO] [stdout] 115 | |         )
[INFO] [stdout] 116 | |             .fetch_all(&pool)
[INFO] [stdout] 117 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:165:20
[INFO] [stdout]     |
[INFO] [stdout] 165 |       let order_id = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 166 | |         r#"INSERT INTO orders
[INFO] [stdout] 167 | |         (order_id, cid)
[INFO] [stdout] 168 | |         VALUES (?, ?)"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 171 | |         .execute(&mut *transaction)
[INFO] [stdout] 172 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 | /         sqlx::query!(
[INFO] [stdout] 181 | |             r#"INSERT INTO order_items
[INFO] [stdout] 182 | |             (order_id, pid, rid, amount, unit_price)
[INFO] [stdout] 183 | |             VALUES (?, ?, ?, ?, ?)"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 186 | |             .execute(&mut *transaction)
[INFO] [stdout] 187 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 | /         sqlx::query!(
[INFO] [stdout] 194 | |             r#"UPDATE inventory SET
[INFO] [stdout] 195 | |             reserved_amount = reserved_amount + ?
[INFO] [stdout] 196 | |             WHERE pid = ? AND rid = ?"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | |             .execute(&mut *transaction)
[INFO] [stdout] 200 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/order.rs:222:18
[INFO] [stdout]     |
[INFO] [stdout] 222 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 223 | |         r#"UPDATE orders SET
[INFO] [stdout] 224 | |         status = ?
[INFO] [stdout] 225 | |         WHERE id = ?"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |         .execute(&pool)
[INFO] [stdout] 229 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Product,
[INFO] [stdout] 12 | |         "SELECT * FROM products WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[INFO] [stdout] 15 | |         .fetch_one(&pool)
[INFO] [stdout] 16 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO products
[INFO] [stdout] 34 | |         (name, size, price, max_amount, min_amount)
[INFO] [stdout] 35 | |         VALUES (?, ?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         .execute(&pool)
[INFO] [stdout] 40 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 57 | |         r#"UPDATE products SET
[INFO] [stdout] 58 | |         name = COALESCE(?, name),
[INFO] [stdout] 59 | |         size = COALESCE(?, size),
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |         .execute(&pool)
[INFO] [stdout] 67 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/product.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 83 | |         Product,
[INFO] [stdout] 84 | |         "SELECT * FROM products",
[INFO] [stdout] ...  |
[INFO] [stdout] 87 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 11 | |         Repository,
[INFO] [stdout] 12 | |         "SELECT * FROM repository WHERE id = ?",
[INFO] [stdout] 13 | |         param.id
[INFO] [stdout] 14 | |     )
[INFO] [stdout] 15 | |         .fetch_one(&pool)
[INFO] [stdout] 16 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"INSERT INTO repository (name, description)
[INFO] [stdout] 34 | |         VALUES (?, ?)
[INFO] [stdout] 35 | |         "#,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |         .execute(&pool)
[INFO] [stdout] 39 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 56 | |         r#"UPDATE repository SET name = ?, description = ?
[INFO] [stdout] 57 | |         WHERE id = ?
[INFO] [stdout] 58 | |         "#,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |         .execute(&pool)
[INFO] [stdout] 62 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/repository.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 78 | |         Repository,
[INFO] [stdout] 79 | |         "SELECT * FROM repository",
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/repository.rs:98:18
[INFO] [stdout]     |
[INFO] [stdout]  98 |       let result = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout]  99 | |         Repository,
[INFO] [stdout] 100 | |         "SELECT * FROM repository WHERE name LIKE ?",
[INFO] [stdout] 101 | |         format!("%{}%", param.name)
[INFO] [stdout] 102 | |     )
[INFO] [stdout] 103 | |         .fetch_all(&pool)
[INFO] [stdout] 104 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/repository.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout] 120 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 121 | |         "DELETE FROM repository WHERE id = ?",
[INFO] [stdout] 122 | |         param.id
[INFO] [stdout] ...   |
[INFO] [stdout] 125 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/user.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 19 | |         User,
[INFO] [stdout] 20 | |         "SELECT * FROM users WHERE id = ?",
[INFO] [stdout] 21 | |         param.id
[INFO] [stdout] 22 | |     )
[INFO] [stdout] 23 | |         .fetch_one(&pool)
[INFO] [stdout] 24 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/user.rs:34:24
[INFO] [stdout]    |
[INFO] [stdout] 34 |       let existed_user = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 35 | |         User,
[INFO] [stdout] 36 | |         "SELECT * FROM users WHERE name = ?",
[INFO] [stdout] 37 | |         user.name
[INFO] [stdout] 38 | |     )
[INFO] [stdout] 39 | |         .fetch_optional(&pool)
[INFO] [stdout] 40 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/user.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 79 | |         r#"
[INFO] [stdout] 80 | |         INSERT INTO users (name, password, flag, description)
[INFO] [stdout] 81 | |         VALUES (?, ?, ?, ?)
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |         .execute(&pool)
[INFO] [stdout] 89 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/user.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 113 | |         r#"UPDATE users SET
[INFO] [stdout] 114 | |         name = COALESCE(?, name),
[INFO] [stdout] 115 | |         password = COALESCE(?, password),
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |         .execute(&pool)
[INFO] [stdout] 122 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/user.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 136 | |         "DELETE FROM users WHERE id = ?",
[INFO] [stdout] 137 | |         param.id
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         Client,
[INFO] [stdout] 14 | |         "SELECT * FROM clients WHERE name LIKE ?",
[INFO] [stdout] 15 | |         format!("%{}%", param.name)
[INFO] [stdout] 16 | |     )
[INFO] [stdout] 17 | |         .fetch_all(&pool)
[INFO] [stdout] 18 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 32 | |         Client,
[INFO] [stdout] 33 | |         "SELECT * FROM clients WHERE ctype = ?",
[INFO] [stdout] 34 | |         param.ctype
[INFO] [stdout] 35 | |     )
[INFO] [stdout] 36 | |         .fetch_all(&pool)
[INFO] [stdout] 37 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 50 | |         Client,
[INFO] [stdout] 51 | |         "SELECT * FROM clients"
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 68 | |         r#"UPDATE clients SET
[INFO] [stdout] 69 | |         ctype = ?
[INFO] [stdout] 70 | |         WHERE id = ?"#,
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |         .execute(&pool)
[INFO] [stdout] 74 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/handlers/cop/user_client.rs:90:18
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 91 | |         Client,
[INFO] [stdout] 92 | |         "SELECT * FROM clients WHERE id = ?",
[INFO] [stdout] 93 | |         param.id
[INFO] [stdout] 94 | |     )
[INFO] [stdout] 95 | |         .fetch_one(&pool)
[INFO] [stdout] 96 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `db-web` (lib) due to 78 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `db-web` (lib test) due to 78 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1cea08e77497bc76d01a69d7e32ce29e9dd7562724447a1253dfafb9bb4f20bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cea08e77497bc76d01a69d7e32ce29e9dd7562724447a1253dfafb9bb4f20bc", kill_on_drop: false }`
[INFO] [stdout] 1cea08e77497bc76d01a69d7e32ce29e9dd7562724447a1253dfafb9bb4f20bc
