[INFO] cloning repository https://github.com/Sharufkhanniazi/File-Upload-Service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sharufkhanniazi/File-Upload-Service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharufkhanniazi%2FFile-Upload-Service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharufkhanniazi%2FFile-Upload-Service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc3d9cef6b1e49e731fa6a3927f53d5ef629f897 [INFO] checking Sharufkhanniazi/File-Upload-Service/dc3d9cef6b1e49e731fa6a3927f53d5ef629f897 against master#64b72a1fa5449d928d5f553b01a596b78ee255d2 for pr-153457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSharufkhanniazi%2FFile-Upload-Service" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sharufkhanniazi/File-Upload-Service [INFO] finished tweaking git repo https://github.com/Sharufkhanniazi/File-Upload-Service [INFO] tweaked toml for git repo https://github.com/Sharufkhanniazi/File-Upload-Service written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sharufkhanniazi/File-Upload-Service on toolchain 64b72a1fa5449d928d5f553b01a596b78ee255d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b72a1fa5449d928d5f553b01a596b78ee255d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sharufkhanniazi/File-Upload-Service 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" "+64b72a1fa5449d928d5f553b01a596b78ee255d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest Rust 1.96.0-nightly compatible version [INFO] [stderr] Adding anyhow v1.0.102 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-smithy-xml v0.60.13 [INFO] [stderr] Downloaded aws-credential-types v1.2.11 [INFO] [stderr] Downloaded aws-smithy-types v1.3.5 [INFO] [stderr] Downloaded aws-smithy-query v0.60.9 [INFO] [stderr] Downloaded aws-types v1.3.11 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.5 [INFO] [stderr] Downloaded aws-smithy-json v0.61.9 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.14 [INFO] [stderr] Downloaded aws-smithy-checksums v0.63.12 [INFO] [stderr] Downloaded aws-smithy-async v1.2.7 [INFO] [stderr] Downloaded zmij v0.1.10 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.9.3 [INFO] [stderr] Downloaded aws-runtime v1.5.17 [INFO] [stderr] Downloaded aws-sdk-sso v1.91.0 [INFO] [stderr] Downloaded aws-sigv4 v1.3.7 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.93.0 [INFO] [stderr] Downloaded aws-config v1.8.12 [INFO] [stderr] Downloaded crc-fast v1.6.0 [INFO] [stderr] Downloaded aws-sdk-sts v1.95.0 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.5 [INFO] [stderr] Downloaded aws-smithy-runtime v1.9.5 [INFO] [stderr] Downloaded aws-smithy-http v0.62.6 [INFO] [stderr] Downloaded aws-sdk-s3 v1.119.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+64b72a1fa5449d928d5f553b01a596b78ee255d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c245ce081d81f5f8e56a508ebe29b2ec26b983a09a4b558ce14b1afacda23b20 [INFO] running `Command { std: "docker" "start" "-a" "c245ce081d81f5f8e56a508ebe29b2ec26b983a09a4b558ce14b1afacda23b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c245ce081d81f5f8e56a508ebe29b2ec26b983a09a4b558ce14b1afacda23b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c245ce081d81f5f8e56a508ebe29b2ec26b983a09a4b558ce14b1afacda23b20", kill_on_drop: false }` [INFO] [stdout] c245ce081d81f5f8e56a508ebe29b2ec26b983a09a4b558ce14b1afacda23b20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+64b72a1fa5449d928d5f553b01a596b78ee255d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb3fd5120aa00400186c08b71837073e4203af7e4a96e62863a70b727ed59c63 [INFO] running `Command { std: "docker" "start" "-a" "fb3fd5120aa00400186c08b71837073e4203af7e4a96e62863a70b727ed59c63", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking ryu v1.0.21 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking base64ct v1.8.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking rustls-native-certs v0.8.2 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aws-types v1.3.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Checking zmij v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking aws-smithy-xml v0.60.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crc-fast v1.6.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking zune-jpeg v0.5.8 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking aws-smithy-async v1.2.7 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking aws-smithy-types v1.3.5 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking aws-smithy-runtime-api v1.9.3 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.14 [INFO] [stderr] Checking aws-smithy-json v0.61.9 [INFO] [stderr] Checking aws-smithy-query v0.60.9 [INFO] [stderr] Checking aws-smithy-http v0.62.6 [INFO] [stderr] Checking aws-credential-types v1.2.11 [INFO] [stderr] Checking aws-smithy-observability v0.1.5 [INFO] [stderr] Checking aws-sigv4 v1.3.7 [INFO] [stderr] Checking aws-smithy-checksums v0.63.12 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-http-client v1.1.5 [INFO] [stderr] Checking aws-smithy-runtime v1.9.5 [INFO] [stderr] Checking aws-runtime v1.5.17 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking aws-sdk-sts v1.95.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.93.0 [INFO] [stderr] Checking aws-sdk-sso v1.91.0 [INFO] [stderr] Checking aws-sdk-s3 v1.119.0 [INFO] [stderr] Checking aws-config v1.8.12 [INFO] [stderr] Checking fileuploadservice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let existing_file = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 97 | | File, [INFO] [stdout] 98 | | "SELECT * FROM files WHERE checksum = $1 LIMIT 1", [INFO] [stdout] 99 | | checksum [INFO] [stdout] 100 | | ).fetch_optional(&state.pool) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let file_record = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 156 | | File, [INFO] [stdout] 157 | | r#" [INFO] [stdout] 158 | | INSERT INTO files ( [INFO] [stdout] ... | [INFO] [stdout] 172 | | thumbnail_path [INFO] [stdout] 173 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 196 | | File, [INFO] [stdout] 197 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 198 | | id [INFO] [stdout] 199 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 255 | | File, [INFO] [stdout] 256 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 257 | | id [INFO] [stdout] 258 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 283 | | File, [INFO] [stdout] 284 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 285 | | id [INFO] [stdout] 286 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | sqlx::query!("DELETE FROM files WHERE id = $1", id) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:347:16 [INFO] [stdout] | [INFO] [stdout] 347 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 348 | | File, [INFO] [stdout] 349 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 350 | | id [INFO] [stdout] 351 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | let files = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 400 | | File, [INFO] [stdout] 401 | | "SELECT * FROM files ORDER BY uploaded_at DESC LIMIT 100", [INFO] [stdout] 402 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let existing_file = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 97 | | File, [INFO] [stdout] 98 | | "SELECT * FROM files WHERE checksum = $1 LIMIT 1", [INFO] [stdout] 99 | | checksum [INFO] [stdout] 100 | | ).fetch_optional(&state.pool) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let file_record = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 156 | | File, [INFO] [stdout] 157 | | r#" [INFO] [stdout] 158 | | INSERT INTO files ( [INFO] [stdout] ... | [INFO] [stdout] 172 | | thumbnail_path [INFO] [stdout] 173 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 195 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 196 | | File, [INFO] [stdout] 197 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 198 | | id [INFO] [stdout] 199 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 255 | | File, [INFO] [stdout] 256 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 257 | | id [INFO] [stdout] 258 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 283 | | File, [INFO] [stdout] 284 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 285 | | id [INFO] [stdout] 286 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | sqlx::query!("DELETE FROM files WHERE id = $1", id) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:347:16 [INFO] [stdout] | [INFO] [stdout] 347 | let file = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 348 | | File, [INFO] [stdout] 349 | | "SELECT * FROM files WHERE id = $1", [INFO] [stdout] 350 | | id [INFO] [stdout] 351 | | ) [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | let files = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 400 | | File, [INFO] [stdout] 401 | | "SELECT * FROM files ORDER BY uploaded_at DESC LIMIT 100", [INFO] [stdout] 402 | | ) [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] warning: unused doc comment [INFO] [stdout] --> src/storage/local.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | /// Creates a new LocalStorage instance and ensures necessary directories exist [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fs::create_dir_all(base_path).await.expect("Failed to create uploads directory"); [INFO] [stdout] | -------------------------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/storage/local.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | /// Creates a new LocalStorage instance and ensures necessary directories exist [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | fs::create_dir_all(base_path).await.expect("Failed to create uploads directory"); [INFO] [stdout] | -------------------------------------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::from_env`: Use the `aws_config::defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/storage/s3.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | let mut aws_config_builder = aws_config::from_env().region(region_provider); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `aws_config::from_env`: Use the `aws_config::defaults` function. If you don't care about future default behavior changes, you can continue to use this function by enabling the `behavior-version-latest` feature. Doing so will make this deprecation notice go away. [INFO] [stdout] --> src/storage/s3.rs:24:50 [INFO] [stdout] | [INFO] [stdout] 24 | let mut aws_config_builder = aws_config::from_env().region(region_provider); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fileuploadservice` (bin "fileuploadservice" test) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fileuploadservice` (bin "fileuploadservice") due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb3fd5120aa00400186c08b71837073e4203af7e4a96e62863a70b727ed59c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb3fd5120aa00400186c08b71837073e4203af7e4a96e62863a70b727ed59c63", kill_on_drop: false }` [INFO] [stdout] fb3fd5120aa00400186c08b71837073e4203af7e4a96e62863a70b727ed59c63