[INFO] cloning repository https://github.com/icewind1991/drops.tf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icewind1991/drops.tf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Fdrops.tf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Fdrops.tf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98626a798847a22fca1da81102bb0b08faa451b3 [INFO] testing icewind1991/drops.tf against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Fdrops.tf" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/icewind1991/drops.tf on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/icewind1991/drops.tf [INFO] finished tweaking git repo https://github.com/icewind1991/drops.tf [INFO] tweaked toml for git repo https://github.com/icewind1991/drops.tf written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/icewind1991/drops.tf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 17a7b40d99e78d49e1fd39589c131be9e82ced7ef00186fe158b425e7e53af9a [INFO] running `Command { std: "docker" "start" "-a" "17a7b40d99e78d49e1fd39589c131be9e82ced7ef00186fe158b425e7e53af9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17a7b40d99e78d49e1fd39589c131be9e82ced7ef00186fe158b425e7e53af9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a7b40d99e78d49e1fd39589c131be9e82ced7ef00186fe158b425e7e53af9a", kill_on_drop: false }` [INFO] [stdout] 17a7b40d99e78d49e1fd39589c131be9e82ced7ef00186fe158b425e7e53af9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e147a36339e84ffcecf9484162fbd3406692d7efb007b7abd71551f50a036b26 [INFO] running `Command { std: "docker" "start" "-a" "e147a36339e84ffcecf9484162fbd3406692d7efb007b7abd71551f50a036b26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling steamid-ng v0.3.4 [INFO] [stderr] Compiling askama_shared v0.8.0 [INFO] [stderr] Compiling sqlx-core v0.3.3 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling warp v0.2.2 [INFO] [stderr] Compiling askama_derive v0.8.0 [INFO] [stderr] Compiling steam-resolve-vanity v0.1.0 [INFO] [stderr] Compiling sqlx-macros v0.3.3 [INFO] [stderr] Compiling askama v0.8.0 [INFO] [stderr] Compiling sqlx v0.3.3 [INFO] [stderr] Compiling dropstf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | if let Ok(result) = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 113 | | DropStats, [INFO] [stdout] 114 | | r#"SELECT steam_id, name, games, ubers, drops, medic_time, drops_rank, dpu_rank, dps_rank, dpg_rank [INFO] [stdout] 115 | | FROM ranked_medic_stats [INFO] [stdout] 116 | | WHERE steam_id=$1"#, [INFO] [stdout] 117 | | steam_id.steam3() [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 126 | | DropStats, [INFO] [stdout] 127 | | r#"SELECT user_names.steam_id, name, games, ubers, drops, medic_time, [INFO] [stdout] 128 | | (SELECT COUNT(*) FROM ranked_medic_stats m2 WHERE m2.drops > medic_stats.drops AND m2.drops > 100) + 1 AS drops_rank, [INFO] [stdout] ... | [INFO] [stdout] 135 | | steam_id.steam3() [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / sqlx::query_as!( [INFO] [stdout] 174 | | TopStats, [INFO] [stdout] 175 | | r#"SELECT steam_id, games, ubers, drops, medic_time, name [INFO] [stdout] 176 | | FROM ranked_medic_stats [INFO] [stdout] 177 | | ORDER BY drops DESC LIMIT 25"# [INFO] [stdout] 178 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | / sqlx::query_as!( [INFO] [stdout] 184 | | TopStats, [INFO] [stdout] 185 | | r#"SELECT steam_id, games, ubers, drops, medic_time, name [INFO] [stdout] 186 | | FROM ranked_medic_stats [INFO] [stdout] 187 | | ORDER BY dps DESC LIMIT 25"# [INFO] [stdout] 188 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | / sqlx::query_as!( [INFO] [stdout] 194 | | TopStats, [INFO] [stdout] 195 | | r#"SELECT steam_id, games, ubers, drops, medic_time, name [INFO] [stdout] 196 | | FROM ranked_medic_stats [INFO] [stdout] 197 | | ORDER BY dpu DESC LIMIT 25"# [INFO] [stdout] 198 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | / sqlx::query_as!( [INFO] [stdout] 204 | | TopStats, [INFO] [stdout] 205 | | r#"SELECT steam_id, games, ubers, drops, medic_time, name [INFO] [stdout] 206 | | FROM ranked_medic_stats [INFO] [stdout] 207 | | ORDER BY dpg DESC LIMIT 25"# [INFO] [stdout] 208 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 219 | | r#"SELECT name [INFO] [stdout] 220 | | FROM user_names [INFO] [stdout] 221 | | WHERE steam_id=$1"#, [INFO] [stdout] 222 | | steam_id.steam3() [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 239 | | GlobalStats, [INFO] [stdout] 240 | | r#"SELECT drops, ubers, games [INFO] [stdout] 241 | | FROM global_stats"# [INFO] [stdout] 242 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | let mut players: Vec = sqlx::query_as!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 265 | | SearchResult, [INFO] [stdout] 266 | | r#"SELECT steam_id, name, count, (1 - (name <-> $1)) AS sim [INFO] [stdout] 267 | | FROM medic_names [INFO] [stdout] ... | [INFO] [stdout] 271 | | search [INFO] [stdout] 272 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | if let Ok(row) = sqlx::query!(r#"SELECT steam_id FROM vanity_urls WHERE url=$1"#, url) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | / sqlx::query!( [INFO] [stdout] 362 | | r#"INSERT INTO vanity_urls(url, steam_id) VALUES($1, $2)"#, [INFO] [stdout] 363 | | url, [INFO] [stdout] 364 | | steam_id.steam3() [INFO] [stdout] 365 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dropstf`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e147a36339e84ffcecf9484162fbd3406692d7efb007b7abd71551f50a036b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e147a36339e84ffcecf9484162fbd3406692d7efb007b7abd71551f50a036b26", kill_on_drop: false }` [INFO] [stdout] e147a36339e84ffcecf9484162fbd3406692d7efb007b7abd71551f50a036b26