[INFO] cloning repository https://github.com/MadMed677/zero2prod-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MadMed677/zero2prod-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadMed677%2Fzero2prod-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadMed677%2Fzero2prod-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9973fbaa12476e91c8ac158c44ead072faa1f230 [INFO] documenting MadMed677/zero2prod-rs against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadMed677%2Fzero2prod-rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MadMed677/zero2prod-rs on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MadMed677/zero2prod-rs [INFO] finished tweaking git repo https://github.com/MadMed677/zero2prod-rs [INFO] tweaked toml for git repo https://github.com/MadMed677/zero2prod-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/MadMed677/zero2prod-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-server v2.0.0-rc.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.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] a4aa5b41c361f0e83ee897a0be32d19145342ef65a25e803ca595fcccf269c42 [INFO] running `Command { std: "docker" "start" "-a" "a4aa5b41c361f0e83ee897a0be32d19145342ef65a25e803ca595fcccf269c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4aa5b41c361f0e83ee897a0be32d19145342ef65a25e803ca595fcccf269c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4aa5b41c361f0e83ee897a0be32d19145342ef65a25e803ca595fcccf269c42", kill_on_drop: false }` [INFO] [stdout] a4aa5b41c361f0e83ee897a0be32d19145342ef65a25e803ca595fcccf269c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e131173b6a35650a6867599e157c80c6eed18ae876319a49bdf257709d660dbe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e131173b6a35650a6867599e157c80c6eed18ae876319a49bdf257709d660dbe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking gethostname v0.2.2 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking cookie v0.16.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tracing-subscriber v0.3.6 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking actix-server v2.0.0-rc.4 [INFO] [stderr] Checking actix-codec v0.4.2 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking actix-router v0.5.0-beta.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking sqlx-core v0.5.10 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.2 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-rc.1 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking actix-http v3.0.0-beta.18 [INFO] [stderr] Checking actix-web v4.0.0-beta.19 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Checking sqlx v0.5.10 [INFO] [stderr] Documenting zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes/subscriptions.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 28 | | r#" [INFO] [stdout] 29 | | insert into subscriptions (id, email, name, subscribed_at) [INFO] [stdout] 30 | | values ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 35 | | Utc::now(), [INFO] [stdout] 36 | | ) [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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `zero2prod` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name zero2prod src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=80586f9d7abd5bef -L dependency=/opt/rustwide/target/debug/deps --extern actix_http=/opt/rustwide/target/debug/deps/libactix_http-bcd2f493750d7916.rmeta --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-f904896d33c1787f.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-5da701aa80b001ce.rmeta --extern config=/opt/rustwide/target/debug/deps/libconfig-53de32f24c022017.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-14da24a035753a0f.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-c547f09b35ebfab1.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-6ff4ca984dc4ae72.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-d8b3afc00289482e.rmeta --extern tracing_bunyan_formatter=/opt/rustwide/target/debug/deps/libtracing_bunyan_formatter-4051dda9c8330f3b.rmeta --extern tracing_log=/opt/rustwide/target/debug/deps/libtracing_log-7a0c9f53a016f7aa.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-21d4e62cd4a35444.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-84212bcc0d8c3694.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "e131173b6a35650a6867599e157c80c6eed18ae876319a49bdf257709d660dbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e131173b6a35650a6867599e157c80c6eed18ae876319a49bdf257709d660dbe", kill_on_drop: false }` [INFO] [stdout] e131173b6a35650a6867599e157c80c6eed18ae876319a49bdf257709d660dbe