[INFO] cloning repository https://github.com/b-palaniappan/axum-sqlx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b-palaniappan/axum-sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-palaniappan%2Faxum-sqlx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-palaniappan%2Faxum-sqlx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 683911ac11c1d9fa56d9f089566a771a0cdf0103 [INFO] checking b-palaniappan/axum-sqlx/683911ac11c1d9fa56d9f089566a771a0cdf0103 against master#9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-palaniappan%2Faxum-sqlx" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/b-palaniappan/axum-sqlx on toolchain 9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/b-palaniappan/axum-sqlx [INFO] finished tweaking git repo https://github.com/b-palaniappan/axum-sqlx [INFO] tweaked toml for git repo https://github.com/b-palaniappan/axum-sqlx written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/b-palaniappan/axum-sqlx 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" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded bb8 v0.9.0 [INFO] [stderr] Downloaded qrcodegen-image v1.5.0 [INFO] [stderr] Downloaded bb8-redis v0.21.0 [INFO] [stderr] Downloaded utoipa-scalar v0.3.0 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded totp-rs v5.6.0 [INFO] [stderr] Downloaded redis v0.29.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b232324938739f9cdfc1761e06efcbf024cc412fc296b2e2a1d309d1e93c75b [INFO] running `Command { std: "docker" "start" "-a" "5b232324938739f9cdfc1761e06efcbf024cc412fc296b2e2a1d309d1e93c75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b232324938739f9cdfc1761e06efcbf024cc412fc296b2e2a1d309d1e93c75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b232324938739f9cdfc1761e06efcbf024cc412fc296b2e2a1d309d1e93c75b", kill_on_drop: false }` [INFO] [stdout] 5b232324938739f9cdfc1761e06efcbf024cc412fc296b2e2a1d309d1e93c75b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 990c2cb8dfd6d889b991d05dfa5aa448a2136747dd7ae1667b4195e17693573b [INFO] running `Command { std: "docker" "start" "-a" "990c2cb8dfd6d889b991d05dfa5aa448a2136747dd7ae1667b4195e17693573b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustix v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking qrcodegen v1.8.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking qrcodegen-image v1.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking constant_time_eq v0.2.6 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Compiling utoipa-gen v5.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling webauthn-attestation-ca v0.5.1 [INFO] [stderr] Compiling webauthn-rs-core v0.5.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking base64urlsafedata v0.5.1 [INFO] [stderr] Checking uuid v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_cbor_2 v0.12.0-dev [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking utoipa v5.3.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking compact_jwt v0.4.3 [INFO] [stderr] Checking webauthn-rs-proto v0.5.1 [INFO] [stderr] Checking totp-rs v5.6.0 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking async-compression v0.4.20 [INFO] [stderr] Checking bb8 v0.9.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking webauthn-rs v0.5.1 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking utoipa-scalar v0.3.0 [INFO] [stderr] Checking redis v0.29.1 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking bb8-redis v0.21.0 [INFO] [stderr] Checking axum-sqlx v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | INSERT INTO users (key, first_name, last_name, email, password_hash, password_hmac) [INFO] [stdout] 105 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 114 | | &password_hmac.into_bytes().to_vec(), [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | INSERT INTO users (key, first_name, last_name, email, password_hash, password_hmac) [INFO] [stdout] 105 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 114 | | &password_hmac.into_bytes().to_vec(), [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 164 | | Users, [INFO] [stdout] 165 | | r#" [INFO] [stdout] 166 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 171 | | (page - 1) * limit [INFO] [stdout] 172 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let count = sqlx::query!("SELECT COUNT(*) FROM users") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 164 | | Users, [INFO] [stdout] 165 | | r#" [INFO] [stdout] 166 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 171 | | (page - 1) * limit [INFO] [stdout] 172 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let count = sqlx::query!("SELECT COUNT(*) FROM users") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 224 | | Users, [INFO] [stdout] 225 | | r#" [INFO] [stdout] 226 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 230 | | key [INFO] [stdout] 231 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 224 | | Users, [INFO] [stdout] 225 | | r#" [INFO] [stdout] 226 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 230 | | key [INFO] [stdout] 231 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 336 | | Users, [INFO] [stdout] 337 | | "UPDATE users SET account_status = 'DELETED' WHERE key = $1 AND account_status <> 'DELETED'", [INFO] [stdout] 338 | | key [INFO] [stdout] 339 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/api/handler/user_handler.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 336 | | Users, [INFO] [stdout] 337 | | "UPDATE users SET account_status = 'DELETED' WHERE key = $1 AND account_status <> 'DELETED'", [INFO] [stdout] 338 | | key [INFO] [stdout] 339 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | Users, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 30 | | email [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 55 | | Users, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 61 | | user_id [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query!( [INFO] [stdout] 86 | | "UPDATE users SET account_status = 'LOCKED' WHERE id = $1", [INFO] [stdout] 87 | | user_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | "UPDATE users SET failed_login_attempts = 0 WHERE id = $1", [INFO] [stdout] 112 | | user_id [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query!( [INFO] [stdout] 136 | | "UPDATE refresh_tokens SET is_valid = false, status = 'INACTIVE' WHERE user_id = $1 and status = 'ACTIVE' and is_valid = true", [INFO] [stdout] 137 | | user_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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / sqlx::query!( [INFO] [stdout] 146 | | "UPDATE refresh_tokens SET is_valid = false, status = 'REVOKED' WHERE token = $1", [INFO] [stdout] 147 | | token [INFO] [stdout] 148 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / sqlx::query!( [INFO] [stdout] 177 | | "INSERT INTO refresh_tokens (user_id, token, expires_at) VALUES ($1, $2, $3)", [INFO] [stdout] 178 | | user_id, [INFO] [stdout] 179 | | token, [INFO] [stdout] 180 | | expires_at [INFO] [stdout] 181 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query!( [INFO] [stdout] 192 | | "UPDATE users SET failed_login_attempts = failed_login_attempts + 1 WHERE id = $1", [INFO] [stdout] 193 | | user_id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let token = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 202 | | "SELECT token FROM refresh_tokens WHERE user_id = $1 AND is_valid = true AND status = 'ACTIVE'", [INFO] [stdout] 203 | | user_id [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / sqlx::query!( [INFO] [stdout] 214 | | "UPDATE refresh_tokens SET is_valid = false, status = 'REVOKED' WHERE user_id = $1", [INFO] [stdout] 215 | | user_id [INFO] [stdout] 216 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 245 | | r#"SELECT user_id, is_valid, status as "status: RefreshTokenStatus" FROM refresh_tokens WHERE token = $1"#, [INFO] [stdout] 246 | | token [INFO] [stdout] 247 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | Users, [INFO] [stdout] 25 | | r#" [INFO] [stdout] 26 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 30 | | email [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 55 | | Users, [INFO] [stdout] 56 | | r#" [INFO] [stdout] 57 | | SELECT id, key, first_name, last_name, email, password_hash, password_hmac, email_verified, update_password, two_factor_enabled, [INFO] [stdout] ... | [INFO] [stdout] 61 | | user_id [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / sqlx::query!( [INFO] [stdout] 86 | | "UPDATE users SET account_status = 'LOCKED' WHERE id = $1", [INFO] [stdout] 87 | | user_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | "UPDATE users SET failed_login_attempts = 0 WHERE id = $1", [INFO] [stdout] 112 | | user_id [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / sqlx::query!( [INFO] [stdout] 136 | | "UPDATE refresh_tokens SET is_valid = false, status = 'INACTIVE' WHERE user_id = $1 and status = 'ACTIVE' and is_valid = true", [INFO] [stdout] 137 | | user_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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / sqlx::query!( [INFO] [stdout] 146 | | "UPDATE refresh_tokens SET is_valid = false, status = 'REVOKED' WHERE token = $1", [INFO] [stdout] 147 | | token [INFO] [stdout] 148 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / sqlx::query!( [INFO] [stdout] 177 | | "INSERT INTO refresh_tokens (user_id, token, expires_at) VALUES ($1, $2, $3)", [INFO] [stdout] 178 | | user_id, [INFO] [stdout] 179 | | token, [INFO] [stdout] 180 | | expires_at [INFO] [stdout] 181 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query!( [INFO] [stdout] 192 | | "UPDATE users SET failed_login_attempts = failed_login_attempts + 1 WHERE id = $1", [INFO] [stdout] 193 | | user_id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let token = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 202 | | "SELECT token FROM refresh_tokens WHERE user_id = $1 AND is_valid = true AND status = 'ACTIVE'", [INFO] [stdout] 203 | | user_id [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / sqlx::query!( [INFO] [stdout] 214 | | "UPDATE refresh_tokens SET is_valid = false, status = 'REVOKED' WHERE user_id = $1", [INFO] [stdout] 215 | | user_id [INFO] [stdout] 216 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/db/repo/auth_repository.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 245 | | r#"SELECT user_id, is_valid, status as "status: RefreshTokenStatus" FROM refresh_tokens WHERE token = $1"#, [INFO] [stdout] 246 | | token [INFO] [stdout] 247 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountStatus` [INFO] [stdout] --> src/api/handler/user_handler.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::entity::user::{AccountStatus, Users}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AccountStatus` [INFO] [stdout] --> src/api/handler/user_handler.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::entity::user::{AccountStatus, Users}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AccountStatus` [INFO] [stdout] --> src/db/repo/auth_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::AccountStatus` [INFO] [stdout] --> src/db/repo/auth_repository.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-sqlx` (bin "axum-sqlx") due to 16 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum-sqlx` (bin "axum-sqlx" test) due to 16 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "990c2cb8dfd6d889b991d05dfa5aa448a2136747dd7ae1667b4195e17693573b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "990c2cb8dfd6d889b991d05dfa5aa448a2136747dd7ae1667b4195e17693573b", kill_on_drop: false }` [INFO] [stdout] 990c2cb8dfd6d889b991d05dfa5aa448a2136747dd7ae1667b4195e17693573b