[INFO] cloning repository https://github.com/mthom26/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/mthom26/zero-to-prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthom26%2Fzero-to-prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthom26%2Fzero-to-prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 060623ae0a8301585fa8e524fd5866a2feab4423 [INFO] documenting mthom26/zero-to-prod against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthom26%2Fzero-to-prod" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mthom26/zero-to-prod on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mthom26/zero-to-prod [INFO] finished tweaking git repo https://github.com/mthom26/zero-to-prod [INFO] tweaked toml for git repo https://github.com/mthom26/zero-to-prod written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/mthom26/zero-to-prod already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0b7fda2601109dcd1dc41a0d3e90d42dd887a2e25ec30d270b1b1ca7e9c378a [INFO] running `Command { std: "docker" "start" "-a" "c0b7fda2601109dcd1dc41a0d3e90d42dd887a2e25ec30d270b1b1ca7e9c378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0b7fda2601109dcd1dc41a0d3e90d42dd887a2e25ec30d270b1b1ca7e9c378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b7fda2601109dcd1dc41a0d3e90d42dd887a2e25ec30d270b1b1ca7e9c378a", kill_on_drop: false }` [INFO] [stdout] c0b7fda2601109dcd1dc41a0d3e90d42dd887a2e25ec30d270b1b1ca7e9c378a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 848f6413a7506be5bb9145f82a50f6f5376bcda4850f04d4e5f0855ecfed002e [INFO] running `Command { std: "docker" "start" "-a" "848f6413a7506be5bb9145f82a50f6f5376bcda4850f04d4e5f0855ecfed002e", 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] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking hkdf v0.12.3 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking axum-core v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking sqlx-core v0.5.13 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking axum v0.5.3 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Documenting zero-to-prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/routes/subscriptions.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 11 | | r#" [INFO] [stdout] 12 | | INSERT INTO subscriptions (id, email, name, subscribed_at) [INFO] [stdout] 13 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 18 | | Utc::now() [INFO] [stdout] 19 | | ) [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 `zero-to-prod` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name zero_to_prod src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=b28a71a3b1183713 -L dependency=/opt/rustwide/target/debug/deps --extern axum=/opt/rustwide/target/debug/deps/libaxum-30193e72a0cb42e3.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-526ec80fadcd8827.rmeta --extern config=/opt/rustwide/target/debug/deps/libconfig-ddfe4db4a5a4b114.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-86df6e26736481be.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-d23723d092bf23a9.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-4b1f13329e0c5e2d.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-58a0b21c32891b6f.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "848f6413a7506be5bb9145f82a50f6f5376bcda4850f04d4e5f0855ecfed002e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848f6413a7506be5bb9145f82a50f6f5376bcda4850f04d4e5f0855ecfed002e", kill_on_drop: false }` [INFO] [stdout] 848f6413a7506be5bb9145f82a50f6f5376bcda4850f04d4e5f0855ecfed002e