[INFO] cloning repository https://github.com/nurgitlab/actix_jwt_auth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nurgitlab/actix_jwt_auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurgitlab%2Factix_jwt_auth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurgitlab%2Factix_jwt_auth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb5422f45d709aed3e9267efc5cc65bf69e4e063 [INFO] checking nurgitlab/actix_jwt_auth/cb5422f45d709aed3e9267efc5cc65bf69e4e063 against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurgitlab%2Factix_jwt_auth" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nurgitlab/actix_jwt_auth [INFO] finished tweaking git repo https://github.com/nurgitlab/actix_jwt_auth [INFO] tweaked toml for git repo https://github.com/nurgitlab/actix_jwt_auth written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nurgitlab/actix_jwt_auth on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nurgitlab/actix_jwt_auth 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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "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 thiserror v2.0.15 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded actix-web-httpauth v0.8.2 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded zerovec v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83646df5060190a47f8aa1f013440bd83ab6169c436ad4d6716cc54b7a982d01 [INFO] running `Command { std: "docker" "start" "-a" "83646df5060190a47f8aa1f013440bd83ab6169c436ad4d6716cc54b7a982d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83646df5060190a47f8aa1f013440bd83ab6169c436ad4d6716cc54b7a982d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83646df5060190a47f8aa1f013440bd83ab6169c436ad4d6716cc54b7a982d01", kill_on_drop: false }` [INFO] [stdout] 83646df5060190a47f8aa1f013440bd83ab6169c436ad4d6716cc54b7a982d01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3038c8de8d52ebec77dbac141fa8713711f1051cab7c47f178e389f82d31fd6 [INFO] running `Command { std: "docker" "start" "-a" "a3038c8de8d52ebec77dbac141fa8713711f1051cab7c47f178e389f82d31fd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking actix-web-httpauth v0.8.2 [INFO] [stderr] Checking actix_jwt_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/auth_repisitory.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT user_id, expires_at [INFO] [stdout] 19 | | FROM refresh_tokens [INFO] [stdout] ... | [INFO] [stdout] 22 | | token [INFO] [stdout] 23 | | ) [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/repositories/auth_repisitory.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | DELETE FROM refresh_tokens [INFO] [stdout] 65 | | WHERE token = $1 [INFO] [stdout] 66 | | "#, [INFO] [stdout] 67 | | token [INFO] [stdout] 68 | | ) [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/repositories/auth_repisitory.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | INSERT INTO refresh_tokens (token, user_id, expires_at) [INFO] [stdout] 98 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 102 | | token.expires_at [INFO] [stdout] 103 | | ) [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/repositories/posts_repository.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 19 | | Post, [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | INSERT INTO posts (message, user_id) [INFO] [stdout] ... | [INFO] [stdout] 31 | | user_id [INFO] [stdout] 32 | | ) [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/repositories/posts_repository.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 68 | | Post, [INFO] [stdout] 69 | | "SELECT [INFO] [stdout] 70 | | id, [INFO] [stdout] ... | [INFO] [stdout] 78 | | user_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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/posts_repository.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 97 | | Post, [INFO] [stdout] 98 | | "SELECT [INFO] [stdout] 99 | | id, [INFO] [stdout] ... | [INFO] [stdout] 106 | | id [INFO] [stdout] 107 | | ) [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/repositories/posts_repository.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | Post, [INFO] [stdout] 138 | | "UPDATE posts [INFO] [stdout] 139 | | SET message = $1, updated_at = NOW() [INFO] [stdout] ... | [INFO] [stdout] 148 | | id, [INFO] [stdout] 149 | | ) [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/repositories/posts_repository.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = sqlx::query!("DELETE FROM posts WHERE id = $1", post_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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/users_repository.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | User, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO users (username, password) [INFO] [stdout] ... | [INFO] [stdout] 25 | | user_data.password, [INFO] [stdout] 26 | | ) [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/repositories/users_repository.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | sqlx::query_as!(User, "SELECT id, username, password 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_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/repositories/users_repository.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 80 | | User, [INFO] [stdout] 81 | | "SELECT id, username, password FROM users WHERE id = $1", [INFO] [stdout] 82 | | user_id [INFO] [stdout] 83 | | ) [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/repositories/users_repository.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 112 | | User, [INFO] [stdout] 113 | | "SELECT id, username, password FROM users WHERE username = $1", [INFO] [stdout] 114 | | username [INFO] [stdout] 115 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/users_repository.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 145 | | User, [INFO] [stdout] 146 | | "UPDATE users SET username = $1, password = $3 WHERE id = $2 RETURNING id, username, password", [INFO] [stdout] 147 | | user_data.username, [INFO] [stdout] 148 | | user_id, [INFO] [stdout] 149 | | user_data.password, [INFO] [stdout] 150 | | ) [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/repositories/users_repository.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let result = sqlx::query!("DELETE FROM users WHERE id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/auth_repisitory.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 17 | | r#" [INFO] [stdout] 18 | | SELECT user_id, expires_at [INFO] [stdout] 19 | | FROM refresh_tokens [INFO] [stdout] ... | [INFO] [stdout] 22 | | token [INFO] [stdout] 23 | | ) [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/repositories/auth_repisitory.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 63 | | r#" [INFO] [stdout] 64 | | DELETE FROM refresh_tokens [INFO] [stdout] 65 | | WHERE token = $1 [INFO] [stdout] 66 | | "#, [INFO] [stdout] 67 | | token [INFO] [stdout] 68 | | ) [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/repositories/auth_repisitory.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 96 | | r#" [INFO] [stdout] 97 | | INSERT INTO refresh_tokens (token, user_id, expires_at) [INFO] [stdout] 98 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 102 | | token.expires_at [INFO] [stdout] 103 | | ) [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/repositories/posts_repository.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 19 | | Post, [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | INSERT INTO posts (message, user_id) [INFO] [stdout] ... | [INFO] [stdout] 31 | | user_id [INFO] [stdout] 32 | | ) [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/repositories/posts_repository.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 68 | | Post, [INFO] [stdout] 69 | | "SELECT [INFO] [stdout] 70 | | id, [INFO] [stdout] ... | [INFO] [stdout] 78 | | user_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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/posts_repository.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 97 | | Post, [INFO] [stdout] 98 | | "SELECT [INFO] [stdout] 99 | | id, [INFO] [stdout] ... | [INFO] [stdout] 106 | | id [INFO] [stdout] 107 | | ) [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/repositories/posts_repository.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | Post, [INFO] [stdout] 138 | | "UPDATE posts [INFO] [stdout] 139 | | SET message = $1, updated_at = NOW() [INFO] [stdout] ... | [INFO] [stdout] 148 | | id, [INFO] [stdout] 149 | | ) [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/repositories/posts_repository.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = sqlx::query!("DELETE FROM posts WHERE id = $1", post_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: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/users_repository.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 18 | | User, [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO users (username, password) [INFO] [stdout] ... | [INFO] [stdout] 25 | | user_data.password, [INFO] [stdout] 26 | | ) [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/repositories/users_repository.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | sqlx::query_as!(User, "SELECT id, username, password 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_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/repositories/users_repository.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 80 | | User, [INFO] [stdout] 81 | | "SELECT id, username, password FROM users WHERE id = $1", [INFO] [stdout] 82 | | user_id [INFO] [stdout] 83 | | ) [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/repositories/users_repository.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 112 | | User, [INFO] [stdout] 113 | | "SELECT id, username, password FROM users WHERE username = $1", [INFO] [stdout] 114 | | username [INFO] [stdout] 115 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/repositories/users_repository.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let result = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 145 | | User, [INFO] [stdout] 146 | | "UPDATE users SET username = $1, password = $3 WHERE id = $2 RETURNING id, username, password", [INFO] [stdout] 147 | | user_data.username, [INFO] [stdout] 148 | | user_id, [INFO] [stdout] 149 | | user_data.password, [INFO] [stdout] 150 | | ) [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/repositories/users_repository.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let result = sqlx::query!("DELETE FROM users WHERE id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | Err(AuthError::Authentication(e.to_string())) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 16 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(res) if res.rows_affected() > 0 => { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 62 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<{type error}, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Err(AuthError::Authentication(e.to_string())) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 62 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | Err(AuthError::Authentication(e.to_string())) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 95 | let result: Result = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | Err(AuthError::Authentication(e.to_string())) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 16 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Ok(res) if res.rows_affected() > 0 => { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 62 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<{type error}, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | Err(AuthError::Authentication(e.to_string())) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 62 | let result: Result<_, E> = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/repositories/auth_repisitory.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let result = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | Err(AuthError::Authentication(e.to_string())) [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 95 | let result: Result = sqlx::query!( [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix_jwt_auth` (bin "actix_jwt_auth" test) due to 18 previous errors [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 `actix_jwt_auth` (bin "actix_jwt_auth") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "a3038c8de8d52ebec77dbac141fa8713711f1051cab7c47f178e389f82d31fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3038c8de8d52ebec77dbac141fa8713711f1051cab7c47f178e389f82d31fd6", kill_on_drop: false }` [INFO] [stdout] a3038c8de8d52ebec77dbac141fa8713711f1051cab7c47f178e389f82d31fd6