[INFO] cloning repository https://github.com/nicflores/user-manager-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicflores/user-manager-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicflores%2Fuser-manager-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicflores%2Fuser-manager-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0be2c47aff886b3c2ee254f750290244dd90a67 [INFO] checking nicflores/user-manager-api against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicflores%2Fuser-manager-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nicflores/user-manager-api [INFO] finished tweaking git repo https://github.com/nicflores/user-manager-api [INFO] tweaked toml for git repo https://github.com/nicflores/user-manager-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicflores/user-manager-api on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nicflores/user-manager-api 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking nicflores/user-manager-api against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicflores%2Fuser-manager-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nicflores/user-manager-api [INFO] finished tweaking git repo https://github.com/nicflores/user-manager-api [INFO] tweaked toml for git repo https://github.com/nicflores/user-manager-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nicflores/user-manager-api on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nicflores/user-manager-api 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded opentelemetry-otlp v0.15.0 [INFO] [stderr] Downloaded axum-tracing-opentelemetry v0.18.1 [INFO] [stderr] Downloaded opentelemetry-prometheus v0.15.0 [INFO] [stderr] Downloaded ordered-multimap v0.6.0 [INFO] [stderr] Downloaded axum-extra v0.9.3 [INFO] [stderr] Downloaded pest_meta v2.7.10 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded pest v2.7.10 [INFO] [stderr] Downloaded brotli-decompressor v4.0.0 [INFO] [stderr] Downloaded config v0.14.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.5.0 [INFO] [stderr] Downloaded async-compression v0.4.10 [INFO] [stderr] Downloaded iri-string v0.7.2 [INFO] [stderr] Downloaded pest_derive v2.7.10 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded tracing-opentelemetry-instrumentation-sdk v0.18.1 [INFO] [stderr] Downloaded rust-ini v0.19.0 [INFO] [stderr] Downloaded opentelemetry-http v0.11.1 [INFO] [stderr] Downloaded init-tracing-opentelemetry v0.18.1 [INFO] [stderr] Downloaded pest_generator v2.7.10 [INFO] [stderr] Downloaded tracing-logfmt-otel v0.2.0 [INFO] [stderr] Downloaded axum-otel-metrics v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed98605f059e7ccb68818a40ef0f87f2b5745d08a5e9fc6797c0ca0aa6529b0 [INFO] running `Command { std: "docker" "start" "-a" "6ed98605f059e7ccb68818a40ef0f87f2b5745d08a5e9fc6797c0ca0aa6529b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed98605f059e7ccb68818a40ef0f87f2b5745d08a5e9fc6797c0ca0aa6529b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed98605f059e7ccb68818a40ef0f87f2b5745d08a5e9fc6797c0ca0aa6529b0", kill_on_drop: false }` [INFO] [stdout] 6ed98605f059e7ccb68818a40ef0f87f2b5745d08a5e9fc6797c0ca0aa6529b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 452150d6b39ea18cbe25a858068a11ce1d9380fcbd42e68b18fc08fb90a26f0e [INFO] running `Command { std: "docker" "start" "-a" "452150d6b39ea18cbe25a858068a11ce1d9380fcbd42e68b18fc08fb90a26f0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking brotli-decompressor v4.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.14.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking num-bigint-dig v0.8.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking iri-string v0.7.2 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking opentelemetry v0.22.0 [INFO] [stderr] Checking opentelemetry v0.21.0 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking opentelemetry-http v0.11.1 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking opentelemetry_sdk v0.21.2 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking async-compression v0.4.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking opentelemetry_sdk v0.22.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking opentelemetry-prometheus v0.15.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Compiling prost-derive v0.12.5 [INFO] [stderr] Checking tracing-opentelemetry v0.23.0 [INFO] [stderr] Checking tracing-opentelemetry v0.22.0 [INFO] [stderr] Checking tracing-opentelemetry-instrumentation-sdk v0.18.1 [INFO] [stderr] Checking tracing-logfmt-otel v0.2.0 [INFO] [stderr] Checking prost v0.12.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking axum-tracing-opentelemetry v0.18.1 [INFO] [stderr] Checking axum-otel-metrics v0.8.1 [INFO] [stderr] Checking axum-extra v0.9.3 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking opentelemetry-proto v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking opentelemetry-otlp v0.15.0 [INFO] [stderr] Checking init-tracing-opentelemetry v0.18.1 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking user-manager-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/agents/models.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let agent = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 42 | | Agent, [INFO] [stdout] 43 | | "SELECT id, name, email FROM agents WHERE id = $1", [INFO] [stdout] 44 | | id [INFO] [stdout] 45 | | ) [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/agents/models.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 53 | | "INSERT INTO agents (name, email) VALUES ($1, $2) RETURNING id", [INFO] [stdout] 54 | | agent.name, [INFO] [stdout] 55 | | agent.email, [INFO] [stdout] 56 | | ) [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/agents/models.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | "UPDATE agents SET name = $1, email = $2 WHERE id = $3", [INFO] [stdout] 66 | | agent.name, [INFO] [stdout] 67 | | agent.email, [INFO] [stdout] 68 | | id [INFO] [stdout] 69 | | ) [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/agents/models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | sqlx::query!("DELETE FROM agents WHERE id = $1", 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/agents/models.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let clients = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 84 | | Client, [INFO] [stdout] 85 | | "SELECT clients.id, clients.name, clients.email, clients.bucket [INFO] [stdout] 86 | | FROM clients [INFO] [stdout] ... | [INFO] [stdout] 89 | | id [INFO] [stdout] 90 | | ) [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/agents/models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query!( [INFO] [stdout] 99 | | "INSERT INTO agent_clients (agent_id, client_id) VALUES ($1, $2)", [INFO] [stdout] 100 | | agent_id, [INFO] [stdout] 101 | | client_id [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/agents/models.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let agent = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 42 | | Agent, [INFO] [stdout] 43 | | "SELECT id, name, email FROM agents WHERE id = $1", [INFO] [stdout] 44 | | id [INFO] [stdout] 45 | | ) [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/agents/models.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 53 | | "INSERT INTO agents (name, email) VALUES ($1, $2) RETURNING id", [INFO] [stdout] 54 | | agent.name, [INFO] [stdout] 55 | | agent.email, [INFO] [stdout] 56 | | ) [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/agents/models.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query!( [INFO] [stdout] 65 | | "UPDATE agents SET name = $1, email = $2 WHERE id = $3", [INFO] [stdout] 66 | | agent.name, [INFO] [stdout] 67 | | agent.email, [INFO] [stdout] 68 | | id [INFO] [stdout] 69 | | ) [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/agents/models.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | sqlx::query!("DELETE FROM agents WHERE id = $1", 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/agents/models.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let clients = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 84 | | Client, [INFO] [stdout] 85 | | "SELECT clients.id, clients.name, clients.email, clients.bucket [INFO] [stdout] 86 | | FROM clients [INFO] [stdout] ... | [INFO] [stdout] 89 | | id [INFO] [stdout] 90 | | ) [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/agents/models.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / sqlx::query!( [INFO] [stdout] 99 | | "INSERT INTO agent_clients (agent_id, client_id) VALUES ($1, $2)", [INFO] [stdout] 100 | | agent_id, [INFO] [stdout] 101 | | client_id [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/clients/models.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let mut clients = sqlx::query_as!(Client, "SELECT * FROM clients") [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/clients/models.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let client_id = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 67 | | "INSERT INTO clients (name, email, bucket) VALUES ($1, $2, $3) RETURNING id", [INFO] [stdout] 68 | | client.name, [INFO] [stdout] 69 | | client.email, [INFO] [stdout] 70 | | client.bucket, [INFO] [stdout] 71 | | ) [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/clients/models.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let client = sqlx::query_as!(Client, "SELECT * FROM clients WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/clients/models.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 95 | | "UPDATE clients SET name = $1, email = $2, bucket = $3 WHERE id = $4", [INFO] [stdout] 96 | | client.name, [INFO] [stdout] 97 | | client.email, [INFO] [stdout] 98 | | client.bucket, [INFO] [stdout] 99 | | id [INFO] [stdout] 100 | | ) [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/clients/models.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | let rows_affected = sqlx::query!("DELETE FROM clients WHERE id = $1", 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/clients/models.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | let client_exists: bool = sqlx::query!("SELECT id FROM clients WHERE id = $1", client_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/clients/models.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let mut clients = sqlx::query_as!(Client, "SELECT * FROM clients") [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/clients/models.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | ... let vendor_id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 147 | | ... "INSERT INTO vendors (client_id, name, host, port, username, password, ssh_key, ssh_key_password) VALUES ($1, $2, $3, $4, $... [INFO] [stdout] 148 | | ... client_id, [INFO] [stdout] 149 | | ... vendor.name, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ... vendor.ssh_key_password [INFO] [stdout] 156 | | ... ) [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/clients/models.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let client_id = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 67 | | "INSERT INTO clients (name, email, bucket) VALUES ($1, $2, $3) RETURNING id", [INFO] [stdout] 68 | | client.name, [INFO] [stdout] 69 | | client.email, [INFO] [stdout] 70 | | client.bucket, [INFO] [stdout] 71 | | ) [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/clients/models.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 171 | | "UPDATE vendors SET [INFO] [stdout] 172 | | name = $1, [INFO] [stdout] 173 | | host = $2, [INFO] [stdout] ... | [INFO] [stdout] 188 | | vendor_id [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/clients/models.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let client = sqlx::query_as!(Client, "SELECT * FROM clients WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/clients/models.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | let client_exists: bool = sqlx::query!("SELECT * FROM clients WHERE id = $1", client_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/clients/models.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 95 | | "UPDATE clients SET name = $1, email = $2, bucket = $3 WHERE id = $4", [INFO] [stdout] 96 | | client.name, [INFO] [stdout] 97 | | client.email, [INFO] [stdout] 98 | | client.bucket, [INFO] [stdout] 99 | | id [INFO] [stdout] 100 | | ) [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/clients/models.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | ... let sftp_id = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 222 | | ... "INSERT INTO sftp (client_id, username, private_key, public_key, bucket_name, aws_role_arn) VALUES ($1, $2, $3, $4, $5, $6) RET... [INFO] [stdout] 223 | | ... client_id, [INFO] [stdout] 224 | | ... sftp.username, [INFO] [stdout] ... | [INFO] [stdout] 228 | | ... sftp.aws_role_arn, [INFO] [stdout] 229 | | ... ) [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/clients/models.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | let rows_affected = sqlx::query!("DELETE FROM clients WHERE id = $1", 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/clients/models.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | let client_exists: bool = sqlx::query!("SELECT * FROM clients WHERE id = $1", client_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/clients/models.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | let client_exists: bool = sqlx::query!("SELECT id FROM clients WHERE id = $1", client_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/clients/models.rs:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 261 | | "UPDATE sftp SET private_key = $1, public_key = $2 WHERE client_id = $3", [INFO] [stdout] 262 | | ssh_keys.private_key, [INFO] [stdout] 263 | | ssh_keys.public_key, [INFO] [stdout] 264 | | client_id, [INFO] [stdout] 265 | | ) [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/clients/models.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | ... let vendor_id = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 147 | | ... "INSERT INTO vendors (client_id, name, host, port, username, password, ssh_key, ssh_key_password) VALUES ($1, $2, $3, $4, $... [INFO] [stdout] 148 | | ... client_id, [INFO] [stdout] 149 | | ... vendor.name, [INFO] [stdout] ... | [INFO] [stdout] 155 | | ... vendor.ssh_key_password [INFO] [stdout] 156 | | ... ) [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/clients/models.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 171 | | "UPDATE vendors SET [INFO] [stdout] 172 | | name = $1, [INFO] [stdout] 173 | | host = $2, [INFO] [stdout] ... | [INFO] [stdout] 188 | | vendor_id [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/clients/models.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | let client_exists: bool = sqlx::query!("SELECT * FROM clients WHERE id = $1", client_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/clients/models.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | ... let sftp_id = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 222 | | ... "INSERT INTO sftp (client_id, username, private_key, public_key, bucket_name, aws_role_arn) VALUES ($1, $2, $3, $4, $5, $6) RET... [INFO] [stdout] 223 | | ... client_id, [INFO] [stdout] 224 | | ... sftp.username, [INFO] [stdout] ... | [INFO] [stdout] 228 | | ... sftp.aws_role_arn, [INFO] [stdout] 229 | | ... ) [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/clients/models.rs:245:35 [INFO] [stdout] | [INFO] [stdout] 245 | let client_exists: bool = sqlx::query!("SELECT * FROM clients WHERE id = $1", client_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/clients/models.rs:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 261 | | "UPDATE sftp SET private_key = $1, public_key = $2 WHERE client_id = $3", [INFO] [stdout] 262 | | ssh_keys.private_key, [INFO] [stdout] 263 | | ssh_keys.public_key, [INFO] [stdout] 264 | | client_id, [INFO] [stdout] 265 | | ) [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/sftp/models.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!( [INFO] [stdout] 20 | | SftpOverview, [INFO] [stdout] 21 | | "SELECT id, client_id, username, bucket_name, aws_role_arn FROM sftp WHERE client_id = $1", [INFO] [stdout] 22 | | client_id [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_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/sftp/models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | / sqlx::query_as!( [INFO] [stdout] 29 | | SftpOverview, [INFO] [stdout] 30 | | "SELECT id, client_id, username, bucket_name, aws_role_arn FROM sftp" [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sftp/models.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let sftp = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 41 | | SftpOverview, [INFO] [stdout] 42 | | "SELECT id, client_id, username, bucket_name, aws_role_arn FROM sftp WHERE id = $1", [INFO] [stdout] 43 | | id [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/sftp/models.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query_as!( [INFO] [stdout] 20 | | SftpOverview, [INFO] [stdout] 21 | | "SELECT id, client_id, username, bucket_name, aws_role_arn FROM sftp WHERE client_id = $1", [INFO] [stdout] 22 | | client_id [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_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/sftp/models.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | sqlx::query!("UPDATE sftp SET username = $1 WHERE id = $2", username, 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/sftp/models.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | "UPDATE sftp SET bucket_name = $1 WHERE id = $2", [INFO] [stdout] 63 | | bucket_name, [INFO] [stdout] 64 | | id [INFO] [stdout] 65 | | ) [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/sftp/models.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | / sqlx::query_as!( [INFO] [stdout] 29 | | SftpOverview, [INFO] [stdout] 30 | | "SELECT id, client_id, username, bucket_name, aws_role_arn FROM sftp" [INFO] [stdout] 31 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sftp/models.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let sftp = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 41 | | SftpOverview, [INFO] [stdout] 42 | | "SELECT id, client_id, username, bucket_name, aws_role_arn FROM sftp WHERE id = $1", [INFO] [stdout] 43 | | id [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/sftp/models.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query!( [INFO] [stdout] 72 | | "UPDATE sftp SET aws_role_arn = $1 WHERE id = $2", [INFO] [stdout] 73 | | aws_role_arn, [INFO] [stdout] 74 | | id [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/sftp/models.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | sqlx::query!("UPDATE sftp SET username = $1 WHERE id = $2", username, 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/sftp/models.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let rows_affected = sqlx::query!("DELETE FROM sftp WHERE id = $1", 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/sftp/models.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | "UPDATE sftp SET bucket_name = $1 WHERE id = $2", [INFO] [stdout] 63 | | bucket_name, [INFO] [stdout] 64 | | id [INFO] [stdout] 65 | | ) [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/sftp/models.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query!( [INFO] [stdout] 72 | | "UPDATE sftp SET aws_role_arn = $1 WHERE id = $2", [INFO] [stdout] 73 | | aws_role_arn, [INFO] [stdout] 74 | | id [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/sftp/models.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let rows_affected = sqlx::query!("DELETE FROM sftp WHERE id = $1", 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/vendors/models.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let vendor = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | VendorOverview, [INFO] [stdout] 52 | | "SELECT id, client_id, name, host, port FROM vendors WHERE id = $1", [INFO] [stdout] 53 | | id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/vendors/models.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 62 | | "UPDATE vendors SET [INFO] [stdout] 63 | | client_id = $1, [INFO] [stdout] 64 | | name = $2, [INFO] [stdout] ... | [INFO] [stdout] 80 | | id [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/vendors/models.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let vendor = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 51 | | VendorOverview, [INFO] [stdout] 52 | | "SELECT id, client_id, name, host, port FROM vendors WHERE id = $1", [INFO] [stdout] 53 | | id [INFO] [stdout] 54 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/vendors/models.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | let rows_affected = sqlx::query!("DELETE FROM vendors WHERE id = $1", 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/vendors/models.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | let rows_affected = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 62 | | "UPDATE vendors SET [INFO] [stdout] 63 | | client_id = $1, [INFO] [stdout] 64 | | name = $2, [INFO] [stdout] ... | [INFO] [stdout] 80 | | id [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/vendors/models.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | let rows_affected = sqlx::query!("DELETE FROM vendors WHERE id = $1", 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] [stderr] error: could not compile `user-manager-api` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `user-manager-api` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "452150d6b39ea18cbe25a858068a11ce1d9380fcbd42e68b18fc08fb90a26f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452150d6b39ea18cbe25a858068a11ce1d9380fcbd42e68b18fc08fb90a26f0e", kill_on_drop: false }` [INFO] [stdout] 452150d6b39ea18cbe25a858068a11ce1d9380fcbd42e68b18fc08fb90a26f0e