[INFO] cloning repository https://github.com/5joshi/OsuBelgiumBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/5joshi/OsuBelgiumBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5joshi%2FOsuBelgiumBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5joshi%2FOsuBelgiumBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bedbe08fdefe78cabe0ca2dcad72dd89815aa9a9 [INFO] testing 5joshi/OsuBelgiumBot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5joshi%2FOsuBelgiumBot" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/5joshi/OsuBelgiumBot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/5joshi/OsuBelgiumBot [INFO] finished tweaking git repo https://github.com/5joshi/OsuBelgiumBot [INFO] tweaked toml for git repo https://github.com/5joshi/OsuBelgiumBot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/5joshi/OsuBelgiumBot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ece1e3c3b88fc870a02bc23c2e771cd02f38baaef7b2c911ae02cdc1e9b86c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ece1e3c3b88fc870a02bc23c2e771cd02f38baaef7b2c911ae02cdc1e9b86c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ece1e3c3b88fc870a02bc23c2e771cd02f38baaef7b2c911ae02cdc1e9b86c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ece1e3c3b88fc870a02bc23c2e771cd02f38baaef7b2c911ae02cdc1e9b86c9", kill_on_drop: false }` [INFO] [stdout] 2ece1e3c3b88fc870a02bc23c2e771cd02f38baaef7b2c911ae02cdc1e9b86c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 085d38704a96d233ca2db9b9e4b1ed9f5b2b8b3576fa5cf129d7e97fc6c1000a [INFO] running `Command { std: "docker" "start" "-a" "085d38704a96d233ca2db9b9e4b1ed9f5b2b8b3576fa5cf129d7e97fc6c1000a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling rosu-v2 v0.2.0 [INFO] [stderr] Compiling cow-utils v0.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling slash_command_macro v0.1.0 (/opt/rustwide/workdir/slash_command_macro) [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling rosu-pp v0.4.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling irc-proto v0.15.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling twilight-model v0.6.5 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling flexi_logger v0.19.6 [INFO] [stderr] Compiling irc v0.15.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling twilight-http v0.6.6 [INFO] [stderr] Compiling twilight-standby v0.6.2 [INFO] [stderr] Compiling twilight-cache-inmemory v0.6.4 [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling twilight-gateway-queue v0.6.0 [INFO] [stderr] Compiling twilight-gateway v0.6.5 [INFO] [stderr] Compiling osubelgiumbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/methods/manual_links.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let mut stream = sqlx::query!("SELECT * FROM manual_links;").fetch(&self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/messages.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | ... let query = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 12 | | ... "INSERT INTO messages (id, channel_id, author, content, timestamp, bot) VALUES ($1, $2, $3, $4, $5, $6) ON CONFLICT (id) DO NOT... [INFO] [stdout] 13 | | ... message.id.0 as i64, [INFO] [stdout] 14 | | ... message.channel_id.0 as i64, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ... message.author.bot [INFO] [stdout] 19 | | ... ); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/unchecked_members.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let mut stream = sqlx::query!("SELECT * FROM unchecked_members;").fetch(&self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/unchecked_members.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 22 | | "INSERT INTO unchecked_members (user_id) VALUES ($1) ON CONFLICT (user_id) DO UPDATE SET joined = CURRENT_TIMESTAMP;", [INFO] [stdout] 23 | | user_id.0 as i64 [INFO] [stdout] 24 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/unchecked_members.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 32 | | "DELETE FROM unchecked_members WHERE user_id = $1;", [INFO] [stdout] 33 | | user_id.0 as i64 [INFO] [stdout] 34 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/osuvs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | sqlx::query!("SELECT * FROM osuvs_maps WHERE start_date < now() AND end_date > now();") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/osuvs.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let mut stream = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 36 | | "SELECT user_id, score FROM osuvs_scores WHERE beatmap_id = $1;", [INFO] [stdout] 37 | | id as i32 [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/osuvs.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ... let query = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 67 | | ... "INSERT INTO osuvs_scores (beatmap_id, user_id, score) VALUES ($1, $2, $3) ON CONFLICT (beatmap_id, user_id) DO UPDATE SET scor... [INFO] [stdout] 68 | | ... map_id as i32, [INFO] [stdout] 69 | | ... user as i32, [INFO] [stdout] 70 | | ... serde_json::to_value(&score)? [INFO] [stdout] 71 | | ... ); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/osuvs.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | ... let query = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | ... "INSERT INTO osuvs_maps (beatmap_id, start_date, end_date) VALUES ($1, $2, $3) ON CONFLICT (beatmap_id, start_date, end_date) D... [INFO] [stdout] 85 | | ... map_id as i32, [INFO] [stdout] 86 | | ... start_date, [INFO] [stdout] 87 | | ... end_date [INFO] [stdout] 88 | | ... ); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_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/database/methods/osuvs.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | sqlx::query!("SELECT end_date FROM osuvs_maps ORDER BY end_date DESC LIMIT 1") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `osubelgiumbot` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "085d38704a96d233ca2db9b9e4b1ed9f5b2b8b3576fa5cf129d7e97fc6c1000a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085d38704a96d233ca2db9b9e4b1ed9f5b2b8b3576fa5cf129d7e97fc6c1000a", kill_on_drop: false }` [INFO] [stdout] 085d38704a96d233ca2db9b9e4b1ed9f5b2b8b3576fa5cf129d7e97fc6c1000a