[INFO] cloning repository https://github.com/idowuseyi/google-auth-paystack-plus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idowuseyi/google-auth-paystack-plus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidowuseyi%2Fgoogle-auth-paystack-plus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidowuseyi%2Fgoogle-auth-paystack-plus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f99299904aa04b550defa963e3bd50325d567af [INFO] checking idowuseyi/google-auth-paystack-plus/2f99299904aa04b550defa963e3bd50325d567af against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidowuseyi%2Fgoogle-auth-paystack-plus" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/idowuseyi/google-auth-paystack-plus [INFO] finished tweaking git repo https://github.com/idowuseyi/google-auth-paystack-plus [INFO] tweaked toml for git repo https://github.com/idowuseyi/google-auth-paystack-plus written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/idowuseyi/google-auth-paystack-plus on toolchain 67854e511de21d881bb16426996cd4259d44aa2e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/idowuseyi/google-auth-paystack-plus 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded signal-hook-registry v1.4.7 [INFO] [stderr] Downloaded tower-cookies v0.10.0 [INFO] [stderr] Downloaded tracing v0.1.43 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded cc v1.2.48 [INFO] [stderr] Downloaded tracing-core v0.1.35 [INFO] [stderr] Downloaded tower-http v0.6.7 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d [INFO] running `Command { std: "docker" "start" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustls-pki-types v1.13.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking tower-http v0.6.7 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking google-auth-paystack-plus 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/routes/auth.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 117 | | User, [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | INSERT INTO users (email, name, google_id) [INFO] [stdout] ... | [INFO] [stdout] 127 | | user_info.id [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/payment.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let user = sqlx::query!("SELECT email FROM users WHERE id = $1", auth_user.user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/routes/payment.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | let existing_transaction = sqlx::query_as!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 117 | | Transaction, [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | SELECT * FROM transactions [INFO] [stdout] ... | [INFO] [stdout] 128 | | payload.amount [INFO] [stdout] 129 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/payment.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | let transaction = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 159 | | Transaction, [INFO] [stdout] 160 | | r#" [INFO] [stdout] 161 | | INSERT INTO transactions (user_id, reference, amount, status, paystack_id) [INFO] [stdout] ... | [INFO] [stdout] 168 | | paystack_data.access_code // Storing access_code as paystack_id for now, or could be reference [INFO] [stdout] 169 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/routes/payment.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let transaction = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 186 | | Transaction, [INFO] [stdout] 187 | | "SELECT * FROM transactions WHERE reference = $1", [INFO] [stdout] 188 | | reference [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/payment.rs:210:39 [INFO] [stdout] | [INFO] [stdout] 210 | let updated_transaction = sqlx::query_as!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 211 | | Transaction, [INFO] [stdout] 212 | | "UPDATE transactions SET status = $1, updated_at = NOW() WHERE id = $2 RETURNING *", [INFO] [stdout] 213 | | verify_data.status, [INFO] [stdout] 214 | | transaction.id [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/routes/payment.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | / sqlx::query!( [INFO] [stdout] 272 | | "UPDATE transactions SET status = 'success', updated_at = NOW() WHERE reference = $1", [INFO] [stdout] 273 | | reference [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/routes/auth.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 117 | | User, [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | INSERT INTO users (email, name, google_id) [INFO] [stdout] ... | [INFO] [stdout] 127 | | user_info.id [INFO] [stdout] 128 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/payment.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let user = sqlx::query!("SELECT email FROM users WHERE id = $1", auth_user.user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/routes/payment.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | let existing_transaction = sqlx::query_as!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 117 | | Transaction, [INFO] [stdout] 118 | | r#" [INFO] [stdout] 119 | | SELECT * FROM transactions [INFO] [stdout] ... | [INFO] [stdout] 128 | | payload.amount [INFO] [stdout] 129 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/payment.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | let transaction = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 159 | | Transaction, [INFO] [stdout] 160 | | r#" [INFO] [stdout] 161 | | INSERT INTO transactions (user_id, reference, amount, status, paystack_id) [INFO] [stdout] ... | [INFO] [stdout] 168 | | paystack_data.access_code // Storing access_code as paystack_id for now, or could be reference [INFO] [stdout] 169 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/routes/payment.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let transaction = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 186 | | Transaction, [INFO] [stdout] 187 | | "SELECT * FROM transactions WHERE reference = $1", [INFO] [stdout] 188 | | reference [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/routes/payment.rs:210:39 [INFO] [stdout] | [INFO] [stdout] 210 | let updated_transaction = sqlx::query_as!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 211 | | Transaction, [INFO] [stdout] 212 | | "UPDATE transactions SET status = $1, updated_at = NOW() WHERE id = $2 RETURNING *", [INFO] [stdout] 213 | | verify_data.status, [INFO] [stdout] 214 | | transaction.id [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/routes/payment.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | / sqlx::query!( [INFO] [stdout] 272 | | "UPDATE transactions SET status = 'success', updated_at = NOW() WHERE reference = $1", [INFO] [stdout] 273 | | reference [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::User` [INFO] [stdout] --> src/routes/auth.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{db::DbPool, error::AppError, models::User, services::google::GoogleService}; [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: `models::Transaction` [INFO] [stdout] --> src/routes/payment.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error::AppError, middleware::auth::AuthUser, models::Transaction, routes::AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::User` [INFO] [stdout] --> src/routes/auth.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{db::DbPool, error::AppError, models::User, services::google::GoogleService}; [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: `models::Transaction` [INFO] [stdout] --> src/routes/payment.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error::AppError, middleware::auth::AuthUser, models::Transaction, routes::AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method call on a diverging inference variable [INFO] [stdout] --> src/routes/payment.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | .ok_or_else(|| AppError::NotFound("User not found".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider providing a type annotation [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #156047 [INFO] [stdout] = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method call on a diverging inference variable [INFO] [stdout] --> src/routes/payment.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | .ok_or_else(|| AppError::NotFound("User not found".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider providing a type annotation [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #156047 [INFO] [stdout] = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for type `_` in the current scope [INFO] [stdout] --> src/routes/payment.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 109 | let user = sqlx::query!("SELECT email FROM users WHERE id = $1", auth_user.user_id) [INFO] [stdout] | ________________- [INFO] [stdout] 110 | | .fetch_optional(&state.db) [INFO] [stdout] 111 | | .await? [INFO] [stdout] 112 | | .ok_or_else(|| AppError::NotFound("User not found".to_string()))?; [INFO] [stdout] | |_________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `map_ok_or_else` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / fn map_ok_or_else(self, e: E, f: F) -> MapOkOrElse [INFO] [stdout] 258 | | where [INFO] [stdout] 259 | | F: FnOnce(Self::Ok) -> T, [INFO] [stdout] 260 | | E: FnOnce(Self::Error) -> T, [INFO] [stdout] 261 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method call on a diverging inference variable [INFO] [stdout] --> src/routes/payment.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | .ok_or_else(|| AppError::NotFound("Transaction not found".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider providing a type annotation [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #156047 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for type `_` in the current scope [INFO] [stdout] --> src/routes/payment.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 109 | let user = sqlx::query!("SELECT email FROM users WHERE id = $1", auth_user.user_id) [INFO] [stdout] | ________________- [INFO] [stdout] 110 | | .fetch_optional(&state.db) [INFO] [stdout] 111 | | .await? [INFO] [stdout] 112 | | .ok_or_else(|| AppError::NotFound("User not found".to_string()))?; [INFO] [stdout] | |_________-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `map_ok_or_else` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / fn map_ok_or_else(self, e: E, f: F) -> MapOkOrElse [INFO] [stdout] 258 | | where [INFO] [stdout] 259 | | F: FnOnce(Self::Ok) -> T, [INFO] [stdout] 260 | | E: FnOnce(Self::Error) -> T, [INFO] [stdout] 261 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method call on a diverging inference variable [INFO] [stdout] --> src/routes/payment.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | .ok_or_else(|| AppError::NotFound("Transaction not found".to_string()))?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider providing a type annotation [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #156047 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for type `_` in the current scope [INFO] [stdout] --> src/routes/payment.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 185 | let transaction = sqlx::query_as!( [INFO] [stdout] | _______________________- [INFO] [stdout] 186 | | Transaction, [INFO] [stdout] 187 | | "SELECT * FROM transactions WHERE reference = $1", [INFO] [stdout] 188 | | reference [INFO] [stdout] ... | [INFO] [stdout] 191 | | .await? [INFO] [stdout] 192 | | .ok_or_else(|| AppError::NotFound("Transaction not found".to_string()))?; [INFO] [stdout] | |_____-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `map_ok_or_else` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / fn map_ok_or_else(self, e: E, f: F) -> MapOkOrElse [INFO] [stdout] 258 | | where [INFO] [stdout] 259 | | F: FnOnce(Self::Ok) -> T, [INFO] [stdout] 260 | | E: FnOnce(Self::Error) -> T, [INFO] [stdout] 261 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for type `_` in the current scope [INFO] [stdout] --> src/routes/payment.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 185 | let transaction = sqlx::query_as!( [INFO] [stdout] | _______________________- [INFO] [stdout] 186 | | Transaction, [INFO] [stdout] 187 | | "SELECT * FROM transactions WHERE reference = $1", [INFO] [stdout] 188 | | reference [INFO] [stdout] ... | [INFO] [stdout] 191 | | .await? [INFO] [stdout] 192 | | .ok_or_else(|| AppError::NotFound("Transaction not found".to_string()))?; [INFO] [stdout] | |_____-^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `map_ok_or_else` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / fn map_ok_or_else(self, e: E, f: F) -> MapOkOrElse [INFO] [stdout] 258 | | where [INFO] [stdout] 259 | | F: FnOnce(Self::Ok) -> T, [INFO] [stdout] 260 | | E: FnOnce(Self::Error) -> T, [INFO] [stdout] 261 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `google-auth-paystack-plus` (lib test) due to 9 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `google-auth-paystack-plus` (lib) due to 9 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d", kill_on_drop: false }` [INFO] [stdout] ffd3701748018aa14f44bc3f39d26f1d0ecb569293a574a07ca3abddee5c892d