[INFO] cloning repository https://github.com/dgipps/rust-zero-to-prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dgipps/rust-zero-to-prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgipps%2Frust-zero-to-prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgipps%2Frust-zero-to-prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f605948884fe2d5f6f2a9d5e1087d888aaa8ff19 [INFO] testing dgipps/rust-zero-to-prod against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgipps%2Frust-zero-to-prod" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgipps/rust-zero-to-prod on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgipps/rust-zero-to-prod [INFO] finished tweaking git repo https://github.com/dgipps/rust-zero-to-prod [INFO] tweaked toml for git repo https://github.com/dgipps/rust-zero-to-prod written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dgipps/rust-zero-to-prod 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" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing dgipps/rust-zero-to-prod against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdgipps%2Frust-zero-to-prod" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dgipps/rust-zero-to-prod on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dgipps/rust-zero-to-prod [INFO] finished tweaking git repo https://github.com/dgipps/rust-zero-to-prod [INFO] tweaked toml for git repo https://github.com/dgipps/rust-zero-to-prod written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dgipps/rust-zero-to-prod 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-2024-03-24" "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 wiremock v0.5.17 [INFO] [stderr] Downloaded tracing-actix-web v0.7.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 517d1e8b0adfe3622c0523c13c926e7014dd8eb7a9b4d6ca1efd9c48721e1950 [INFO] running `Command { std: "docker" "start" "-a" "517d1e8b0adfe3622c0523c13c926e7014dd8eb7a9b4d6ca1efd9c48721e1950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517d1e8b0adfe3622c0523c13c926e7014dd8eb7a9b4d6ca1efd9c48721e1950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517d1e8b0adfe3622c0523c13c926e7014dd8eb7a9b4d6ca1efd9c48721e1950", kill_on_drop: false }` [INFO] [stdout] 517d1e8b0adfe3622c0523c13c926e7014dd8eb7a9b4d6ca1efd9c48721e1950 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c9f04f767f70e5ee1e87cdc64a9d3b62f250d9002887d2ed296c0f551d705e2 [INFO] running `Command { std: "docker" "start" "-a" "9c9f04f767f70e5ee1e87cdc64a9d3b62f250d9002887d2ed296c0f551d705e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling zstd-sys v2.0.7+zstd.1.5.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling zstd-safe v6.0.4+zstd.1.5.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling pest v2.5.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Compiling h2 v0.3.16 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling actix-rt v2.8.0 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling pest_meta v2.5.6 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling dotenvy v0.15.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling whoami v1.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling actix-router v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling pest_generator v2.5.6 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling uuid v1.3.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling hyper v0.14.24 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling pest_derive v2.5.6 [INFO] [stderr] Compiling actix-web-codegen v4.2.0 [INFO] [stderr] Compiling actix-server v2.2.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.6 [INFO] [stderr] Compiling config v0.13.3 [INFO] [stderr] Compiling argon2 v0.4.1 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Compiling validator v0.16.0 [INFO] [stderr] Compiling serde-aux v4.1.2 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.3.1 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling tracing-actix-web v0.7.2 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/routes/newsletters.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | let confirmed_subscribers = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 113 | | r#" [INFO] [stdout] 114 | | SELECT email [INFO] [stdout] 115 | | FROM subscriptions [INFO] [stdout] 116 | | WHERE status = 'confirmed' [INFO] [stdout] 117 | | "#, [INFO] [stdout] 118 | | ) [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: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/routes/newsletters.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | let row: Option<_> = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 172 | | r#" [INFO] [stdout] 173 | | SELECT user_id, password_hash [INFO] [stdout] 174 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 177 | | credentials.username, [INFO] [stdout] 178 | | ) [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: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/routes/subscriptions.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / sqlx::query!( [INFO] [stdout] 139 | | r#" [INFO] [stdout] 140 | | INSERT INTO subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 141 | | VALUES ($1, $2, $3, $4, 'pending_confirmation') [INFO] [stdout] ... | [INFO] [stdout] 146 | | Utc::now() [INFO] [stdout] 147 | | ) [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: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/routes/subscriptions.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / sqlx::query!( [INFO] [stdout] 163 | | r#" [INFO] [stdout] 164 | | INSERT INTO subscription_tokens (subscription_token, subscriber_id) [INFO] [stdout] 165 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 168 | | subscriber_id [INFO] [stdout] 169 | | ) [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: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query!( [INFO] [stdout] 31 | | r#"UPDATE subscriptions SET status = 'confirmed' WHERE id = $1"#, [INFO] [stdout] 32 | | subscriber_id, [INFO] [stdout] 33 | | ) [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: Cannot assign requested address (os error 99) [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 49 | | "SELECT subscriber_id FROM subscription_tokens \ [INFO] [stdout] 50 | | WHERE subscription_token = $1", [INFO] [stdout] 51 | | subscription_token, [INFO] [stdout] 52 | | ) [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/routes/subscriptions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/routes/subscriptions.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/routes/subscriptions.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/277d06bc95c6c38a2337ccde798b2c709384bd84/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/routes/newsletters.rs:184:10 [INFO] [stdout] | [INFO] [stdout] 184 | let (expected_password_hash, user_id) = match row { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` (lib) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9c9f04f767f70e5ee1e87cdc64a9d3b62f250d9002887d2ed296c0f551d705e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9f04f767f70e5ee1e87cdc64a9d3b62f250d9002887d2ed296c0f551d705e2", kill_on_drop: false }` [INFO] [stdout] 9c9f04f767f70e5ee1e87cdc64a9d3b62f250d9002887d2ed296c0f551d705e2