[INFO] cloning repository https://github.com/adwd/realworld-axum-sqlx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adwd/realworld-axum-sqlx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadwd%2Frealworld-axum-sqlx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadwd%2Frealworld-axum-sqlx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4de32c89aafb5167125591766b7119c019e26a3a
[INFO] documenting adwd/realworld-axum-sqlx against 1.75.0 for beta-1.76-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadwd%2Frealworld-axum-sqlx" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/adwd/realworld-axum-sqlx on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/adwd/realworld-axum-sqlx
[INFO] finished tweaking git repo https://github.com/adwd/realworld-axum-sqlx
[INFO] tweaked toml for git repo https://github.com/adwd/realworld-axum-sqlx written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/adwd/realworld-axum-sqlx 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.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 273b8c8a62a7a8e92c0a7f6a1022d51865b29db02aa8c7f64d961b8014c5684b
[INFO] running `Command { std: "docker" "start" "-a" "273b8c8a62a7a8e92c0a7f6a1022d51865b29db02aa8c7f64d961b8014c5684b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "273b8c8a62a7a8e92c0a7f6a1022d51865b29db02aa8c7f64d961b8014c5684b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "273b8c8a62a7a8e92c0a7f6a1022d51865b29db02aa8c7f64d961b8014c5684b", kill_on_drop: false }`
[INFO] [stdout] 273b8c8a62a7a8e92c0a7f6a1022d51865b29db02aa8c7f64d961b8014c5684b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b942fa01570708be67fde029f7ab566d82eebedbd494c5ef6a6038cfaf32209
[INFO] running `Command { std: "docker" "start" "-a" "5b942fa01570708be67fde029f7ab566d82eebedbd494c5ef6a6038cfaf32209", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling serde_derive v1.0.179
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling serde v1.0.179
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling syn v2.0.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling thiserror v1.0.44
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling time-macros v0.2.11
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling rustversion v1.0.11
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling deranged v0.3.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]    Compiling io-lifetimes v1.0.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling crc-catalog v2.1.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling sqlformat v0.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.11
[INFO] [stderr]    Compiling crc v3.0.0
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling time v0.3.24
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling dotenvy v0.15.6
[INFO] [stderr]    Compiling uuid v1.4.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rustix v0.36.5
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]    Compiling sqlx-core v0.7.1
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling whoami v1.2.3
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling async-trait v0.1.72
[INFO] [stderr]     Checking indexmap v2.0.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]    Compiling sqlx-postgres v0.7.1
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]     Checking anstyle v1.0.1
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking anstream v0.3.2
[INFO] [stderr]     Checking terminal_size v0.2.3
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling axum v0.6.19
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking clap_lex v0.5.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking base64ct v1.5.3
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking clap_builder v4.3.19
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]    Compiling clap_derive v4.3.12
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]    Compiling axum-macros v0.3.8
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.9
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking sync_wrapper v0.1.1
[INFO] [stderr]     Checking matchit v0.7.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking http-range-header v0.3.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking jwt v0.16.0
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]     Checking tower-http v0.4.3
[INFO] [stderr]     Checking argon2 v0.4.1
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking clap v4.3.19
[INFO] [stderr]    Compiling sqlx-macros v0.7.1
[INFO] [stderr]     Checking sqlx v0.7.1
[INFO] [stderr]  Documenting realworld-axum-sqlx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]   --> src/http/articles/comments.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let article_id = sqlx::query_scalar!("select article_id from article where slug = $1", slug)
[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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/comments.rs:92:20
[INFO] [stdout]     |
[INFO] [stdout] 92  |       let comments = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 93  | |         CommentFromQuery,
[INFO] [stdout] 94  | |         r#"
[INFO] [stdout] 95  | |             select
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |         article_id
[INFO] [stdout] 111 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/comments.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 127 |       let comment = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 128 | |         CommentFromQuery,
[INFO] [stdout] 129 | |         r#"
[INFO] [stdout] 130 | |             with inserted_comment as (
[INFO] [stdout] ...   |
[INFO] [stdout] 151 | |         slug
[INFO] [stdout] 152 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/comments.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 171 | |         r#"
[INFO] [stdout] 172 | |             with deleted_comment as (
[INFO] [stdout] 173 | |                 delete from article_comment
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |         auth_user.user_id
[INFO] [stdout] 191 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/listing.rs:85:28
[INFO] [stdout]     |
[INFO] [stdout] 85  |       let articles: Vec<_> = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 86  | |         ArticleFromQuery,
[INFO] [stdout] 87  | |         // language=PostgreSQL
[INFO] [stdout] 88  | |         r#"
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |         query.offset.unwrap_or(0)
[INFO] [stdout] 140 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/listing.rs:163:28
[INFO] [stdout]     |
[INFO] [stdout] 163 |       let articles: Vec<_> = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 164 | |         ArticleFromQuery,
[INFO] [stdout] 165 | |         // As a rule of thumb, you always want the most specific dataset to be your outermost
[INFO] [stdout] 166 | |         // `SELECT` so the query planner does as little extraneous work as possible, and then
[INFO] [stdout] ...   |
[INFO] [stdout] 205 | |         query.offset.unwrap_or(0)
[INFO] [stdout] 206 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |       let article = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 154 | |         ArticleFromQuery,
[INFO] [stdout] 155 | |         // language=PostgreSQL
[INFO] [stdout] 156 | |         r#"
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |         &req.article.tag_list[..]
[INFO] [stdout] 191 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:214:24
[INFO] [stdout]     |
[INFO] [stdout] 214 |       let article_meta = sqlx::query!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 215 | |         // This locks the `article` row for the duration of the transaction so we're
[INFO] [stdout] 216 | |         // not interleaving this with other possible updates.
[INFO] [stdout] 217 | |         "select article_id, user_id from article where slug = $1 for update",
[INFO] [stdout] 218 | |         slug
[INFO] [stdout] 219 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:237:19
[INFO] [stdout]     |
[INFO] [stdout] 237 |       let article = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 238 | |         ArticleFromQuery,
[INFO] [stdout] 239 | |         // language=PostgreSQL
[INFO] [stdout] 240 | |         r#"
[INFO] [stdout] ...   |
[INFO] [stdout] 281 | |         auth_user.user_id
[INFO] [stdout] 282 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:305:18
[INFO] [stdout]     |
[INFO] [stdout] 305 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 306 | |         // I like to use raw strings for most queries mainly because CLion doesn't try
[INFO] [stdout] 307 | |         // to escape newlines.
[INFO] [stdout] 308 | |         // language=PostgreSQL
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         auth_user.user_id
[INFO] [stdout] 332 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:356:19
[INFO] [stdout]     |
[INFO] [stdout] 356 |       let article = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 357 | |         ArticleFromQuery,
[INFO] [stdout] 358 | |         // language=PostgreSQL
[INFO] [stdout] 359 | |         r#"
[INFO] [stdout] ...   |
[INFO] [stdout] 384 | |         slug
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:408:22
[INFO] [stdout]     |
[INFO] [stdout] 408 |       let article_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 409 | |         r#"
[INFO] [stdout] 410 | |             with selected_article as (
[INFO] [stdout] 411 | |                 select article_id from article where slug = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 423 | |         auth_user.user_id
[INFO] [stdout] 424 | |     )
[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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:445:22
[INFO] [stdout]     |
[INFO] [stdout] 445 |       let article_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 446 | |         r#"
[INFO] [stdout] 447 | |             with selected_article as (
[INFO] [stdout] 448 | |                 select article_id from article where slug = $1
[INFO] [stdout] ...   |
[INFO] [stdout] 458 | |         auth_user.user_id
[INFO] [stdout] 459 | |     )
[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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:481:16
[INFO] [stdout]     |
[INFO] [stdout] 481 |       let tags = sqlx::query_scalar!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 482 | |         r#"
[INFO] [stdout] 483 | |             select distinct tag "tag!"
[INFO] [stdout] 484 | |             from article, unnest (article.tag_list) tags(tag)
[INFO] [stdout] 485 | |             order by tag
[INFO] [stdout] 486 | |         "#
[INFO] [stdout] 487 | |     )
[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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/articles/mod.rs:506:19
[INFO] [stdout]     |
[INFO] [stdout] 506 |       let article = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 507 | |         ArticleFromQuery,
[INFO] [stdout] 508 | |         // language=PostgreSQL
[INFO] [stdout] 509 | |         r#"
[INFO] [stdout] ...   |
[INFO] [stdout] 534 | |         article_id
[INFO] [stdout] 535 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]   --> src/http/profiles.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |       let profile = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 52 | |         Profile,
[INFO] [stdout] 53 | |         r#"
[INFO] [stdout] 54 | |             select
[INFO] [stdout] ...  |
[INFO] [stdout] 66 | |         maybe_auth_user.user_id()
[INFO] [stdout] 67 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/profiles.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 104 | |         r#"select user_id, username, bio, image from "user" where username = $1"#,
[INFO] [stdout] 105 | |         username
[INFO] [stdout] 106 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/profiles.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | /     sqlx::query!(
[INFO] [stdout] 112 | |         "insert into follow(following_user_id, followed_user_id) values ($1, $2) \
[INFO] [stdout] 113 | |          on conflict do nothing", // If the row already exists, we don't need to do anything.
[INFO] [stdout] 114 | |         auth_user.user_id,
[INFO] [stdout] 115 | |         user.user_id
[INFO] [stdout] 116 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/profiles.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 147 | |         r#"select user_id, username, bio, image from "user" where username = $1"#,
[INFO] [stdout] 148 | |         username
[INFO] [stdout] 149 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/profiles.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 | /     sqlx::query!(
[INFO] [stdout] 155 | |         "delete from follow where following_user_id = $1 and followed_user_id = $2",
[INFO] [stdout] 156 | |         auth_user.user_id,
[INFO] [stdout] 157 | |         user.user_id
[INFO] [stdout] 158 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]   --> src/http/users.rs:71:19
[INFO] [stdout]    |
[INFO] [stdout] 71 |       let user_id = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 72 | |         // language=PostgreSQL
[INFO] [stdout] 73 | |         r#"insert into "user" (username, email, password_hash) values ($1, $2, $3) returning user_id"#,
[INFO] [stdout] 74 | |         req.user.username,
[INFO] [stdout] 75 | |         req.user.email,
[INFO] [stdout] 76 | |         password_hash
[INFO] [stdout] 77 | |     )
[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_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/users.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 104 | |         r#"
[INFO] [stdout] 105 | |             select user_id, email, username, bio, image, password_hash 
[INFO] [stdout] 106 | |             from "user" where email = $1
[INFO] [stdout] 107 | |         "#,
[INFO] [stdout] 108 | |         req.user.email,
[INFO] [stdout] 109 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/users.rs:135:16
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 136 | |         r#"select email, username, bio, image from "user" where user_id = $1"#,
[INFO] [stdout] 137 | |         auth_user.user_id
[INFO] [stdout] 138 | |     )
[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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and .sqlx must exist, to use query macros
[INFO] [stdout]    --> src/http/users.rs:178:16
[INFO] [stdout]     |
[INFO] [stdout] 178 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 179 | |         // This is how we do optional updates of fields without needing a separate query for each.
[INFO] [stdout] 180 | |         // language=PostgreSQL
[INFO] [stdout] 181 | |         r#"
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |         auth_user.user_id
[INFO] [stdout] 197 | |     )
[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: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `realworld-axum-sqlx`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name realworld_axum_sqlx src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=bd09b9602ee8b5ac -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-999548557896fa19.rmeta --extern argon2=/opt/rustwide/target/debug/deps/libargon2-8892a7040c5af434.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-6d553c8a51a9832f.so --extern axum=/opt/rustwide/target/debug/deps/libaxum-86fad46b01c6a701.rmeta --extern axum_macros=/opt/rustwide/target/debug/deps/libaxum_macros-03259a3f064de2d3.so --extern clap=/opt/rustwide/target/debug/deps/libclap-dff87986d9b55cf1.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-5c7b155fb9ea380a.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-59f3e6126bf9289f.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-8310fea79977b2dc.rmeta --extern hmac=/opt/rustwide/target/debug/deps/libhmac-a731881dd1e05c7f.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-33afb952566763ba.rmeta --extern jwt=/opt/rustwide/target/debug/deps/libjwt-37c2d2f1da3c7326.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-e31d57e8ecf90e98.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-3fc353e7966c1555.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-e57fa35668cf292d.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-474cabe42643c021.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-38f8f2767eaa3f8f.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-d41e10e72f48a835.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-29c4a05922836def.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-23156102d5eda63e.rmeta --extern tower=/opt/rustwide/target/debug/deps/libtower-034575801b13983e.rmeta --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-0c2b997675bdf921.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-c3cc242ac0f0ab42.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "5b942fa01570708be67fde029f7ab566d82eebedbd494c5ef6a6038cfaf32209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b942fa01570708be67fde029f7ab566d82eebedbd494c5ef6a6038cfaf32209", kill_on_drop: false }`
[INFO] [stdout] 5b942fa01570708be67fde029f7ab566d82eebedbd494c5ef6a6038cfaf32209
