[INFO] cloning repository https://github.com/palfrey/cavalcade [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/palfrey/cavalcade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalfrey%2Fcavalcade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalfrey%2Fcavalcade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6526fa46223356f57b3a8dcbc145134729e37433 [INFO] testing palfrey/cavalcade against beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalfrey%2Fcavalcade" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/palfrey/cavalcade [INFO] finished tweaking git repo https://github.com/palfrey/cavalcade [INFO] tweaked toml for git repo https://github.com/palfrey/cavalcade written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/palfrey/cavalcade on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/palfrey/cavalcade 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `amq-protocol` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b1fb34144a4a5802ccc31e0b8c740f431a79236c2e77a9a6d81c3fb211cb9e2 [INFO] running `Command { std: "docker" "start" "-a" "0b1fb34144a4a5802ccc31e0b8c740f431a79236c2e77a9a6d81c3fb211cb9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b1fb34144a4a5802ccc31e0b8c740f431a79236c2e77a9a6d81c3fb211cb9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1fb34144a4a5802ccc31e0b8c740f431a79236c2e77a9a6d81c3fb211cb9e2", kill_on_drop: false }` [INFO] [stdout] 0b1fb34144a4a5802ccc31e0b8c740f431a79236c2e77a9a6d81c3fb211cb9e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f158d5230a3dd8fd79ef75fad7b2a6eb0c13aab3c531331e9894f52e8d46b78 [INFO] running `Command { std: "docker" "start" "-a" "2f158d5230a3dd8fd79ef75fad7b2a6eb0c13aab3c531331e9894f52e8d46b78", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `amq-protocol` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling iana-time-zone v0.1.54 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling block-padding v0.3.2 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hkdf v0.12.2 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.8 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling rc2 v0.8.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling cookie-factory v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling yasna v0.5.1 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ordered-float v2.9.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling amq-protocol v7.1.2 [INFO] [stderr] Compiling p12 v0.6.3 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling thread-id v4.0.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling clap v3.0.7 [INFO] [stderr] Compiling rustls-webpki v0.101.6 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.24.0 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling amq-protocol-types v7.1.2 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Compiling amq-protocol-uri v7.1.2 [INFO] [stderr] Compiling rustls-connector v0.18.3 [INFO] [stderr] Compiling tcp-stream v0.26.1 [INFO] [stderr] Compiling amq-protocol-tcp v7.1.2 [INFO] [stderr] Compiling sqlx-core v0.7.2 [INFO] [stderr] Compiling sqlx-postgres v0.7.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.2 [INFO] [stderr] Compiling sqlx-macros v0.7.2 [INFO] [stderr] Compiling sqlx v0.7.2 [INFO] [stderr] Compiling cavalcade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | sqlx::query!("SELECT _name FROM queue") [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/lib.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | sqlx::query!("SELECT _name FROM exchange") [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/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | sqlx::query!("SELECT routing_key, queue._name as \"q_name!\", exchange._name as \"e_name!\" FROM bind JOIN queue ON queue.id = queue_id JOIN exchange ON exchange.id = exchange_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/lib.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | let existing_queues = sqlx::query!("SELECT id FROM queue WHERE _name = $1", &queue_name) [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/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | / sqlx::query!( [INFO] [stdout] 243 | | " [INFO] [stdout] 244 | | UPDATE queue SET passive = $1, durable = $2, _exclusive = $3, auto_delete = $4, _nowait = $5, arguments = $6 [INFO] [stdout] 245 | | WHERE id = $7", [INFO] [stdout] ... | [INFO] [stdout] 248 | | declare.exclusive, declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments), id.unwrap() [INFO] [stdout] 249 | | ) [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/lib.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | / ... sqlx::query!("INSERT INTO queue (id, _name, passive, durable, _exclusive, auto_delete, _nowait, arguments) VALUES(gen_random_uuid()... [INFO] [stdout] 254 | | ... queue_name, [INFO] [stdout] 255 | | ... declare.passive, [INFO] [stdout] 256 | | ... declare.durable, [INFO] [stdout] 257 | | ... declare.exclusive, declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments)).execute(conn).await.unwrap(); [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/lib.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | sqlx::query!("SELECT id FROM exchange WHERE _name = $1", &exchange_name) [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/lib.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | " [INFO] [stdout] 272 | | UPDATE exchange SET passive = $1, durable = $2, auto_delete = $3, _nowait = $4, arguments = $5 [INFO] [stdout] 273 | | WHERE id = $6", [INFO] [stdout] ... | [INFO] [stdout] 276 | | declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments), id.unwrap() [INFO] [stdout] 277 | | ) [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/lib.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | / ... sqlx::query!("INSERT INTO exchange (id, _name, _type, passive, durable, auto_delete, _nowait, arguments) VALUES(gen_random_uuid(), ... [INFO] [stdout] 282 | | ... exchange_name, [INFO] [stdout] 283 | | ... declare.kind.to_string(), [INFO] [stdout] 284 | | ... declare.passive, [INFO] [stdout] 285 | | ... declare.durable, [INFO] [stdout] 286 | | ... declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments)).execute(conn).await.unwrap(); [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/lib.rs:295:26 [INFO] [stdout] | [INFO] [stdout] 295 | let existing_binds = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 296 | | "SELECT id FROM bind WHERE [INFO] [stdout] 297 | | queue_id IN (SELECT id FROM queue where _name = $1) AND [INFO] [stdout] 298 | | exchange_id IN (SELECT id from exchange where _name = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 302 | | &routing_key [INFO] [stdout] 303 | | ) [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/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | / sqlx::query!( [INFO] [stdout] 309 | | " [INFO] [stdout] 310 | | UPDATE bind SET _nowait = $1, arguments = $2 [INFO] [stdout] 311 | | WHERE id = $3", [INFO] [stdout] ... | [INFO] [stdout] 314 | | id.unwrap() [INFO] [stdout] 315 | | ) [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/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | / ... sqlx::query!("INSERT INTO bind (id, queue_id, exchange_id, routing_key, _nowait, arguments) VALUES(gen_random_uuid(), (SELECT id FR... [INFO] [stdout] 321 | | ... queue_name, [INFO] [stdout] 322 | | ... exchange_name, [INFO] [stdout] 323 | | ... routing_key, [INFO] [stdout] 324 | | ... bind.nowait, [INFO] [stdout] 325 | | ... fieldtable_to_json(&bind.arguments)).execute(conn).await.unwrap(); [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/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / sqlx::query!( [INFO] [stdout] 360 | | "INSERT INTO message (id, arguments, body, queue_id, recieved_at, consumed_at, consumed_by, routing_key, exchange_id, delivery_mode, _priority, correlation_id, reply_to, content_type, content_encoding) VALUES(gen_random_uuid(), $1, $2, (SELECT id f... [INFO] [stdout] 361 | | message.headers, content, queue_name, Utc::now().naive_utc(), message.routing_key, message.delivery_mode.map(|x| x as i32), message.priority.map(|x| x as i32), message.correlation_id, message.reply_to, message.content_type, message.content_encoding).ex... [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/lib.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | / sqlx::query!( [INFO] [stdout] 369 | | "INSERT INTO message (id, arguments, body, queue_id, recieved_at, consumed_at, consumed_by, routing_key, exchange_id, delivery_mode, _priority, correlation_id, reply_to, content_type, content_encoding) VALUES(gen_random_uuid(), $1, $2, (SELECT id from queue WHERE _n... [INFO] [stdout] 370 | | message.headers, content, queue_name, Utc::now().naive_utc(), message.routing_key, message.exchange, message.delivery_mode.map(|x| x as i32), message.priority.map(|x| x as i32), message.correlation_id, message.reply_to, message.content_type, message.content_encoding).ex... [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/lib.rs:382:20 [INFO] [stdout] | [INFO] [stdout] 382 | let exchange = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 383 | | "SELECT id, _type FROM exchange WHERE _name = $1", [INFO] [stdout] 384 | | &exchange_name [INFO] [stdout] 385 | | ) [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/lib.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | let binds = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 390 | | "SELECT bind.id as id, queue._name as queue_name, routing_key FROM bind JOIN queue ON queue.id = queue_id WHERE exchange_id = $1", [INFO] [stdout] 391 | | &exchange.id [INFO] [stdout] 392 | | ) [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/lib.rs:619:37 [INFO] [stdout] | [INFO] [stdout] 619 | let queue = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 620 | | "SELECT COUNT(id) as count FROM message WHERE queue_id IN (SELECT id FROM queue WHERE _name = $1)", [INFO] [stdout] 621 | | queue_name [INFO] [stdout] 622 | | ) [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/lib.rs:658:25 [INFO] [stdout] | [INFO] [stdout] 658 | / sqlx::query!( [INFO] [stdout] 659 | | "DELETE FROM message WHERE delivery_tag = $1", [INFO] [stdout] 660 | | ack.delivery_tag as i64 [INFO] [stdout] 661 | | ) [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/lib.rs:668:25 [INFO] [stdout] | [INFO] [stdout] 668 | ... sqlx::query!("UPDATE message SET consumed_at = NULL, consumed_by = NULL WHERE delivery_tag = $1", reject.delivery_tag as i64).execu... [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/lib.rs:786:5 [INFO] [stdout] | [INFO] [stdout] 786 | / sqlx::query!( [INFO] [stdout] 787 | | "UPDATE message SET consumed_by = $1, consumed_at = now() WHERE id = $2", [INFO] [stdout] 788 | | NODE_ID.deref(), [INFO] [stdout] 789 | | message.id [INFO] [stdout] 790 | | ) [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/lib.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 797 | / sqlx::query_as!(DbMessage, [INFO] [stdout] 798 | | "SELECT message.id as id, message.arguments, body, exc._name as \"exchange?\", routing_key, correlation_id, reply_to, delivery_mo... [INFO] [stdout] 799 | | , queue_name) [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/lib.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | sqlx::query!("UPDATE message SET delivery_tag = nextval('delivery_tag_seq') WHERE id = $1 RETURNING delivery_tag", message.id).fetch_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use chrono::Utc; [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: `ops::Deref` [INFO] [stdout] --> src/lib.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 33 | use std::{borrow::Cow, collections::BTreeMap, env, fmt::Write, fs, ops::Deref, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | sqlx::query!("UPDATE message SET delivery_tag = nextval('delivery_tag_seq') WHERE id = $1 RETURNING delivery_tag", message.id).fetch_one(conn).await.un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:786:5 [INFO] [stdout] | [INFO] [stdout] 786 | / sqlx::query!( [INFO] [stdout] 787 | | "UPDATE message SET consumed_by = $1, consumed_at = now() WHERE id = $2", [INFO] [stdout] 788 | | NODE_ID.deref(), [INFO] [stdout] 789 | | message.id [INFO] [stdout] 790 | | ) [INFO] [stdout] 791 | | .execute(conn) [INFO] [stdout] 792 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:619:37 [INFO] [stdout] | [INFO] [stdout] 619 | let queue = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 620 | | "SELECT COUNT(id) as count FROM message WHERE queue_id IN (SELECT id FROM queue WHERE _name = $1)", [INFO] [stdout] 621 | | queue_name [INFO] [stdout] ... | [INFO] [stdout] 624 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:658:25 [INFO] [stdout] | [INFO] [stdout] 658 | / sqlx::query!( [INFO] [stdout] 659 | | "DELETE FROM message WHERE delivery_tag = $1", [INFO] [stdout] 660 | | ack.delivery_tag as i64 [INFO] [stdout] ... | [INFO] [stdout] 663 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:668:25 [INFO] [stdout] | [INFO] [stdout] 668 | / ... sqlx::query!("UPDATE message SET consumed_at = NULL, consumed_by = NULL WHERE delivery_tag = $1", reject.delivery_tag as i64).execu... [INFO] [stdout] 669 | | ... .await [INFO] [stdout] | |____________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | / sqlx::query!("SELECT _name FROM queue") [INFO] [stdout] 198 | | .fetch_all(conn) [INFO] [stdout] 199 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | / sqlx::query!("SELECT _name FROM exchange") [INFO] [stdout] 212 | | .fetch_all(conn) [INFO] [stdout] 213 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | / sqlx::query!("SELECT routing_key, queue._name as \"q_name!\", exchange._name as \"e_name!\" FROM bind JOIN queue ON queue.id = queue_... [INFO] [stdout] 226 | | .fetch_all(conn) [INFO] [stdout] 227 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let existing_queues = sqlx::query!("SELECT id FROM queue WHERE _name = $1", &queue_name) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | let id = existing_queues.ok().map(|r| r.id); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `existing_queues` an explicit type [INFO] [stdout] | [INFO] [stdout] 237 | let existing_queues: /* Type */ = sqlx::query!("SELECT id FROM queue WHERE _name = $1", &queue_name) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | / sqlx::query!( [INFO] [stdout] 243 | | " [INFO] [stdout] 244 | | UPDATE queue SET passive = $1, durable = $2, _exclusive = $3, auto_delete = $4, _nowait = $5, arguments = $6 [INFO] [stdout] 245 | | WHERE id = $7", [INFO] [stdout] ... | [INFO] [stdout] 250 | | .execute(conn) [INFO] [stdout] 251 | | .await.unwrap(); [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | / sqlx::query!("INSERT INTO queue (id, _name, passive, durable, _exclusive, auto_delete, _nowait, arguments) VALUES(gen_random_uuid... [INFO] [stdout] 254 | | queue_name, [INFO] [stdout] 255 | | declare.passive, [INFO] [stdout] 256 | | declare.durable, [INFO] [stdout] 257 | | declare.exclusive, declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments)).execute(conn).await.unwrap(); [INFO] [stdout] | |___________________________________________________________________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | let existing_exchanges = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | let id = existing_exchanges.ok().map(|r| r.id); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `existing_exchanges` an explicit type [INFO] [stdout] | [INFO] [stdout] 264 | let existing_exchanges: /* Type */ = [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | / sqlx::query!( [INFO] [stdout] 271 | | " [INFO] [stdout] 272 | | UPDATE exchange SET passive = $1, durable = $2, auto_delete = $3, _nowait = $4, arguments = $5 [INFO] [stdout] 273 | | WHERE id = $6", [INFO] [stdout] ... | [INFO] [stdout] 278 | | .execute(conn) [INFO] [stdout] 279 | | .await.unwrap(); [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | / ... sqlx::query!("INSERT INTO exchange (id, _name, _type, passive, durable, auto_delete, _nowait, arguments) VALUES(gen_random_uuid(), ... [INFO] [stdout] 282 | | ... exchange_name, [INFO] [stdout] 283 | | ... declare.kind.to_string(), [INFO] [stdout] 284 | | ... declare.passive, [INFO] [stdout] 285 | | ... declare.durable, [INFO] [stdout] 286 | | ... declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments)).execute(conn).await.unwrap(); [INFO] [stdout] | |______________________________________________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let existing_binds = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | let id = existing_binds.ok().map(|r| r.id); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `existing_binds` an explicit type [INFO] [stdout] | [INFO] [stdout] 295 | let existing_binds: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | / sqlx::query!( [INFO] [stdout] 309 | | " [INFO] [stdout] 310 | | UPDATE bind SET _nowait = $1, arguments = $2 [INFO] [stdout] 311 | | WHERE id = $3", [INFO] [stdout] ... | [INFO] [stdout] 316 | | .execute(conn) [INFO] [stdout] 317 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | / ... sqlx::query!("INSERT INTO bind (id, queue_id, exchange_id, routing_key, _nowait, arguments) VALUES(gen_random_uuid(), (SELECT id FR... [INFO] [stdout] 321 | | ... queue_name, [INFO] [stdout] 322 | | ... exchange_name, [INFO] [stdout] 323 | | ... routing_key, [INFO] [stdout] 324 | | ... bind.nowait, [INFO] [stdout] 325 | | ... fieldtable_to_json(&bind.arguments)).execute(conn).await.unwrap(); [INFO] [stdout] | |__________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / sqlx::query!( [INFO] [stdout] 360 | | "INSERT INTO message (id, arguments, body, queue_id, recieved_at, consumed_at, consumed_by, routing_key, exchange_id, delivery_mode, _priority, correlation_id, reply_to, content_type, content_encoding) VALUES(gen_random_uuid(), $1, $2, (SELECT id from queue WHERE _nam... [INFO] [stdout] 361 | | message.headers, content, queue_name, Utc::now().naive_utc(), message.routing_key, message.delivery_mode.map(|x| x as i32), message.priority.map(|x| x as i32), message.correlation_id, message.reply_to, message.content_type, message.content_encoding).execute(conn).await.un... [INFO] [stdout] | |_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | / sqlx::query!( [INFO] [stdout] 369 | | "INSERT INTO message (id, arguments, body, queue_id, recieved_at, consumed_at, consumed_by, routing_key, exchange_id, delivery_mode, _priority, correlation_id, reply_to, content_type, content_encoding) VALUES(gen_random_uuid(), $1, $2, (SELECT id from queue WHERE _name = $3), $4, NULL,... [INFO] [stdout] 370 | | message.headers, content, queue_name, Utc::now().naive_utc(), message.routing_key, message.exchange, message.delivery_mode.map(|x| x as i32), message.priority.map(|x| x as i32), message.correlation_id, message.reply_to, message.content_type, message.content_encoding).execute(conn).await.un... [INFO] [stdout] | |_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:382:20 [INFO] [stdout] | [INFO] [stdout] 382 | let exchange = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 383 | | "SELECT id, _type FROM exchange WHERE _name = $1", [INFO] [stdout] 384 | | &exchange_name [INFO] [stdout] ... | [INFO] [stdout] 387 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | let binds = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 390 | | "SELECT bind.id as id, queue._name as queue_name, routing_key FROM bind JOIN queue ON queue.id = queue_id WHERE exchange_id = $1", [INFO] [stdout] 391 | | &exchange.id [INFO] [stdout] ... | [INFO] [stdout] 394 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cavalcade` (lib) due to 43 previous errors; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f158d5230a3dd8fd79ef75fad7b2a6eb0c13aab3c531331e9894f52e8d46b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f158d5230a3dd8fd79ef75fad7b2a6eb0c13aab3c531331e9894f52e8d46b78", kill_on_drop: false }` [INFO] [stdout] 2f158d5230a3dd8fd79ef75fad7b2a6eb0c13aab3c531331e9894f52e8d46b78