[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] 478725016b53b1edc9857495766a6324e8704ad4 [INFO] testing palfrey/cavalcade against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalfrey%2Fcavalcade" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palfrey/cavalcade on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/palfrey/cavalcade already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded amq-protocol-tcp v6.1.0 [INFO] [stderr] Downloaded amq-protocol-types v6.1.0 [INFO] [stderr] Downloaded pinky-swear v4.4.0 [INFO] [stderr] Downloaded rustls-connector v0.13.1 [INFO] [stderr] Downloaded ordered-float v2.9.0 [INFO] [stderr] Downloaded celery-codegen v0.4.0-rcn.11 [INFO] [stderr] Downloaded rc2 v0.7.0 [INFO] [stderr] Downloaded amq-protocol v6.1.0 [INFO] [stderr] Downloaded amq-protocol-uri v6.1.0 [INFO] [stderr] Downloaded redis v0.21.4 [INFO] [stderr] Downloaded clap v3.0.7 [INFO] [stderr] Downloaded tcp-stream v0.20.9 [INFO] [stderr] Downloaded des v0.7.0 [INFO] [stderr] Downloaded p12 v0.4.0 [INFO] [stderr] Downloaded celery v0.4.0-rcn.11 [INFO] [stderr] Downloaded sqlx-core v0.5.10 [INFO] [stderr] Downloaded lapin v1.9.0 [INFO] [stderr] Downloaded tokio-amqp v1.0.0 [INFO] [stderr] Downloaded sqlx-rt v0.5.10 [INFO] [stderr] Downloaded sqlx-macros v0.5.10 [INFO] [stderr] Downloaded sqlx v0.5.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e2e38ede27bfdccf155eae2ede2f56115c07470e8ef86b3d45f8c592095a24a [INFO] running `Command { std: "docker" "start" "-a" "4e2e38ede27bfdccf155eae2ede2f56115c07470e8ef86b3d45f8c592095a24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2e38ede27bfdccf155eae2ede2f56115c07470e8ef86b3d45f8c592095a24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2e38ede27bfdccf155eae2ede2f56115c07470e8ef86b3d45f8c592095a24a", kill_on_drop: false }` [INFO] [stdout] 4e2e38ede27bfdccf155eae2ede2f56115c07470e8ef86b3d45f8c592095a24a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ead117647f15d6849b89c29852ff787c07052b2fe1114f83b03c548ddd0656cb [INFO] running `Command { std: "docker" "start" "-a" "ead117647f15d6849b89c29852ff787c07052b2fe1114f83b03c548ddd0656cb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling amq-protocol v6.1.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling ordered-float v2.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling amq-protocol-uri v6.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling rc2 v0.7.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling p12 v0.4.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling clap v3.0.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling amq-protocol-types v6.1.0 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling rustls-connector v0.13.1 [INFO] [stderr] Compiling tcp-stream v0.20.9 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling amq-protocol-tcp v6.1.0 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling cavalcade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | sqlx::query!("SELECT _name FROM exchange") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | / sqlx::query!( [INFO] [stdout] 249 | | " [INFO] [stdout] 250 | | UPDATE queue SET passive = $1, durable = $2, _exclusive = $3, auto_delete = $4, _nowait = $5, arguments = $6 [INFO] [stdout] 251 | | WHERE id = $7", [INFO] [stdout] ... | [INFO] [stdout] 254 | | declare.exclusive, declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments), id.unwrap() [INFO] [stdout] 255 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | / ... sqlx::query!("INSERT INTO queue (id, _name, passive, durable, _exclusive, auto_delete, _nowait, arguments) VALUES(gen_random_uuid()... [INFO] [stdout] 260 | | ... queue_name, [INFO] [stdout] 261 | | ... declare.passive, [INFO] [stdout] 262 | | ... declare.durable, [INFO] [stdout] 263 | | ... 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / sqlx::query!( [INFO] [stdout] 277 | | " [INFO] [stdout] 278 | | UPDATE exchange SET passive = $1, durable = $2, auto_delete = $3, _nowait = $4, arguments = $5 [INFO] [stdout] 279 | | WHERE id = $6", [INFO] [stdout] ... | [INFO] [stdout] 282 | | declare.auto_delete, declare.nowait, fieldtable_to_json(&declare.arguments), id.unwrap() [INFO] [stdout] 283 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | / ... sqlx::query!("INSERT INTO exchange (id, _name, _type, passive, durable, auto_delete, _nowait, arguments) VALUES(gen_random_uuid(), ... [INFO] [stdout] 288 | | ... exchange_name, [INFO] [stdout] 289 | | ... declare.kind.to_string(), [INFO] [stdout] 290 | | ... declare.passive, [INFO] [stdout] 291 | | ... declare.durable, [INFO] [stdout] 292 | | ... 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let existing_binds = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 302 | | "SELECT id FROM bind WHERE [INFO] [stdout] 303 | | queue_id IN (SELECT id FROM queue where _name = $1) AND [INFO] [stdout] 304 | | exchange_id IN (SELECT id from exchange where _name = $2) AND [INFO] [stdout] ... | [INFO] [stdout] 308 | | &routing_key [INFO] [stdout] 309 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | / sqlx::query!( [INFO] [stdout] 315 | | " [INFO] [stdout] 316 | | UPDATE bind SET _nowait = $1, arguments = $2 [INFO] [stdout] 317 | | WHERE id = $3", [INFO] [stdout] ... | [INFO] [stdout] 320 | | id.unwrap() [INFO] [stdout] 321 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | / ... sqlx::query!("INSERT INTO bind (id, queue_id, exchange_id, routing_key, _nowait, arguments) VALUES(gen_random_uuid(), (SELECT id FR... [INFO] [stdout] 327 | | ... queue_name, [INFO] [stdout] 328 | | ... exchange_name, [INFO] [stdout] 329 | | ... routing_key, [INFO] [stdout] 330 | | ... bind.nowait, [INFO] [stdout] 331 | | ... 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | / sqlx::query!( [INFO] [stdout] 366 | | "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] 367 | | 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | / sqlx::query!( [INFO] [stdout] 375 | | "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] 376 | | 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:388:20 [INFO] [stdout] | [INFO] [stdout] 388 | let exchange = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 389 | | "SELECT id, _type FROM exchange WHERE _name = $1", [INFO] [stdout] 390 | | &exchange_name [INFO] [stdout] 391 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:395:17 [INFO] [stdout] | [INFO] [stdout] 395 | let binds = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 396 | | "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] 397 | | &exchange.id [INFO] [stdout] 398 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:625:37 [INFO] [stdout] | [INFO] [stdout] 625 | let queue = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 626 | | "SELECT COUNT(id) as count FROM message WHERE queue_id IN (SELECT id FROM queue WHERE _name = $1)", [INFO] [stdout] 627 | | queue_name [INFO] [stdout] 628 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:664:25 [INFO] [stdout] | [INFO] [stdout] 664 | / sqlx::query!( [INFO] [stdout] 665 | | "DELETE FROM message WHERE delivery_tag = $1", [INFO] [stdout] 666 | | ack.delivery_tag as i64 [INFO] [stdout] 667 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:674:25 [INFO] [stdout] | [INFO] [stdout] 674 | ... 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:793:5 [INFO] [stdout] | [INFO] [stdout] 793 | / sqlx::query!( [INFO] [stdout] 794 | | "UPDATE message SET consumed_by = $1, consumed_at = now() WHERE id = $2", [INFO] [stdout] 795 | | NODE_ID.deref(), [INFO] [stdout] 796 | | message.id [INFO] [stdout] 797 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | / sqlx::query_as!(DbMessage, [INFO] [stdout] 805 | | "SELECT message.id as id, message.arguments, body, exc._name as \"exchange?\", routing_key, correlation_id, reply_to, delivery_mo... [INFO] [stdout] 806 | | , queue_name) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/lib.rs:812:5 [INFO] [stdout] | [INFO] [stdout] 812 | 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` (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)]` 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: aborting due to 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cavalcade` due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ead117647f15d6849b89c29852ff787c07052b2fe1114f83b03c548ddd0656cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead117647f15d6849b89c29852ff787c07052b2fe1114f83b03c548ddd0656cb", kill_on_drop: false }` [INFO] [stdout] ead117647f15d6849b89c29852ff787c07052b2fe1114f83b03c548ddd0656cb