[INFO] cloning repository https://github.com/ternbusty/music-ranking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ternbusty/music-ranking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternbusty%2Fmusic-ranking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternbusty%2Fmusic-ranking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be111466e0079de2b8cd06f7c39c5168e8b88654 [INFO] checking ternbusty/music-ranking against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternbusty%2Fmusic-ranking" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ternbusty/music-ranking [INFO] finished tweaking git repo https://github.com/ternbusty/music-ranking [INFO] tweaked toml for git repo https://github.com/ternbusty/music-ranking written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ternbusty/music-ranking on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ternbusty/music-ranking 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ternbusty/music-ranking against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternbusty%2Fmusic-ranking" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ternbusty/music-ranking [INFO] finished tweaking git repo https://github.com/ternbusty/music-ranking [INFO] tweaked toml for git repo https://github.com/ternbusty/music-ranking written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ternbusty/music-ranking on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ternbusty/music-ranking 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-properties v0.1.2 [INFO] [stderr] Downloaded pem-rfc7468 v0.3.1 [INFO] [stderr] Downloaded pkcs1 v0.3.3 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded rsa v0.6.1 [INFO] [stderr] Downloaded plist v1.7.0 [INFO] [stderr] Downloaded quick-xml v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f6cba6f0e3a2bd14a5a36264d797859617d147cf2655ed18651d8e35999e97a [INFO] running `Command { std: "docker" "start" "-a" "0f6cba6f0e3a2bd14a5a36264d797859617d147cf2655ed18651d8e35999e97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f6cba6f0e3a2bd14a5a36264d797859617d147cf2655ed18651d8e35999e97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6cba6f0e3a2bd14a5a36264d797859617d147cf2655ed18651d8e35999e97a", kill_on_drop: false }` [INFO] [stdout] 0f6cba6f0e3a2bd14a5a36264d797859617d147cf2655ed18651d8e35999e97a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4942c8cf2699148056c8ccfe00a0e128b1a9f7c7f15cd69e0ceaf51e62dbb1c9 [INFO] running `Command { std: "docker" "start" "-a" "4942c8cf2699148056c8ccfe00a0e128b1a9f7c7f15cd69e0ceaf51e62dbb1c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking music v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let track_with_playtime = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | SELECT track_id, name, artist, album, total_time, play_count, [INFO] [stdout] 71 | | (play_count * total_time) AS playtime [INFO] [stdout] ... | [INFO] [stdout] 75 | | "# [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT track_id, name, artist, album, total_time, play_count [INFO] [stdout] 91 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 94 | | "# [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | SELECT album, SUM(play_count) AS total_play_count, [INFO] [stdout] 110 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 115 | | "# [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | SELECT album, SUM(play_count) AS total_play_count [INFO] [stdout] 131 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 135 | | "# [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | SELECT artist, SUM(play_count) AS total_play_count, [INFO] [stdout] 151 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 156 | | "# [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 170 | | r#" [INFO] [stdout] 171 | | SELECT artist, SUM(play_count) AS total_play_count [INFO] [stdout] 172 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 176 | | "# [INFO] [stdout] 177 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/data/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query!( [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO tracks (track_id, name, artist, album, total_time, play_count) [INFO] [stdout] 10 | | VALUES (?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 23 | | track.play_count.unwrap_or(0) [INFO] [stdout] 24 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let track_with_playtime = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | SELECT track_id, name, artist, album, total_time, play_count, [INFO] [stdout] 71 | | (play_count * total_time) AS playtime [INFO] [stdout] ... | [INFO] [stdout] 75 | | "# [INFO] [stdout] 76 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT track_id, name, artist, album, total_time, play_count [INFO] [stdout] 91 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 94 | | "# [INFO] [stdout] 95 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | SELECT album, SUM(play_count) AS total_play_count, [INFO] [stdout] 110 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 115 | | "# [INFO] [stdout] 116 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | SELECT album, SUM(play_count) AS total_play_count [INFO] [stdout] 131 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 135 | | "# [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | SELECT artist, SUM(play_count) AS total_play_count, [INFO] [stdout] 151 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 156 | | "# [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/api/rankings.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 170 | | r#" [INFO] [stdout] 171 | | SELECT artist, SUM(play_count) AS total_play_count [INFO] [stdout] 172 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 176 | | "# [INFO] [stdout] 177 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/data/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | / sqlx::query!( [INFO] [stdout] 8 | | r#" [INFO] [stdout] 9 | | INSERT INTO tracks (track_id, name, artist, album, total_time, play_count) [INFO] [stdout] 10 | | VALUES (?, ?, ?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 23 | | track.play_count.unwrap_or(0) [INFO] [stdout] 24 | | ) [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[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let track_with_playtime = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | SELECT track_id, name, artist, album, total_time, play_count, [INFO] [stdout] 71 | | (play_count * total_time) AS playtime [INFO] [stdout] ... | [INFO] [stdout] 77 | | .fetch_all(&pool) [INFO] [stdout] 78 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT track_id, name, artist, album, total_time, play_count [INFO] [stdout] 91 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 96 | | .fetch_all(&pool) [INFO] [stdout] 97 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | SELECT album, SUM(play_count) AS total_play_count, [INFO] [stdout] 110 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 117 | | .fetch_all(&pool) [INFO] [stdout] 118 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | SELECT album, SUM(play_count) AS total_play_count [INFO] [stdout] 131 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 137 | | .fetch_all(&pool) [INFO] [stdout] 138 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let track_with_playtime = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | SELECT track_id, name, artist, album, total_time, play_count, [INFO] [stdout] 71 | | (play_count * total_time) AS playtime [INFO] [stdout] ... | [INFO] [stdout] 77 | | .fetch_all(&pool) [INFO] [stdout] 78 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | SELECT artist, SUM(play_count) AS total_play_count, [INFO] [stdout] 151 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 158 | | .fetch_all(&pool) [INFO] [stdout] 159 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let tracks = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 89 | | r#" [INFO] [stdout] 90 | | SELECT track_id, name, artist, album, total_time, play_count [INFO] [stdout] 91 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 96 | | .fetch_all(&pool) [INFO] [stdout] 97 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 108 | | r#" [INFO] [stdout] 109 | | SELECT album, SUM(play_count) AS total_play_count, [INFO] [stdout] 110 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 117 | | .fetch_all(&pool) [INFO] [stdout] 118 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 170 | | r#" [INFO] [stdout] 171 | | SELECT artist, SUM(play_count) AS total_play_count [INFO] [stdout] 172 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 178 | | .fetch_all(&pool) [INFO] [stdout] 179 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | let albums = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 129 | | r#" [INFO] [stdout] 130 | | SELECT album, SUM(play_count) AS total_play_count [INFO] [stdout] 131 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 137 | | .fetch_all(&pool) [INFO] [stdout] 138 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | r#" [INFO] [stdout] 150 | | SELECT artist, SUM(play_count) AS total_play_count, [INFO] [stdout] 151 | | SUM(play_count * total_time) AS total_playtime [INFO] [stdout] ... | [INFO] [stdout] 158 | | .fetch_all(&pool) [INFO] [stdout] 159 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api/rankings.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let artists = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 170 | | r#" [INFO] [stdout] 171 | | SELECT artist, SUM(play_count) AS total_play_count [INFO] [stdout] 172 | | FROM tracks [INFO] [stdout] ... | [INFO] [stdout] 178 | | .fetch_all(&pool) [INFO] [stdout] 179 | | .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] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `music` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `music` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "4942c8cf2699148056c8ccfe00a0e128b1a9f7c7f15cd69e0ceaf51e62dbb1c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4942c8cf2699148056c8ccfe00a0e128b1a9f7c7f15cd69e0ceaf51e62dbb1c9", kill_on_drop: false }` [INFO] [stdout] 4942c8cf2699148056c8ccfe00a0e128b1a9f7c7f15cd69e0ceaf51e62dbb1c9