[INFO] cloning repository https://github.com/lohargaurav00/dodo_pay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lohargaurav00/dodo_pay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flohargaurav00%2Fdodo_pay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flohargaurav00%2Fdodo_pay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18d78fca4a6a1b4498466421146c78880f369dc7 [INFO] checking lohargaurav00/dodo_pay against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flohargaurav00%2Fdodo_pay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lohargaurav00/dodo_pay [INFO] finished tweaking git repo https://github.com/lohargaurav00/dodo_pay [INFO] tweaked toml for git repo https://github.com/lohargaurav00/dodo_pay written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lohargaurav00/dodo_pay on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lohargaurav00/dodo_pay 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6004c90c3c0b88eb43022da5c13d21b428d333212064fbab2e43dd1f20d2bdbb [INFO] running `Command { std: "docker" "start" "-a" "6004c90c3c0b88eb43022da5c13d21b428d333212064fbab2e43dd1f20d2bdbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6004c90c3c0b88eb43022da5c13d21b428d333212064fbab2e43dd1f20d2bdbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6004c90c3c0b88eb43022da5c13d21b428d333212064fbab2e43dd1f20d2bdbb", kill_on_drop: false }` [INFO] [stdout] 6004c90c3c0b88eb43022da5c13d21b428d333212064fbab2e43dd1f20d2bdbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc5545f264866c5dbfc3d5306862ca6a73a220cf1e366c28bc3b0732dabae831 [INFO] running `Command { std: "docker" "start" "-a" "bc5545f264866c5dbfc3d5306862ca6a73a220cf1e366c28bc3b0732dabae831", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Checking sqlx v0.8.5 [INFO] [stderr] Checking dodo_pay 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/transactions.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 68 | | Account, [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 78 | | payload.account_id [INFO] [stdout] 79 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/transactions.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let acc = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 120 | | Account, [INFO] [stdout] 121 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 122 | | user.user_id, [INFO] [stdout] 123 | | payload.account_id [INFO] [stdout] 124 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / sqlx::query_as!( [INFO] [stdout] 160 | | Account, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 170 | | payload.account_id [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_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/transactions.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 68 | | Account, [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 78 | | payload.account_id [INFO] [stdout] 79 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/transactions.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let from_acc = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 219 | | Account, [INFO] [stdout] 220 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 221 | | user.user_id, [INFO] [stdout] 222 | | payload.account_id [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let _to_acc = sqlx::query_as!(Account, "SELECT * FROM accounts WHERE id = $1", to_acc_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/transactions.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let acc = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 120 | | Account, [INFO] [stdout] 121 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 122 | | user.user_id, [INFO] [stdout] 123 | | payload.account_id [INFO] [stdout] 124 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | r#" [INFO] [stdout] 272 | | UPDATE accounts [INFO] [stdout] 273 | | SET balance = balance - $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 279 | | payload.account_id [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | r#" [INFO] [stdout] 291 | | UPDATE accounts [INFO] [stdout] 292 | | SET balance = balance + $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 297 | | to_acc_id [INFO] [stdout] 298 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / sqlx::query_as!( [INFO] [stdout] 160 | | Account, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 170 | | payload.account_id [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_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:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | INSERT INTO users (email, password_hash, first_name, last_name) [INFO] [stdout] ... | [INFO] [stdout] 41 | | payload.last_name [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let account = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | INSERT INTO accounts (user_id) [INFO] [stdout] 50 | | VALUES ($1) [INFO] [stdout] ... | [INFO] [stdout] 53 | | user.id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let user = match sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 79 | | RawUser, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT * FROM users WHERE email = $1 [INFO] [stdout] 82 | | "#, [INFO] [stdout] 83 | | credentials.email [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_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/transactions.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let from_acc = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 219 | | Account, [INFO] [stdout] 220 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 221 | | user.user_id, [INFO] [stdout] 222 | | payload.account_id [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let _to_acc = sqlx::query_as!(Account, "SELECT * FROM accounts WHERE id = $1", to_acc_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/transactions.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | r#" [INFO] [stdout] 272 | | UPDATE accounts [INFO] [stdout] 273 | | SET balance = balance - $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 279 | | payload.account_id [INFO] [stdout] 280 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/transactions.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | r#" [INFO] [stdout] 291 | | UPDATE accounts [INFO] [stdout] 292 | | SET balance = balance + $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 297 | | to_acc_id [INFO] [stdout] 298 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 32 | | User, [INFO] [stdout] 33 | | r#" [INFO] [stdout] 34 | | INSERT INTO users (email, password_hash, first_name, last_name) [INFO] [stdout] ... | [INFO] [stdout] 41 | | payload.last_name [INFO] [stdout] 42 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let account = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 48 | | r#" [INFO] [stdout] 49 | | INSERT INTO accounts (user_id) [INFO] [stdout] 50 | | VALUES ($1) [INFO] [stdout] ... | [INFO] [stdout] 53 | | user.id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let user = match sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 79 | | RawUser, [INFO] [stdout] 80 | | r#" [INFO] [stdout] 81 | | SELECT * FROM users WHERE email = $1 [INFO] [stdout] 82 | | "#, [INFO] [stdout] 83 | | credentials.email [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_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/handlers/transactions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [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: `account::Account` [INFO] [stdout] --> src/handlers/transactions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | account::Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawUser` [INFO] [stdout] --> src/handlers/user.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | models::user::{NewUser, RawUser, RegisterResponse, SignInCredentials, SignInResponse, User}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/handlers/transactions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [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: `account::Account` [INFO] [stdout] --> src/handlers/transactions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | account::Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawUser` [INFO] [stdout] --> src/handlers/user.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | models::user::{NewUser, RawUser, RegisterResponse, SignInCredentials, SignInResponse, User}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 68 | | Account, [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 80 | | .fetch_one(&mut *tx) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let acc = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 120 | | Account, [INFO] [stdout] 121 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 122 | | user.user_id, [INFO] [stdout] ... | [INFO] [stdout] 125 | | .fetch_one(&mut *tx) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / sqlx::query_as!( [INFO] [stdout] 160 | | Account, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 172 | | .fetch_one(&mut *tx) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let from_acc = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 219 | | Account, [INFO] [stdout] 220 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 221 | | user.user_id, [INFO] [stdout] ... | [INFO] [stdout] 224 | | .fetch_one(&mut *tx) [INFO] [stdout] 225 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let _to_acc = sqlx::query_as!(Account, "SELECT * FROM accounts WHERE id = $1", to_acc_id) [INFO] [stdout] | ___________________^ [INFO] [stdout] 241 | | .fetch_one(&mut *tx) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | r#" [INFO] [stdout] 272 | | UPDATE accounts [INFO] [stdout] 273 | | SET balance = balance - $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 281 | | .execute(&mut *tx) [INFO] [stdout] 282 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | r#" [INFO] [stdout] 291 | | UPDATE accounts [INFO] [stdout] 292 | | SET balance = balance + $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 299 | | .execute(&mut *tx) [INFO] [stdout] 300 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 68 | | Account, [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 80 | | .fetch_one(&mut *tx) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let acc = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 120 | | Account, [INFO] [stdout] 121 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 122 | | user.user_id, [INFO] [stdout] ... | [INFO] [stdout] 125 | | .fetch_one(&mut *tx) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / sqlx::query_as!( [INFO] [stdout] 160 | | Account, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | UPDATE accounts [INFO] [stdout] ... | [INFO] [stdout] 172 | | .fetch_one(&mut *tx) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let from_acc = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 219 | | Account, [INFO] [stdout] 220 | | "SELECT * FROM accounts WHERE user_id = $1 AND id = $2", [INFO] [stdout] 221 | | user.user_id, [INFO] [stdout] ... | [INFO] [stdout] 224 | | .fetch_one(&mut *tx) [INFO] [stdout] 225 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let _to_acc = sqlx::query_as!(Account, "SELECT * FROM accounts WHERE id = $1", to_acc_id) [INFO] [stdout] | ___________________^ [INFO] [stdout] 241 | | .fetch_one(&mut *tx) [INFO] [stdout] 242 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | r#" [INFO] [stdout] 272 | | UPDATE accounts [INFO] [stdout] 273 | | SET balance = balance - $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 281 | | .execute(&mut *tx) [INFO] [stdout] 282 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/transactions.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | r#" [INFO] [stdout] 291 | | UPDATE accounts [INFO] [stdout] 292 | | SET balance = balance + $1, updated_at = $2 [INFO] [stdout] ... | [INFO] [stdout] 299 | | .execute(&mut *tx) [INFO] [stdout] 300 | | .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 `dodo_pay` (bin "dodo_pay" test) due to 17 previous errors; 3 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 `dodo_pay` (bin "dodo_pay") due to 17 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc5545f264866c5dbfc3d5306862ca6a73a220cf1e366c28bc3b0732dabae831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc5545f264866c5dbfc3d5306862ca6a73a220cf1e366c28bc3b0732dabae831", kill_on_drop: false }` [INFO] [stdout] bc5545f264866c5dbfc3d5306862ca6a73a220cf1e366c28bc3b0732dabae831