[INFO] cloning repository https://github.com/Alvie40/pso3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alvie40/pso3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlvie40%2Fpso3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlvie40%2Fpso3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 905a44118e85785dd39f529146cdc3f5e806387c
[INFO] checking Alvie40/pso3 against master#3f6250a7bb79e600d9036bbc7c8f65af43933643 for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlvie40%2Fpso3" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  73% (3375/4576)
Updating files:  74% (3387/4576)
Updating files:  75% (3432/4576)
Updating files:  76% (3478/4576)
Updating files:  77% (3524/4576)
Updating files:  77% (3559/4576)
Updating files:  78% (3570/4576)
Updating files:  79% (3616/4576)
Updating files:  80% (3661/4576)
Updating files:  80% (3687/4576)
Updating files:  81% (3707/4576)
Updating files:  82% (3753/4576)
Updating files:  82% (3790/4576)
Updating files:  83% (3799/4576)
Updating files:  84% (3844/4576)
Updating files:  85% (3890/4576)
Updating files:  86% (3936/4576)
Updating files:  87% (3982/4576)
Updating files:  88% (4027/4576)
Updating files:  89% (4073/4576)
Updating files:  89% (4114/4576)
Updating files:  90% (4119/4576)
Updating files:  91% (4165/4576)
Updating files:  92% (4210/4576)
Updating files:  93% (4256/4576)
Updating files:  94% (4302/4576)
Updating files:  95% (4348/4576)
Updating files:  96% (4393/4576)
Updating files:  97% (4439/4576)
Updating files:  98% (4485/4576)
Updating files:  99% (4531/4576)
Updating files: 100% (4576/4576)
Updating files: 100% (4576/4576), done.
[INFO] started tweaking git repo https://github.com/Alvie40/pso3
[INFO] finished tweaking git repo https://github.com/Alvie40/pso3
[INFO] tweaked toml for git repo https://github.com/Alvie40/pso3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alvie40/pso3 on toolchain 3f6250a7bb79e600d9036bbc7c8f65af43933643
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alvie40/pso3 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" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-appender v0.2.3
[INFO] [stderr]   Downloaded proc-macro-crate v2.0.0
[INFO] [stderr]   Downloaded whoami v1.6.0
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.3
[INFO] [stderr]   Downloaded rfc7239 v0.1.3
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.3
[INFO] [stderr]   Downloaded poem-derive v1.3.59
[INFO] [stderr]   Downloaded wildmatch v2.4.0
[INFO] [stderr]   Downloaded poem-openapi-derive v2.0.27
[INFO] [stderr]   Downloaded sqlx-macros v0.8.3
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.3
[INFO] [stderr]   Downloaded rsa v0.9.8
[INFO] [stderr]   Downloaded poem v1.3.59
[INFO] [stderr]   Downloaded quick-xml v0.26.0
[INFO] [stderr]   Downloaded sqlx-core v0.8.3
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.3
[INFO] [stderr]   Downloaded tower-http v0.4.4
[INFO] [stderr]   Downloaded sqlx v0.8.3
[INFO] [stderr]   Downloaded poem-openapi v2.0.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fde102896cf990451482c914a575afead1e54d28878ea9aadd641ad200f1b33a
[INFO] running `Command { std: "docker" "start" "-a" "fde102896cf990451482c914a575afead1e54d28878ea9aadd641ad200f1b33a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fde102896cf990451482c914a575afead1e54d28878ea9aadd641ad200f1b33a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fde102896cf990451482c914a575afead1e54d28878ea9aadd641ad200f1b33a", kill_on_drop: false }`
[INFO] [stdout] fde102896cf990451482c914a575afead1e54d28878ea9aadd641ad200f1b33a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e81504329ab8a721bac1b46293800a008ed1c39133e0ca7320f9df6eecaf4525
[INFO] running `Command { std: "docker" "start" "-a" "e81504329ab8a721bac1b46293800a008ed1c39133e0ca7320f9df6eecaf4525", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking openssl v0.10.72
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling sqlx-core v0.8.3
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling toml_edit v0.20.7
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling darling_core v0.14.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling darling_macro v0.14.4
[INFO] [stderr]    Compiling sqlx-postgres v0.8.3
[INFO] [stderr]     Checking tungstenite v0.20.1
[INFO] [stderr]     Checking native-tls v0.2.14
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling proc-macro-crate v2.0.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking rfc7239 v0.1.3
[INFO] [stderr]    Compiling poem-derive v1.3.59
[INFO] [stderr]     Checking tokio-tungstenite v0.20.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling darling v0.14.4
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking quick-xml v0.30.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]     Checking wildmatch v2.4.0
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling poem-openapi-derive v2.0.27
[INFO] [stderr]     Checking poem v1.3.59
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking quick-xml v0.26.0
[INFO] [stderr]     Checking http-range-header v0.3.1
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]     Checking sqlx v0.8.3
[INFO] [stderr]     Checking poem-openapi v2.0.27
[INFO] [stderr]     Checking psocial3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/auth/handler.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 166 |       let existing_user = match sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 167 | |         r#"
[INFO] [stdout] 168 | |         SELECT id FROM users 
[INFO] [stdout] 169 | |         WHERE email = $1 OR cpf = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         payload.cpf
[INFO] [stdout] 173 | |     )
[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/auth/handler.rs:196:25
[INFO] [stdout]     |
[INFO] [stdout] 196 |       let empresa = match sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 197 | |         "SELECT id FROM empresas LIMIT 1"
[INFO] [stdout] 198 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/auth/handler.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |       match sqlx::query!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 217 | |         r#"
[INFO] [stdout] 218 | |         INSERT INTO users (id, empresa_id, nome, cpf, telefone, email, senha, categoria, created_at, updated_at)
[INFO] [stdout] 219 | |         VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | |         now
[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` (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/models/mensagens.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     sqlx::query_as!(
[INFO] [stdout] 38 | |         Mensagem,
[INFO] [stdout] 39 | |         r#"
[INFO] [stdout] 40 | |         SELECT id, user_id, texto, recebido, criado_em
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |         "#
[INFO] [stdout] 44 | |     )
[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/models/mensagens.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | /         sqlx::query!(
[INFO] [stdout] 111 | |             r#"
[INFO] [stdout] 112 | |             CREATE TABLE IF NOT EXISTS empresas (
[INFO] [stdout] 113 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |             "#
[INFO] [stdout] 119 | |         )
[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/models/mensagens.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | /         sqlx::query!(
[INFO] [stdout] 125 | |             r#"
[INFO] [stdout] 126 | |             INSERT INTO empresas (id, nome, cnpj)
[INFO] [stdout] 127 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |             "12345678901234"
[INFO] [stdout] 132 | |         )
[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/models/mensagens.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 | /         sqlx::query!(
[INFO] [stdout] 139 | |             r#"
[INFO] [stdout] 140 | |             CREATE TABLE IF NOT EXISTS users (
[INFO] [stdout] 141 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 151 | |             "#
[INFO] [stdout] 152 | |         )
[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/models/mensagens.rs:157:9
[INFO] [stdout]     |
[INFO] [stdout] 157 | /         sqlx::query!(
[INFO] [stdout] 158 | |             r#"
[INFO] [stdout] 159 | |             INSERT INTO users (id, empresa_id, nome, cpf, telefone, email, senha, categoria)
[INFO] [stdout] 160 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |             "USER"
[INFO] [stdout] 170 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/models/mensagens.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 | /         sqlx::query!(
[INFO] [stdout] 177 | |             r#"
[INFO] [stdout] 178 | |             CREATE TABLE IF NOT EXISTS mensagens (
[INFO] [stdout] 179 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | |             "#
[INFO] [stdout] 186 | |         )
[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/models/mensagens.rs:192:9
[INFO] [stdout]     |
[INFO] [stdout] 192 | /         sqlx::query!(
[INFO] [stdout] 193 | |             r#"
[INFO] [stdout] 194 | |             INSERT INTO mensagens (id, user_id, texto, recebido, criado_em)
[INFO] [stdout] 195 | |             VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 201 | |             now
[INFO] [stdout] 202 | |         )
[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/models/mensagens.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 | /         sqlx::query!(
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             CREATE TABLE IF NOT EXISTS mensagens (
[INFO] [stdout] 245 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 251 | |             "#
[INFO] [stdout] 252 | |         )
[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/models/mensagens.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 | /         sqlx::query!(
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             CREATE TABLE IF NOT EXISTS empresas (
[INFO] [stdout] 288 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |             "#
[INFO] [stdout] 294 | |         )
[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/models/mensagens.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 | /         sqlx::query!(
[INFO] [stdout] 300 | |             r#"
[INFO] [stdout] 301 | |             INSERT INTO empresas (id, nome, cnpj)
[INFO] [stdout] 302 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 306 | |             "12345678901234"
[INFO] [stdout] 307 | |         )
[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/models/mensagens.rs:313:9
[INFO] [stdout]     |
[INFO] [stdout] 313 | /         sqlx::query!(
[INFO] [stdout] 314 | |             r#"
[INFO] [stdout] 315 | |             CREATE TABLE IF NOT EXISTS users (
[INFO] [stdout] 316 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 326 | |             "#
[INFO] [stdout] 327 | |         )
[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/models/mensagens.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 | /         sqlx::query!(
[INFO] [stdout] 333 | |             r#"
[INFO] [stdout] 334 | |             INSERT INTO users (id, empresa_id, nome, cpf, telefone, email, senha, categoria)
[INFO] [stdout] 335 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...   |
[INFO] [stdout] 344 | |             "USER"
[INFO] [stdout] 345 | |         )
[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/models/mensagens.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 | /         sqlx::query!(
[INFO] [stdout] 352 | |             r#"
[INFO] [stdout] 353 | |             CREATE TABLE IF NOT EXISTS mensagens (
[INFO] [stdout] 354 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 360 | |             "#
[INFO] [stdout] 361 | |         )
[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/models/mensagens.rs:367:9
[INFO] [stdout]     |
[INFO] [stdout] 367 | /         sqlx::query!(
[INFO] [stdout] 368 | |             r#"
[INFO] [stdout] 369 | |             INSERT INTO mensagens (id, user_id, texto, recebido)
[INFO] [stdout] 370 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 375 | |             false
[INFO] [stdout] 376 | |         )
[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/models/mensagens.rs:414:9
[INFO] [stdout]     |
[INFO] [stdout] 414 | /         sqlx::query!(
[INFO] [stdout] 415 | |             r#"
[INFO] [stdout] 416 | |             CREATE TABLE IF NOT EXISTS empresas (
[INFO] [stdout] 417 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 422 | |             "#
[INFO] [stdout] 423 | |         )
[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/models/mensagens.rs:428:9
[INFO] [stdout]     |
[INFO] [stdout] 428 | /         sqlx::query!(
[INFO] [stdout] 429 | |             r#"
[INFO] [stdout] 430 | |             INSERT INTO empresas (id, nome, cnpj)
[INFO] [stdout] 431 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |             "12345678901234"
[INFO] [stdout] 436 | |         )
[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/models/mensagens.rs:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 | /         sqlx::query!(
[INFO] [stdout] 443 | |             r#"
[INFO] [stdout] 444 | |             CREATE TABLE IF NOT EXISTS users (
[INFO] [stdout] 445 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 455 | |             "#
[INFO] [stdout] 456 | |         )
[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/models/mensagens.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 | /         sqlx::query!(
[INFO] [stdout] 462 | |             r#"
[INFO] [stdout] 463 | |             INSERT INTO users (id, empresa_id, nome, cpf, telefone, email, senha, categoria)
[INFO] [stdout] 464 | |             VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
[INFO] [stdout] ...   |
[INFO] [stdout] 473 | |             "USER"
[INFO] [stdout] 474 | |         )
[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/models/mensagens.rs:480:9
[INFO] [stdout]     |
[INFO] [stdout] 480 | /         sqlx::query!(
[INFO] [stdout] 481 | |             r#"
[INFO] [stdout] 482 | |             CREATE TABLE IF NOT EXISTS mensagens (
[INFO] [stdout] 483 | |                 id UUID PRIMARY KEY,
[INFO] [stdout] ...   |
[INFO] [stdout] 489 | |             "#
[INFO] [stdout] 490 | |         )
[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/models/mensagens.rs:496:9
[INFO] [stdout]     |
[INFO] [stdout] 496 | /         sqlx::query!(
[INFO] [stdout] 497 | |             r#"
[INFO] [stdout] 498 | |             INSERT INTO mensagens (id, user_id, texto, recebido)
[INFO] [stdout] 499 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 504 | |             false
[INFO] [stdout] 505 | |         )
[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/models/mensagens.rs:511:9
[INFO] [stdout]     |
[INFO] [stdout] 511 | /         sqlx::query!(
[INFO] [stdout] 512 | |             r#"
[INFO] [stdout] 513 | |             UPDATE mensagens
[INFO] [stdout] 514 | |             SET texto = $1, recebido = true
[INFO] [stdout] ...   |
[INFO] [stdout] 518 | |             mensagem_id
[INFO] [stdout] 519 | |         )
[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/auth/handler.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 166 |       let existing_user = match sqlx::query!(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 167 | |         r#"
[INFO] [stdout] 168 | |         SELECT id FROM users 
[INFO] [stdout] 169 | |         WHERE email = $1 OR cpf = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         payload.cpf
[INFO] [stdout] 173 | |     )
[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/auth/handler.rs:196:25
[INFO] [stdout]     |
[INFO] [stdout] 196 |       let empresa = match sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 197 | |         "SELECT id FROM empresas LIMIT 1"
[INFO] [stdout] 198 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/auth/handler.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |       match sqlx::query!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 217 | |         r#"
[INFO] [stdout] 218 | |         INSERT INTO users (id, empresa_id, nome, cpf, telefone, email, senha, categoria, created_at, updated_at)
[INFO] [stdout] 219 | |         VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | |         now
[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` (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/twilio/handler.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         sqlx::query!(
[INFO] [stdout] 46 | |             r#"
[INFO] [stdout] 47 | |             INSERT INTO mensagens (id, user_id, texto, recebido)
[INFO] [stdout] 48 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             false
[INFO] [stdout] 54 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/models/mensagens.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     sqlx::query_as!(
[INFO] [stdout] 38 | |         Mensagem,
[INFO] [stdout] 39 | |         r#"
[INFO] [stdout] 40 | |         SELECT id, user_id, texto, recebido, criado_em
[INFO] [stdout] ...  |
[INFO] [stdout] 43 | |         "#
[INFO] [stdout] 44 | |     )
[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/twilio/handler.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     sqlx::query!(
[INFO] [stdout] 70 | |         r#"
[INFO] [stdout] 71 | |         INSERT INTO mensagens (id, user_id, texto, recebido)
[INFO] [stdout] 72 | |         VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |         true
[INFO] [stdout] 78 | |     )
[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/twilio/handler.rs:99:16
[INFO] [stdout]     |
[INFO] [stdout]  99 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 100 | |         "SELECT id FROM users WHERE email = $1",
[INFO] [stdout] 101 | |         auth.claims.sub
[INFO] [stdout] 102 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/mod.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 69 | |         r#"
[INFO] [stdout] 70 | |         SELECT email, senha FROM users 
[INFO] [stdout] 71 | |         WHERE email = $1 AND senha = $2
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |         payload.password
[INFO] [stdout] 75 | |     )
[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/twilio/handler.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         sqlx::query!(
[INFO] [stdout] 46 | |             r#"
[INFO] [stdout] 47 | |             INSERT INTO mensagens (id, user_id, texto, recebido)
[INFO] [stdout] 48 | |             VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             false
[INFO] [stdout] 54 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/admin/mod.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let empresas = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 53 | |         EmpresaResponse,
[INFO] [stdout] 54 | |         r#"
[INFO] [stdout] 55 | |         SELECT id, nome, cnpj
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |         "#
[INFO] [stdout] 59 | |     )
[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/twilio/handler.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | /     sqlx::query!(
[INFO] [stdout] 70 | |         r#"
[INFO] [stdout] 71 | |         INSERT INTO mensagens (id, user_id, texto, recebido)
[INFO] [stdout] 72 | |         VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |         true
[INFO] [stdout] 78 | |     )
[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/admin/mod.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let existing = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 79 | |         "SELECT id FROM empresas WHERE cnpj = $1",
[INFO] [stdout] 80 | |         payload.cnpj
[INFO] [stdout] 81 | |     )
[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/admin/mod.rs:96:5
[INFO] [stdout]     |
[INFO] [stdout]  96 | /     sqlx::query!(
[INFO] [stdout]  97 | |         r#"
[INFO] [stdout]  98 | |         INSERT INTO empresas (id, nome, cnpj, created_at, updated_at)
[INFO] [stdout]  99 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |         now
[INFO] [stdout] 106 | |     )
[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/twilio/handler.rs:99:16
[INFO] [stdout]     |
[INFO] [stdout]  99 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 100 | |         "SELECT id FROM users WHERE email = $1",
[INFO] [stdout] 101 | |         auth.claims.sub
[INFO] [stdout] 102 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/admin/mod.rs:123:21
[INFO] [stdout]     |
[INFO] [stdout] 123 |       let has_users = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 124 | |         "SELECT COUNT(*) as count FROM users WHERE empresa_id = $1",
[INFO] [stdout] 125 | |         id.0
[INFO] [stdout] 126 | |     )
[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/admin/mod.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 | /     sqlx::query!(
[INFO] [stdout] 141 | |         "DELETE FROM empresas WHERE id = $1",
[INFO] [stdout] 142 | |         id.0
[INFO] [stdout] 143 | |     )
[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/admin/mod.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |       let users = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 156 | |         r#"
[INFO] [stdout] 157 | |         SELECT u.id, u.nome, u.email, u.categoria, e.nome as empresa_nome
[INFO] [stdout] 158 | |         FROM users u
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |         "#
[INFO] [stdout] 162 | |     )
[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/mod.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 69 | |         r#"
[INFO] [stdout] 70 | |         SELECT email, senha FROM users 
[INFO] [stdout] 71 | |         WHERE email = $1 AND senha = $2
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |         payload.password
[INFO] [stdout] 75 | |     )
[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/admin/mod.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let empresas = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 53 | |         EmpresaResponse,
[INFO] [stdout] 54 | |         r#"
[INFO] [stdout] 55 | |         SELECT id, nome, cnpj
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |         "#
[INFO] [stdout] 59 | |     )
[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/admin/mod.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let current_user = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 198 | |         "SELECT id FROM users WHERE email = $1",
[INFO] [stdout] 199 | |         claims.sub
[INFO] [stdout] 200 | |     )
[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/admin/mod.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 | /     sqlx::query!(
[INFO] [stdout] 213 | |         "DELETE FROM users WHERE id = $1",
[INFO] [stdout] 214 | |         id.0
[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` (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/admin/mod.rs:78:20
[INFO] [stdout]    |
[INFO] [stdout] 78 |       let existing = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 79 | |         "SELECT id FROM empresas WHERE cnpj = $1",
[INFO] [stdout] 80 | |         payload.cnpj
[INFO] [stdout] 81 | |     )
[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/admin/mod.rs:96:5
[INFO] [stdout]     |
[INFO] [stdout]  96 | /     sqlx::query!(
[INFO] [stdout]  97 | |         r#"
[INFO] [stdout]  98 | |         INSERT INTO empresas (id, nome, cnpj, created_at, updated_at)
[INFO] [stdout]  99 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |         now
[INFO] [stdout] 106 | |     )
[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 imports: `CookieJar` and `Cookie`
[INFO] [stdout]  --> src/auth/mod.rs:1:100
[INFO] [stdout]   |
[INFO] [stdout] 1 | use poem::{Middleware, Request, Response, Result, Error, Endpoint, http::StatusCode, web::cookie::{Cookie, CookieJar}};
[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: `api_login`
[INFO] [stdout]  --> src/routes/mod.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 |         handler::{login, register, me, api_login, logout},
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SendMessageRequest`
[INFO] [stdout]   --> src/twilio/handler.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     dto::{WebhookRequest, SendMessageRequest},
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/admin/mod.rs:123:21
[INFO] [stdout]     |
[INFO] [stdout] 123 |       let has_users = sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 124 | |         "SELECT COUNT(*) as count FROM users WHERE empresa_id = $1",
[INFO] [stdout] 125 | |         id.0
[INFO] [stdout] 126 | |     )
[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/admin/mod.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 | /     sqlx::query!(
[INFO] [stdout] 141 | |         "DELETE FROM empresas WHERE id = $1",
[INFO] [stdout] 142 | |         id.0
[INFO] [stdout] 143 | |     )
[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/admin/mod.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |       let users = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 156 | |         r#"
[INFO] [stdout] 157 | |         SELECT u.id, u.nome, u.email, u.categoria, e.nome as empresa_nome
[INFO] [stdout] 158 | |         FROM users u
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |         "#
[INFO] [stdout] 162 | |     )
[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/admin/mod.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |       let current_user = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 198 | |         "SELECT id FROM users WHERE email = $1",
[INFO] [stdout] 199 | |         claims.sub
[INFO] [stdout] 200 | |     )
[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/admin/mod.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 | /     sqlx::query!(
[INFO] [stdout] 213 | |         "DELETE FROM users WHERE id = $1",
[INFO] [stdout] 214 | |         id.0
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CookieJar` and `Cookie`
[INFO] [stdout]  --> src/auth/mod.rs:1:100
[INFO] [stdout]   |
[INFO] [stdout] 1 | use poem::{Middleware, Request, Response, Result, Error, Endpoint, http::StatusCode, web::cookie::{Cookie, CookieJar}};
[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: `api_login`
[INFO] [stdout]  --> src/routes/mod.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 |         handler::{login, register, me, api_login, logout},
[INFO] [stdout]   |                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SendMessageRequest`
[INFO] [stdout]   --> src/twilio/handler.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     dto::{WebhookRequest, SendMessageRequest},
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `psocial3` (lib test) due to 36 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `psocial3` (lib) due to 16 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e81504329ab8a721bac1b46293800a008ed1c39133e0ca7320f9df6eecaf4525", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e81504329ab8a721bac1b46293800a008ed1c39133e0ca7320f9df6eecaf4525", kill_on_drop: false }`
[INFO] [stdout] e81504329ab8a721bac1b46293800a008ed1c39133e0ca7320f9df6eecaf4525
