[INFO] cloning repository https://github.com/chinatsu/music-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chinatsu/music-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinatsu%2Fmusic-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinatsu%2Fmusic-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6ded144cc4d7f8c867280a4303447bcca0b0a9d [INFO] checking chinatsu/music-rs against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinatsu%2Fmusic-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chinatsu/music-rs [INFO] finished tweaking git repo https://github.com/chinatsu/music-rs [INFO] tweaked toml for git repo https://github.com/chinatsu/music-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chinatsu/music-rs on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chinatsu/music-rs 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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded cached_proc_macro v0.25.0 [INFO] [stderr] Downloaded cached v0.56.0 [INFO] [stderr] Downloaded axum-response-cache v0.4.0 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7004d760f2fd83208bda2e78cf801c93402a1e69051f4403cb71eb2e8d67e913 [INFO] running `Command { std: "docker" "start" "-a" "7004d760f2fd83208bda2e78cf801c93402a1e69051f4403cb71eb2e8d67e913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7004d760f2fd83208bda2e78cf801c93402a1e69051f4403cb71eb2e8d67e913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7004d760f2fd83208bda2e78cf801c93402a1e69051f4403cb71eb2e8d67e913", kill_on_drop: false }` [INFO] [stdout] 7004d760f2fd83208bda2e78cf801c93402a1e69051f4403cb71eb2e8d67e913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf1bd2ca7c81e30e9e2208067b8f154b368083a5750c945e614b7334495aec3 [INFO] running `Command { std: "docker" "start" "-a" "abf1bd2ca7c81e30e9e2208067b8f154b368083a5750c945e614b7334495aec3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 tracing-attributes v0.1.29 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking axum-response-cache v0.4.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking music-rs v0.2.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/db/reads.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 92 | | Album, [INFO] [stdout] 93 | | r#" [INFO] [stdout] 94 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 124 | | (page - 1) * limit [INFO] [stdout] 125 | | ).fetch_all(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 `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/db/reads.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 137 | | Album, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 169 | | (page - 1) * limit [INFO] [stdout] 170 | | ) [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 `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/db/reads.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 182 | | Album, [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 214 | | (page - 1) * limit [INFO] [stdout] 215 | | ) [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 `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/db/reads.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let genre = query_as!(Genre, "SELECT * FROM genres WHERE id = $1", genre_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 `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/db/reads.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | let mood = query_as!(Mood, "SELECT * FROM moods WHERE id = $1", mood_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 `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/db/reads.rs:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | let album_genres: Vec = query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 236 | | SimilarGenre, [INFO] [stdout] 237 | | r#"SELECT [INFO] [stdout] 238 | | related_genre_details.id AS id, [INFO] [stdout] ... | [INFO] [stdout] 250 | | genre_id [INFO] [stdout] 251 | | ) [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 `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/db/reads.rs:258:41 [INFO] [stdout] | [INFO] [stdout] 258 | let album_moods: Vec = query_as!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 259 | | SimilarMood, [INFO] [stdout] 260 | | r#"SELECT [INFO] [stdout] 261 | | related_mood_details.id AS id, [INFO] [stdout] ... | [INFO] [stdout] 273 | | mood_id [INFO] [stdout] 274 | | ) [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 `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/db/writes.rs:38:62 [INFO] [stdout] | [INFO] [stdout] 38 | let _: std::result::Result = query_as!( [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 39 | | InsertedAlbum, [INFO] [stdout] 40 | | "INSERT INTO albums(title, date, url, rym_url, score, voters, localized_title) [INFO] [stdout] 41 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 58 | | album.localized_title [INFO] [stdout] 59 | | ) [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 `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/db/writes.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let new_album = query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 63 | | InsertedAlbum, [INFO] [stdout] 64 | | "SELECT * FROM albums WHERE url = $1", [INFO] [stdout] 65 | | album.url [INFO] [stdout] 66 | | ) [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 `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/db/writes.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query!( [INFO] [stdout] 84 | | "INSERT INTO album_artists(album_id, artist_id) VALUES ($1, $2) ON CONFLICT DO NOTHING", [INFO] [stdout] 85 | | album.id, [INFO] [stdout] 86 | | artist.id [INFO] [stdout] 87 | | ) [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/db/writes.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "INSERT INTO album_genres(album_id, genre_id) VALUES ($1, $2) ON CONFLICT DO NOTHING", [INFO] [stdout] 98 | | album.id, [INFO] [stdout] 99 | | genre.id [INFO] [stdout] 100 | | ) [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/db/writes.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / sqlx::query!( [INFO] [stdout] 110 | | "INSERT INTO album_moods(album_id, mood_id) VALUES ($1, $2) ON CONFLICT DO NOTHING", [INFO] [stdout] 111 | | album.id, [INFO] [stdout] 112 | | mood.id [INFO] [stdout] 113 | | ) [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/db/writes.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | sqlx::query!("DELETE FROM tracks WHERE album_id = $1", album_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/db/writes.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / sqlx::query!( [INFO] [stdout] 152 | | "INSERT INTO tracks(album_id, track_number, title, artist, localized_title) [INFO] [stdout] 153 | | VALUES ($1, $2, $3, $4, $5)", [INFO] [stdout] 154 | | album_id, [INFO] [stdout] ... | [INFO] [stdout] 158 | | track.localized_title [INFO] [stdout] 159 | | ) [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/db/writes.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | let returned_tracks = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 164 | | Track, [INFO] [stdout] 165 | | r#"SELECT t.id, t.track_number, t.title, t.localized_title, a as "artist?: Artist" [INFO] [stdout] 166 | | FROM tracks t [INFO] [stdout] ... | [INFO] [stdout] 170 | | album_id [INFO] [stdout] 171 | | ) [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/db/writes.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 179 | | Genre, [INFO] [stdout] 180 | | "INSERT INTO genres(name) VALUES ($1) ON CONFLICT DO NOTHING RETURNING id, name", [INFO] [stdout] 181 | | genre [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 `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/db/writes.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let genre = query_as!(Genre, "SELECT * FROM genres WHERE name = $1", genre) [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 `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/db/writes.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let _ = query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 193 | | Mood, [INFO] [stdout] 194 | | "INSERT INTO moods(name) VALUES ($1) ON CONFLICT DO NOTHING RETURNING id, name", [INFO] [stdout] 195 | | mood [INFO] [stdout] 196 | | ) [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 `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/db/writes.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | let mood = query_as!(Mood, "SELECT * FROM moods WHERE name = $1", mood) [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 `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/db/writes.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let _ = query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 207 | | Artist, [INFO] [stdout] 208 | | r#"INSERT INTO artists(name, localized_name) [INFO] [stdout] 209 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 214 | | artist.localized_name [INFO] [stdout] 215 | | ) [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 `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/db/writes.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | let artist = query_as!(Artist, "SELECT * FROM artists WHERE name = $1", artist.name) [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 `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/db/reads.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 92 | | Album, [INFO] [stdout] 93 | | r#" [INFO] [stdout] 94 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 124 | | (page - 1) * limit [INFO] [stdout] 125 | | ).fetch_all(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 `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/db/reads.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | Ok(query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 137 | | Album, [INFO] [stdout] 138 | | r#" [INFO] [stdout] 139 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 169 | | (page - 1) * limit [INFO] [stdout] 170 | | ) [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 `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/db/reads.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(query_as!( [INFO] [stdout] | ________^ [INFO] [stdout] 182 | | Album, [INFO] [stdout] 183 | | r#" [INFO] [stdout] 184 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 214 | | (page - 1) * limit [INFO] [stdout] 215 | | ) [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 `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/db/reads.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | let genre = query_as!(Genre, "SELECT * FROM genres WHERE id = $1", genre_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 `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/db/reads.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | let mood = query_as!(Mood, "SELECT * FROM moods WHERE id = $1", mood_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 `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/db/reads.rs:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | let album_genres: Vec = query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 236 | | SimilarGenre, [INFO] [stdout] 237 | | r#"SELECT [INFO] [stdout] 238 | | related_genre_details.id AS id, [INFO] [stdout] ... | [INFO] [stdout] 250 | | genre_id [INFO] [stdout] 251 | | ) [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 `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/db/reads.rs:258:41 [INFO] [stdout] | [INFO] [stdout] 258 | let album_moods: Vec = query_as!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 259 | | SimilarMood, [INFO] [stdout] 260 | | r#"SELECT [INFO] [stdout] 261 | | related_mood_details.id AS id, [INFO] [stdout] ... | [INFO] [stdout] 273 | | mood_id [INFO] [stdout] 274 | | ) [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 `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/db/writes.rs:38:62 [INFO] [stdout] | [INFO] [stdout] 38 | let _: std::result::Result = query_as!( [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 39 | | InsertedAlbum, [INFO] [stdout] 40 | | "INSERT INTO albums(title, date, url, rym_url, score, voters, localized_title) [INFO] [stdout] 41 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 58 | | album.localized_title [INFO] [stdout] 59 | | ) [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 `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/db/writes.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let new_album = query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 63 | | InsertedAlbum, [INFO] [stdout] 64 | | "SELECT * FROM albums WHERE url = $1", [INFO] [stdout] 65 | | album.url [INFO] [stdout] 66 | | ) [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 `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/db/writes.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / sqlx::query!( [INFO] [stdout] 84 | | "INSERT INTO album_artists(album_id, artist_id) VALUES ($1, $2) ON CONFLICT DO NOTHING", [INFO] [stdout] 85 | | album.id, [INFO] [stdout] 86 | | artist.id [INFO] [stdout] 87 | | ) [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/db/writes.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "INSERT INTO album_genres(album_id, genre_id) VALUES ($1, $2) ON CONFLICT DO NOTHING", [INFO] [stdout] 98 | | album.id, [INFO] [stdout] 99 | | genre.id [INFO] [stdout] 100 | | ) [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/db/writes.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / sqlx::query!( [INFO] [stdout] 110 | | "INSERT INTO album_moods(album_id, mood_id) VALUES ($1, $2) ON CONFLICT DO NOTHING", [INFO] [stdout] 111 | | album.id, [INFO] [stdout] 112 | | mood.id [INFO] [stdout] 113 | | ) [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/db/writes.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | sqlx::query!("DELETE FROM tracks WHERE album_id = $1", album_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/db/writes.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / sqlx::query!( [INFO] [stdout] 152 | | "INSERT INTO tracks(album_id, track_number, title, artist, localized_title) [INFO] [stdout] 153 | | VALUES ($1, $2, $3, $4, $5)", [INFO] [stdout] 154 | | album_id, [INFO] [stdout] ... | [INFO] [stdout] 158 | | track.localized_title [INFO] [stdout] 159 | | ) [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/db/writes.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | let returned_tracks = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 164 | | Track, [INFO] [stdout] 165 | | r#"SELECT t.id, t.track_number, t.title, t.localized_title, a as "artist?: Artist" [INFO] [stdout] 166 | | FROM tracks t [INFO] [stdout] ... | [INFO] [stdout] 170 | | album_id [INFO] [stdout] 171 | | ) [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/db/writes.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let _ = query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 179 | | Genre, [INFO] [stdout] 180 | | "INSERT INTO genres(name) VALUES ($1) ON CONFLICT DO NOTHING RETURNING id, name", [INFO] [stdout] 181 | | genre [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 `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/db/writes.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let genre = query_as!(Genre, "SELECT * FROM genres WHERE name = $1", genre) [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 `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/db/writes.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let _ = query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 193 | | Mood, [INFO] [stdout] 194 | | "INSERT INTO moods(name) VALUES ($1) ON CONFLICT DO NOTHING RETURNING id, name", [INFO] [stdout] 195 | | mood [INFO] [stdout] 196 | | ) [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 `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/db/writes.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | let mood = query_as!(Mood, "SELECT * FROM moods WHERE name = $1", mood) [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 `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/db/writes.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let _ = query_as!( [INFO] [stdout] | _____________^ [INFO] [stdout] 207 | | Artist, [INFO] [stdout] 208 | | r#"INSERT INTO artists(name, localized_name) [INFO] [stdout] 209 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 214 | | artist.localized_name [INFO] [stdout] 215 | | ) [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 `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/db/writes.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | let artist = query_as!(Artist, "SELECT * FROM artists WHERE name = $1", artist.name) [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 `query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Artist` and `Track` [INFO] [stdout] --> src/db/reads.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | types::{Album, Artist, Genre, Mood, SimilarGenre, SimilarMood, Track}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Artist` and `Track` [INFO] [stdout] --> src/db/reads.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | types::{Album, Artist, Genre, Mood, SimilarGenre, SimilarMood, Track}, [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `music-rs` (bin "music-rs") due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `music-rs` (bin "music-rs" test) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "abf1bd2ca7c81e30e9e2208067b8f154b368083a5750c945e614b7334495aec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf1bd2ca7c81e30e9e2208067b8f154b368083a5750c945e614b7334495aec3", kill_on_drop: false }` [INFO] [stdout] abf1bd2ca7c81e30e9e2208067b8f154b368083a5750c945e614b7334495aec3