[INFO] cloning repository https://github.com/konieshadow/axum-sqlx-mysql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/konieshadow/axum-sqlx-mysql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonieshadow%2Faxum-sqlx-mysql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonieshadow%2Faxum-sqlx-mysql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe5b885b920d38bd7b81be2f8a50b3fd809a0947 [INFO] documenting konieshadow/axum-sqlx-mysql against 1.76.0 for beta-1.77-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonieshadow%2Faxum-sqlx-mysql" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/konieshadow/axum-sqlx-mysql on toolchain 1.76.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/konieshadow/axum-sqlx-mysql [INFO] finished tweaking git repo https://github.com/konieshadow/axum-sqlx-mysql [INFO] tweaked toml for git repo https://github.com/konieshadow/axum-sqlx-mysql written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/konieshadow/axum-sqlx-mysql 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.76.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] documenting konieshadow/axum-sqlx-mysql against beta-2024-02-10 for beta-1.77-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonieshadow%2Faxum-sqlx-mysql" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/konieshadow/axum-sqlx-mysql on toolchain beta-2024-02-10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/konieshadow/axum-sqlx-mysql [INFO] finished tweaking git repo https://github.com/konieshadow/axum-sqlx-mysql [INFO] tweaked toml for git repo https://github.com/konieshadow/axum-sqlx-mysql written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/konieshadow/axum-sqlx-mysql 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-02-10" "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 [ERROR] error running command: no output for 300 seconds [INFO] documenting konieshadow/axum-sqlx-mysql against beta-2024-02-10 for beta-1.77-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkonieshadow%2Faxum-sqlx-mysql" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/konieshadow/axum-sqlx-mysql on toolchain beta-2024-02-10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/konieshadow/axum-sqlx-mysql [INFO] finished tweaking git repo https://github.com/konieshadow/axum-sqlx-mysql [INFO] tweaked toml for git repo https://github.com/konieshadow/axum-sqlx-mysql written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/konieshadow/axum-sqlx-mysql 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-02-10" "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 jwt v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7870d8aadb16b442913c0e533a5b7c1f837cb269ad1cd5e9b6a0d535dc743ae7 [INFO] running `Command { std: "docker" "start" "-a" "7870d8aadb16b442913c0e533a5b7c1f837cb269ad1cd5e9b6a0d535dc743ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7870d8aadb16b442913c0e533a5b7c1f837cb269ad1cd5e9b6a0d535dc743ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7870d8aadb16b442913c0e533a5b7c1f837cb269ad1cd5e9b6a0d535dc743ae7", kill_on_drop: false }` [INFO] [stdout] 7870d8aadb16b442913c0e533a5b7c1f837cb269ad1cd5e9b6a0d535dc743ae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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-02-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dc48e547f4b380336bf6db691ce9212fe48eba28a27e5bbad1333db54ce31f3 [INFO] running `Command { std: "docker" "start" "-a" "9dc48e547f4b380336bf6db691ce9212fe48eba28a27e5bbad1333db54ce31f3", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Checking pkcs1 v0.3.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking blake2 v0.10.4 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking argon2 v0.3.4 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tokio-stream v0.1.10 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking env_logger v0.9.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking tower-http v0.1.3 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking jwt v0.15.0 [INFO] [stderr] Checking axum v0.3.4 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking sqlx-core v0.5.13 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Documenting axum-sqlx-mysql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to find data for query [INFO] [stdout] insert into user (user_id, username, email, password_hash) values (?, ?, ?, ?) [INFO] [stdout] [INFO] [stdout] --> src/http/users.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query!( [INFO] [stdout] 62 | | r#" [INFO] [stdout] 63 | | insert into user (user_id, username, email, password_hash) values (?, ?, ?, ?) [INFO] [stdout] 64 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 68 | | password_hash, [INFO] [stdout] 69 | | ).execute(&ctx.db) [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: failed to find data for query [INFO] [stdout] select user_id, email, username, bio, image, password_hash [INFO] [stdout] from user where email = ? [INFO] [stdout] [INFO] [stdout] --> src/http/users.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 94 | | r#" [INFO] [stdout] 95 | | select user_id, email, username, bio, image, password_hash [INFO] [stdout] 96 | | from user where email = ? [INFO] [stdout] 97 | | "#, [INFO] [stdout] 98 | | req.user.email, [INFO] [stdout] 99 | | ) [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: failed to find data for query [INFO] [stdout] update user [INFO] [stdout] set email = coalesce(?, user.email), [INFO] [stdout] username = coalesce(?, user.username), [INFO] [stdout] password_hash = coalesce(?, user.password_hash), [INFO] [stdout] bio = coalesce(?, user.bio), [INFO] [stdout] image = coalesce(?, user.image) [INFO] [stdout] where user_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/users.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | / sqlx::query!( [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | update user [INFO] [stdout] 140 | | set email = coalesce(?, user.email), [INFO] [stdout] ... | [INFO] [stdout] 152 | | auth_user.user_id.to_string() [INFO] [stdout] 153 | | ) [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: failed to find data for query [INFO] [stdout] select email, username, bio, image from user where user_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/users.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 164 | | r#" [INFO] [stdout] 165 | | select email, username, bio, image from user where user_id = ? [INFO] [stdout] 166 | | "#, [INFO] [stdout] 167 | | auth_user.user_id.to_string() [INFO] [stdout] 168 | | ) [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: failed to find data for query [INFO] [stdout] select email, username, bio, image from user where user_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/users.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 190 | | r#" [INFO] [stdout] 191 | | select email, username, bio, image from user where user_id = ? [INFO] [stdout] 192 | | "#, [INFO] [stdout] 193 | | auth_user.user_id.to_string() [INFO] [stdout] 194 | | ) [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: failed to find data for query [INFO] [stdout] select username, bio, image, exists( [INFO] [stdout] select 1 from follow where followed_user_id = user.user_id and following_user_id = ? [INFO] [stdout] ) `following!:_` [INFO] [stdout] from user [INFO] [stdout] where username = ? [INFO] [stdout] [INFO] [stdout] --> src/http/profiles.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | let profile = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 34 | | Profile, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | select username, bio, image, exists( [INFO] [stdout] ... | [INFO] [stdout] 43 | | username, [INFO] [stdout] 44 | | ) [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: failed to find data for query [INFO] [stdout] select user_id, username, bio, image from user where username = ? [INFO] [stdout] [INFO] [stdout] --> src/http/profiles.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 60 | | r#" [INFO] [stdout] 61 | | select user_id, username, bio, image from user where username = ? [INFO] [stdout] 62 | | "#, [INFO] [stdout] 63 | | username [INFO] [stdout] 64 | | ) [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: failed to find data for query [INFO] [stdout] insert ignore into follow(following_user_id, followed_user_id) values (?, ?) [INFO] [stdout] [INFO] [stdout] --> src/http/profiles.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!( [INFO] [stdout] 74 | | r#" [INFO] [stdout] 75 | | insert ignore into follow(following_user_id, followed_user_id) values (?, ?) [INFO] [stdout] 76 | | "#, [INFO] [stdout] 77 | | auth_user.user_id.to_string(), [INFO] [stdout] 78 | | user.user_id [INFO] [stdout] 79 | | ) [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: failed to find data for query [INFO] [stdout] select user_id, username, bio, image from user where username = ? [INFO] [stdout] [INFO] [stdout] --> src/http/profiles.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let user = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | select user_id, username, bio, image from user where username = ? [INFO] [stdout] 105 | | "#, [INFO] [stdout] 106 | | username [INFO] [stdout] 107 | | ) [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: failed to find data for query [INFO] [stdout] delete from follow where following_user_id = ? and followed_user_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/profiles.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / sqlx::query!( [INFO] [stdout] 113 | | r#" [INFO] [stdout] 114 | | delete from follow where following_user_id = ? and followed_user_id = ? [INFO] [stdout] 115 | | "#, [INFO] [stdout] 116 | | auth_user.user_id.to_string(), [INFO] [stdout] 117 | | user.user_id.to_string() [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: failed to find data for query [INFO] [stdout] select article_id from article where slug = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let article_id = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 78 | | r#" [INFO] [stdout] 79 | | select article_id from article where slug = ? [INFO] [stdout] 80 | | "#, [INFO] [stdout] 81 | | slug [INFO] [stdout] 82 | | ) [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: failed to find data for query [INFO] [stdout] select [INFO] [stdout] comment.comment_id, [INFO] [stdout] comment.created_at, [INFO] [stdout] comment.updated_at, [INFO] [stdout] comment.body, [INFO] [stdout] author.username author_username, [INFO] [stdout] author.bio author_bio, [INFO] [stdout] author.image author_image, [INFO] [stdout] exists( [INFO] [stdout] select 1 from follow where followed_user_id = author.user_id and following_user_id = ? [INFO] [stdout] ) `following_author!:_` [INFO] [stdout] from article_comment comment [INFO] [stdout] inner join user author on author.user_id = comment.user_id [INFO] [stdout] where article_id = ? [INFO] [stdout] order by created_at [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let comments: Vec<_> = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 88 | | CommentFromQuery, [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | select [INFO] [stdout] ... | [INFO] [stdout] 107 | | article_id [INFO] [stdout] 108 | | ) [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: failed to find data for query [INFO] [stdout] select article_id from article where slug = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let article_id = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 126 | | r#" [INFO] [stdout] 127 | | select article_id from article where slug = ? [INFO] [stdout] 128 | | "#, [INFO] [stdout] 129 | | slug [INFO] [stdout] 130 | | ) [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: failed to find data for query [INFO] [stdout] insert into article_comment(article_id, user_id, body) values (?, ?, ?) [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | let insert_comment_result = sqlx::query_scalar!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 136 | | r#" [INFO] [stdout] 137 | | insert into article_comment(article_id, user_id, body) values (?, ?, ?) [INFO] [stdout] 138 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 141 | | req.comment.body [INFO] [stdout] 142 | | ) [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: failed to find data for query [INFO] [stdout] select [INFO] [stdout] comment.comment_id, [INFO] [stdout] comment.created_at, [INFO] [stdout] comment.updated_at, [INFO] [stdout] comment.body, [INFO] [stdout] author.username author_username, [INFO] [stdout] author.bio author_bio, [INFO] [stdout] author.image author_image, [INFO] [stdout] 0 `following_author!:_` [INFO] [stdout] from article_comment comment [INFO] [stdout] inner join user author on author.user_id = comment.user_id [INFO] [stdout] where comment.comment_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let comment = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 147 | | CommentFromQuery, [INFO] [stdout] 148 | | r#" [INFO] [stdout] 149 | | select [INFO] [stdout] ... | [INFO] [stdout] 162 | | insert_comment_result.last_insert_id() [INFO] [stdout] 163 | | ) [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: failed to find data for query [INFO] [stdout] select exists( [INFO] [stdout] select 1 from article_comment comment [INFO] [stdout] inner join article on article.article_id = comment.article_id [INFO] [stdout] where comment.comment_id = ? and article.slug = ? [INFO] [stdout] ) "!:_" [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | let exists = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 181 | | r#" [INFO] [stdout] 182 | | select exists( [INFO] [stdout] 183 | | select 1 from article_comment comment [INFO] [stdout] ... | [INFO] [stdout] 189 | | slug [INFO] [stdout] 190 | | ) [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: failed to find data for query [INFO] [stdout] delete from article_comment [INFO] [stdout] where [INFO] [stdout] comment_id = ? [INFO] [stdout] and article_id in (select article_id from article where slug = ?) [INFO] [stdout] and user_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/comments.rs:198:33 [INFO] [stdout] | [INFO] [stdout] 198 | let delete_comment_result = sqlx::query_scalar!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 199 | | r#" [INFO] [stdout] 200 | | delete from article_comment [INFO] [stdout] 201 | | where [INFO] [stdout] ... | [INFO] [stdout] 208 | | auth_user.user_id.to_string() [INFO] [stdout] 209 | | ) [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: failed to find data for query [INFO] [stdout] select [INFO] [stdout] slug, [INFO] [stdout] title, [INFO] [stdout] description, [INFO] [stdout] body, [INFO] [stdout] tag_list, [INFO] [stdout] article.created_at `created_at: Timestamptz`, [INFO] [stdout] article.updated_at `updated_at: Timestamptz`, [INFO] [stdout] exists(select 1 from article_favorite where user_id = ?) `favorited!:_`, [INFO] [stdout] coalesce( [INFO] [stdout] (select count(*) from article_favorite fav where fav.article_id = article.article_id), [INFO] [stdout] 0 [INFO] [stdout] ) `favorites_count!`, [INFO] [stdout] author.username author_username, [INFO] [stdout] author.bio author_bio, [INFO] [stdout] author.image author_image, [INFO] [stdout] exists(select 1 from follow where followed_user_id = author.user_id and following_user_id = ?) `following_author!:_` [INFO] [stdout] from article [INFO] [stdout] inner join user author using (user_id) [INFO] [stdout] where ( [INFO] [stdout] ? is null or author.username = ? [INFO] [stdout] ) and ( [INFO] [stdout] ? is null or JSON_CONTAINS(article.tag_list, JSON_ARRAY(?)) [INFO] [stdout] ) and ( [INFO] [stdout] ? is null or exists( [INFO] [stdout] select 1 from user [INFO] [stdout] inner join article_favorite af using (user_id) [INFO] [stdout] where user.username = ? [INFO] [stdout] and af.article_id = article.article_id [INFO] [stdout] ) [INFO] [stdout] ) [INFO] [stdout] order by article.created_at desc [INFO] [stdout] limit ? [INFO] [stdout] offset ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/listing.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let articles: Vec<_> = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 38 | | ArticleFromQuery, [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | select [INFO] [stdout] ... | [INFO] [stdout] 84 | | query.offset.unwrap_or(0) [INFO] [stdout] 85 | | ) [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: failed to find data for query [INFO] [stdout] select [INFO] [stdout] slug, [INFO] [stdout] title, [INFO] [stdout] description, [INFO] [stdout] body, [INFO] [stdout] tag_list, [INFO] [stdout] article.created_at `created_at: Timestamptz`, [INFO] [stdout] article.updated_at `updated_at: Timestamptz`, [INFO] [stdout] exists(select 1 from article_favorite where user_id = ?) `favorited!:_`, [INFO] [stdout] coalesce( [INFO] [stdout] (select count(*) from article_favorite fav where fav.article_id = article.article_id), [INFO] [stdout] 0 [INFO] [stdout] ) `favorites_count!`, [INFO] [stdout] author.username author_username, [INFO] [stdout] author.bio author_bio, [INFO] [stdout] author.image author_image, [INFO] [stdout] 1 `following_author!:_` [INFO] [stdout] from follow [INFO] [stdout] inner join article on followed_user_id = article.user_id [INFO] [stdout] inner join user author using (user_id) [INFO] [stdout] where following_user_id = ? [INFO] [stdout] order by article.created_at desc [INFO] [stdout] limit ? [INFO] [stdout] offset ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/listing.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | let articles: Vec<_> = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 103 | | ArticleFromQuery, [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | select [INFO] [stdout] ... | [INFO] [stdout] 133 | | query.offset.unwrap_or(0) [INFO] [stdout] 134 | | ) [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: failed to find data for query [INFO] [stdout] insert into article (article_id, slug, user_id, title, description, body, tag_list) [INFO] [stdout] values (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / sqlx::query!( [INFO] [stdout] 128 | | r#" [INFO] [stdout] 129 | | insert into article (article_id, slug, user_id, title, description, body, tag_list) [INFO] [stdout] 130 | | values (?, ?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 138 | | tag_list [INFO] [stdout] 139 | | ) [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: failed to find data for query [INFO] [stdout] select article_id, user_id from article where slug = ? for update [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | let article_meta = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 178 | | r#" [INFO] [stdout] 179 | | select article_id, user_id from article where slug = ? for update [INFO] [stdout] 180 | | "#, [INFO] [stdout] 181 | | slug [INFO] [stdout] 182 | | ) [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: failed to find data for query [INFO] [stdout] update article [INFO] [stdout] set [INFO] [stdout] slug = coalesce(?, slug), [INFO] [stdout] title = coalesce(?, title), [INFO] [stdout] description = coalesce(?, description), [INFO] [stdout] body = coalesce(?, body) [INFO] [stdout] where article_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query!( [INFO] [stdout] 192 | | r#" [INFO] [stdout] 193 | | update article [INFO] [stdout] 194 | | set [INFO] [stdout] ... | [INFO] [stdout] 205 | | article_meta.article_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query [INFO] [stdout] select article_id, user_id from article where slug = ? for update [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | let article_meta = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 232 | | r#" [INFO] [stdout] 233 | | select article_id, user_id from article where slug = ? for update [INFO] [stdout] 234 | | "#, [INFO] [stdout] 235 | | slug [INFO] [stdout] 236 | | ) [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: failed to find data for query [INFO] [stdout] delete from article where article_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / sqlx::query!( [INFO] [stdout] 246 | | r#" [INFO] [stdout] 247 | | delete from article where article_id = ? [INFO] [stdout] 248 | | "#, [INFO] [stdout] 249 | | article_meta.article_id [INFO] [stdout] 250 | | ) [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: failed to find data for query [INFO] [stdout] select [INFO] [stdout] article.slug, [INFO] [stdout] article.title, [INFO] [stdout] article.description, [INFO] [stdout] article.body, [INFO] [stdout] article.tag_list, [INFO] [stdout] article.created_at `created_at: Timestamptz`, [INFO] [stdout] article.updated_at `updated_at: Timestamptz`, [INFO] [stdout] exists(select 1 from article_favorite where user_id = ?) `favorited!:_`, [INFO] [stdout] coalesce( [INFO] [stdout] (select count(*) from article_favorite fav where fav.article_id = article.article_id), [INFO] [stdout] 0 [INFO] [stdout] ) `favorites_count!`, [INFO] [stdout] user.username author_username, [INFO] [stdout] user.bio author_bio, [INFO] [stdout] user.image author_image, [INFO] [stdout] 0 `following_author:_` [INFO] [stdout] from article [INFO] [stdout] inner join user using (user_id) [INFO] [stdout] where article.slug = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 264 | let article = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 265 | | ArticleFromQuery, [INFO] [stdout] 266 | | r#" [INFO] [stdout] 267 | | select [INFO] [stdout] ... | [INFO] [stdout] 289 | | slug [INFO] [stdout] 290 | | ) [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: failed to find data for query [INFO] [stdout] select article_id from article where slug = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:306:22 [INFO] [stdout] | [INFO] [stdout] 306 | let article_id = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 307 | | r#" [INFO] [stdout] 308 | | select article_id from article where slug = ? [INFO] [stdout] 309 | | "#, [INFO] [stdout] 310 | | slug [INFO] [stdout] 311 | | ) [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: failed to find data for query [INFO] [stdout] insert ignore into article_favorite(article_id, user_id) [INFO] [stdout] values (?, ?) [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | / sqlx::query!( [INFO] [stdout] 317 | | r#" [INFO] [stdout] 318 | | insert ignore into article_favorite(article_id, user_id) [INFO] [stdout] 319 | | values (?, ?) [INFO] [stdout] ... | [INFO] [stdout] 322 | | auth_user.user_id.to_string() [INFO] [stdout] 323 | | ) [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: failed to find data for query [INFO] [stdout] select article_id from article where slug = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | let article_id = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 343 | | r#" [INFO] [stdout] 344 | | select article_id from article where slug = ? [INFO] [stdout] 345 | | "#, [INFO] [stdout] 346 | | slug [INFO] [stdout] 347 | | ) [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: failed to find data for query [INFO] [stdout] delete from article_favorite where article_id = ? and user_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | / sqlx::query!( [INFO] [stdout] 353 | | r#" [INFO] [stdout] 354 | | delete from article_favorite where article_id = ? and user_id = ? [INFO] [stdout] 355 | | "#, [INFO] [stdout] 356 | | article_id, [INFO] [stdout] 357 | | auth_user.user_id.to_string() [INFO] [stdout] 358 | | ) [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: failed to find data for query [INFO] [stdout] select [INFO] [stdout] article.slug, [INFO] [stdout] article.title, [INFO] [stdout] article.description, [INFO] [stdout] article.body, [INFO] [stdout] article.tag_list, [INFO] [stdout] article.created_at `created_at: Timestamptz`, [INFO] [stdout] article.updated_at `updated_at: Timestamptz`, [INFO] [stdout] exists(select 1 from article_favorite where user_id = ?) `favorited!:_`, [INFO] [stdout] coalesce( [INFO] [stdout] (select count(*) from article_favorite fav where fav.article_id = article.article_id), [INFO] [stdout] 0 [INFO] [stdout] ) `favorites_count!`, [INFO] [stdout] user.username author_username, [INFO] [stdout] user.bio author_bio, [INFO] [stdout] user.image author_image, [INFO] [stdout] 0 `following_author:_` [INFO] [stdout] from article [INFO] [stdout] inner join user using (user_id) [INFO] [stdout] where article.article_id = ? [INFO] [stdout] [INFO] [stdout] --> src/http/articles/mod.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | let article = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 383 | | ArticleFromQuery, [INFO] [stdout] 384 | | r#" [INFO] [stdout] 385 | | select [INFO] [stdout] ... | [INFO] [stdout] 407 | | article_id.to_string() [INFO] [stdout] 408 | | ) [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: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `axum-sqlx-mysql` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name axum_sqlx_mysql src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=1741a377cd848845 -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-9ecaf4b7a0b995cb.rmeta --extern argon2=/opt/rustwide/target/debug/deps/libargon2-25d0adb3d04b761d.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-51b051cbf5425366.so --extern axum=/opt/rustwide/target/debug/deps/libaxum-264ca6a68d07b50a.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-1560a064ff4f7956.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-f0e4f3654fb7f16b.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-37cbedc67eca3195.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-7634aa5d667f3caa.rmeta --extern hmac=/opt/rustwide/target/debug/deps/libhmac-cc3479f09bd9ab5d.rmeta --extern itertools=/opt/rustwide/target/debug/deps/libitertools-6be752819c44321b.rmeta --extern jwt=/opt/rustwide/target/debug/deps/libjwt-dede7f7f9749a1f5.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-50d361c8d69d49a5.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-ee4f6174eae428ad.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-3f901bfc6aae0064.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-fe5d735b20d33e02.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-e9767f02cd458fc1.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-22ac1a8bd7e521c6.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-3d99d3b7afcd9b20.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-67fda15b6328d408.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-ec5f99fc34b41ff3.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-63afc4247c735cbb.rmeta --extern tower=/opt/rustwide/target/debug/deps/libtower-0e97e68b6e55d7d2.rmeta --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-0d3a536a9b5996c7.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-d6d33a723294b394.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "9dc48e547f4b380336bf6db691ce9212fe48eba28a27e5bbad1333db54ce31f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc48e547f4b380336bf6db691ce9212fe48eba28a27e5bbad1333db54ce31f3", kill_on_drop: false }` [INFO] [stdout] 9dc48e547f4b380336bf6db691ce9212fe48eba28a27e5bbad1333db54ce31f3