[INFO] cloning repository https://github.com/mrjackwills/mealpedant_api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrjackwills/mealpedant_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrjackwills%2Fmealpedant_api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrjackwills%2Fmealpedant_api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db894711cbed145d82e9a82cb4b1d933547517cd [INFO] checking mrjackwills/mealpedant_api/db894711cbed145d82e9a82cb4b1d933547517cd against master#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrjackwills%2Fmealpedant_api" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mrjackwills/mealpedant_api [INFO] finished tweaking git repo https://github.com/mrjackwills/mealpedant_api [INFO] tweaked toml for git repo https://github.com/mrjackwills/mealpedant_api written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mrjackwills/mealpedant_api on toolchain c8a31b780d5415358566a20b94912620a3f27067 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mrjackwills/mealpedant_api 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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compression-codecs v0.4.30 [INFO] [stderr] Downloaded base32 v0.5.1 [INFO] [stderr] Downloaded http-range-header v0.4.2 [INFO] [stderr] Downloaded totp-rs v5.7.0 [INFO] [stderr] Downloaded fred-macros v0.1.0 [INFO] [stderr] Downloaded crc16 v0.4.0 [INFO] [stderr] Downloaded mimalloc v0.1.48 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.53 [INFO] [stderr] Downloaded jiff-sqlx v0.1.1 [INFO] [stderr] Downloaded tokio-rustls v0.26.3 [INFO] [stderr] Downloaded async-compression v0.4.30 [INFO] [stderr] Downloaded redis-protocol v6.0.0 [INFO] [stderr] Downloaded security-framework v3.5.0 [INFO] [stderr] Downloaded mrml v5.0.0 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded lettre v0.11.18 [INFO] [stderr] Downloaded email-encoding v0.4.1 [INFO] [stderr] Downloaded htmlparser v0.2.1 [INFO] [stderr] Downloaded fred v10.1.0 [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da401ca5ab6a4a8a41d61ea54d855d42592ea6c221ed58bc8ee04c34d9a7fe5e [INFO] running `Command { std: "docker" "start" "-a" "da401ca5ab6a4a8a41d61ea54d855d42592ea6c221ed58bc8ee04c34d9a7fe5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da401ca5ab6a4a8a41d61ea54d855d42592ea6c221ed58bc8ee04c34d9a7fe5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da401ca5ab6a4a8a41d61ea54d855d42592ea6c221ed58bc8ee04c34d9a7fe5e", kill_on_drop: false }` [INFO] [stdout] da401ca5ab6a4a8a41d61ea54d855d42592ea6c221ed58bc8ee04c34d9a7fe5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed5cbdb15651dd982960e45dff7e531a7689445687f33be3d2e82797882f8ac0 [INFO] running `Command { std: "docker" "start" "-a" "ed5cbdb15651dd982960e45dff7e531a7689445687f33be3d2e82797882f8ac0", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking compression-core v0.4.29 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.44 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking base32 v0.5.1 [INFO] [stderr] Checking htmlparser v0.2.1 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking totp-rs v5.7.0 [INFO] [stderr] Checking mimalloc v0.1.48 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Compiling fred-macros v0.1.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking compression-codecs v0.4.30 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking redis-protocol v6.0.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Checking mrml v5.0.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-rustls v0.26.3 [INFO] [stderr] Checking async-compression v0.4.30 [INFO] [stderr] Checking lettre v0.11.18 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking fred v10.1.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking axum-extra v0.10.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking jiff-sqlx v0.1.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking mealpedant v2.0.6 (/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/database/postgres/model_login.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | ...Ok(sqlx::query_as!(Self, "SELECT login_attempt_id, login_attempt_number FROM login_attempt WHERE registered_user_id = $1", registered_user_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_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/database/postgres/mod.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let result = sqlx::query_as!(DB, "SELECT current_database()") [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/servers/api/routers/meal.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 460 | | "SELECT * FROM meal_description WHERE description = $1", [INFO] [stdout] 461 | | body.description [INFO] [stdout] 462 | | ) [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/servers/api/routers/meal.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 469 | | "SELECT * FROM meal_category WHERE category = $1", [INFO] [stdout] 470 | | body.category [INFO] [stdout] 471 | | ) [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/servers/mod.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | sqlx::query!("DELETE FROM login_attempt") [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/servers/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | / sqlx::query!( [INFO] [stdout] 414 | | "DELETE FROM admin_user WHERE registered_user_id = $1", [INFO] [stdout] 415 | | user.registered_user_id [INFO] [stdout] 416 | | ) [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/servers/mod.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | / sqlx::query!( [INFO] [stdout] 424 | | "DELETE FROM admin_user WHERE registered_user_id = $1", [INFO] [stdout] 425 | | user.registered_user_id [INFO] [stdout] 426 | | ) [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/servers/mod.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | / sqlx::query!( [INFO] [stdout] 433 | | "DELETE FROM registered_user WHERE email IN ($1, $2)", [INFO] [stdout] 434 | | TEST_EMAIL, [INFO] [stdout] 435 | | ANON_EMAIL [INFO] [stdout] 436 | | ) [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/servers/mod.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | / sqlx::query!( [INFO] [stdout] 458 | | "DELETE FROM ip_address WHERE ip = $1", [INFO] [stdout] 459 | | IpNetwork::from(req.ip) [INFO] [stdout] 460 | | ) [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/servers/mod.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | / sqlx::query!( [INFO] [stdout] 466 | | "DELETE FROM user_agent WHERE user_agent_string = $1", [INFO] [stdout] 467 | | req.user_agent [INFO] [stdout] 468 | | ) [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/servers/mod.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | / sqlx::query!( [INFO] [stdout] 570 | | "INSERT INTO admin_user(registered_user_id, ip_id, admin) VALUES ($1, $2, $3)", [INFO] [stdout] 571 | | user.registered_user_id, [INFO] [stdout] 572 | | req.ip_id, [INFO] [stdout] 573 | | true [INFO] [stdout] 574 | | ) [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/servers/mod.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | / sqlx::query_as!( [INFO] [stdout] 651 | | P, [INFO] [stdout] 652 | | "SELECT password_hash FROM registered_user WHERE email = $1", [INFO] [stdout] 653 | | TEST_EMAIL [INFO] [stdout] 654 | | ) [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 import: `sqlx::types::ipnetwork::IpNetwork` [INFO] [stdout] --> src/servers/mod.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | use sqlx::types::ipnetwork::IpNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!("DELETE FROM login_attempt") [INFO] [stdout] 392 | | .execute(&self.postgres) [INFO] [stdout] 393 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | / sqlx::query!( [INFO] [stdout] 414 | | "DELETE FROM admin_user WHERE registered_user_id = $1", [INFO] [stdout] 415 | | user.registered_user_id [INFO] [stdout] ... | [INFO] [stdout] 418 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | / sqlx::query!( [INFO] [stdout] 424 | | "DELETE FROM admin_user WHERE registered_user_id = $1", [INFO] [stdout] 425 | | user.registered_user_id [INFO] [stdout] ... | [INFO] [stdout] 428 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | / sqlx::query!( [INFO] [stdout] 433 | | "DELETE FROM registered_user WHERE email IN ($1, $2)", [INFO] [stdout] 434 | | TEST_EMAIL, [INFO] [stdout] 435 | | ANON_EMAIL [INFO] [stdout] 436 | | ) [INFO] [stdout] 437 | | .execute(&self.postgres) [INFO] [stdout] 438 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | / sqlx::query!( [INFO] [stdout] 458 | | "DELETE FROM ip_address WHERE ip = $1", [INFO] [stdout] 459 | | IpNetwork::from(req.ip) [INFO] [stdout] ... | [INFO] [stdout] 462 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | / sqlx::query!( [INFO] [stdout] 466 | | "DELETE FROM user_agent WHERE user_agent_string = $1", [INFO] [stdout] 467 | | req.user_agent [INFO] [stdout] ... | [INFO] [stdout] 470 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:569:17 [INFO] [stdout] | [INFO] [stdout] 569 | / sqlx::query!( [INFO] [stdout] 570 | | "INSERT INTO admin_user(registered_user_id, ip_id, admin) VALUES ($1, $2, $3)", [INFO] [stdout] 571 | | user.registered_user_id, [INFO] [stdout] 572 | | req.ip_id, [INFO] [stdout] ... | [INFO] [stdout] 575 | | .execute(&self.postgres) [INFO] [stdout] 576 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/mod.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | / sqlx::query_as!( [INFO] [stdout] 651 | | P, [INFO] [stdout] 652 | | "SELECT password_hash FROM registered_user WHERE email = $1", [INFO] [stdout] 653 | | TEST_EMAIL [INFO] [stdout] 654 | | ) [INFO] [stdout] 655 | | .fetch_one(&self.postgres) [INFO] [stdout] 656 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/database/postgres/mod.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let result = sqlx::query_as!(DB, "SELECT current_database()") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let result: /* Type */ = sqlx::query_as!(DB, "SELECT current_database()") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/api/routers/meal.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 460 | | "SELECT * FROM meal_description WHERE description = $1", [INFO] [stdout] 461 | | body.description [INFO] [stdout] ... | [INFO] [stdout] 464 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/servers/api/routers/meal.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 469 | | "SELECT * FROM meal_category WHERE category = $1", [INFO] [stdout] 470 | | body.category [INFO] [stdout] ... | [INFO] [stdout] 473 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mealpedant` (bin "mealpedant" test) due to 23 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ed5cbdb15651dd982960e45dff7e531a7689445687f33be3d2e82797882f8ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5cbdb15651dd982960e45dff7e531a7689445687f33be3d2e82797882f8ac0", kill_on_drop: false }` [INFO] [stdout] ed5cbdb15651dd982960e45dff7e531a7689445687f33be3d2e82797882f8ac0