[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] testing ternbusty/music-ranking against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fternbusty%2Fmusic-ranking" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ternbusty/music-ranking on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31cdad34740e2b908a247720cba431032e29b8f26b58a298c526943dbad35f75 [INFO] running `Command { std: "docker" "start" "-a" "31cdad34740e2b908a247720cba431032e29b8f26b58a298c526943dbad35f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31cdad34740e2b908a247720cba431032e29b8f26b58a298c526943dbad35f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cdad34740e2b908a247720cba431032e29b8f26b58a298c526943dbad35f75", kill_on_drop: false }` [INFO] [stdout] 31cdad34740e2b908a247720cba431032e29b8f26b58a298c526943dbad35f75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa31de49cd15a9ca385c951f7cca83fd03f999f94e801bc7435766f47edba3aa [INFO] running `Command { std: "docker" "start" "-a" "aa31de49cd15a9ca385c951f7cca83fd03f999f94e801bc7435766f47edba3aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling 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] [stderr] error: could not compile `music` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "aa31de49cd15a9ca385c951f7cca83fd03f999f94e801bc7435766f47edba3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa31de49cd15a9ca385c951f7cca83fd03f999f94e801bc7435766f47edba3aa", kill_on_drop: false }` [INFO] [stdout] aa31de49cd15a9ca385c951f7cca83fd03f999f94e801bc7435766f47edba3aa