[INFO] cloning repository https://github.com/HansTrashy/trashy_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HansTrashy/trashy_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHansTrashy%2Ftrashy_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHansTrashy%2Ftrashy_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7da4ee90c272150fc3109cec98c9f1625a881d8 [INFO] testing HansTrashy/trashy_bot against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHansTrashy%2Ftrashy_bot" "/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/HansTrashy/trashy_bot on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HansTrashy/trashy_bot [INFO] finished tweaking git repo https://github.com/HansTrashy/trashy_bot [INFO] tweaked toml for git repo https://github.com/HansTrashy/trashy_bot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/HansTrashy/trashy_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded murmurhash32 v0.2.0 [INFO] [stderr] Downloaded census v0.4.0 [INFO] [stderr] Downloaded bitpacking v0.8.4 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded snap v1.0.5 [INFO] [stderr] Downloaded tantivy-query-grammar v0.14.0 [INFO] [stderr] Downloaded tantivy v0.14.0 [INFO] [stderr] Downloaded tantivy-fst v0.3.0 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ca764de2bb59a86032f0218cc5cfff8f0584a85812c216164febf54617b4560 [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" "2ca764de2bb59a86032f0218cc5cfff8f0584a85812c216164febf54617b4560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ca764de2bb59a86032f0218cc5cfff8f0584a85812c216164febf54617b4560", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca764de2bb59a86032f0218cc5cfff8f0584a85812c216164febf54617b4560", kill_on_drop: false }` [INFO] [stdout] 2ca764de2bb59a86032f0218cc5cfff8f0584a85812c216164febf54617b4560 [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=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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b808df7f079375f7d79ff436a3ddd8b68f50c7c646bfe257f4347f018cbfec6a [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" "b808df7f079375f7d79ff436a3ddd8b68f50c7c646bfe257f4347f018cbfec6a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling snap v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serenity v0.10.8 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling census v0.4.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling tokio v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling murmurhash32 v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tantivy-fst v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling lru v0.6.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling bitpacking v0.8.4 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling combine v4.6.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling fail v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling tantivy-query-grammar v0.14.0 [INFO] [stderr] Compiling tantivy v0.14.0 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling trashy_bot v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/bank.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | sqlx::query_as!(Self, "SELECT * FROM banks WHERE user_id = $1", user_id) [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/models/bank.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | sqlx::query_as!(Self, "SELECT * FROM banks ORDER BY amount DESC LIMIT 10") [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/models/bank.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query_as!( [INFO] [stdout] 36 | | Self, [INFO] [stdout] 37 | | "INSERT INTO banks (user_id, user_name, amount, last_payday) VALUES ($1,$2,$3,$4) RETURNING *", [INFO] [stdout] 38 | | user_id, [INFO] [stdout] ... | [INFO] [stdout] 41 | | last_payday [INFO] [stdout] 42 | | ) [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/models/bank.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | Self, [INFO] [stdout] 55 | | "UPDATE banks SET (amount, last_payday) = ($1,$2) WHERE user_id = $3 RETURNING *", [INFO] [stdout] 56 | | amount, [INFO] [stdout] 57 | | last_payday, [INFO] [stdout] 58 | | user_id, [INFO] [stdout] 59 | | ) [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/models/fav.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / ... sqlx::query_as!( [INFO] [stdout] 23 | | ... Self, [INFO] [stdout] 24 | | ... "SELECT favs.id, favs.server_id, favs.channel_id, favs.msg_id, favs.user_id, favs.author_id FROM favs LEFT JOIN fav_blocks ON f... [INFO] [stdout] 25 | | ... user_id, [INFO] [stdout] 26 | | ... server_id, [INFO] [stdout] 27 | | ... ) [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/models/fav.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / sqlx::query_as!( [INFO] [stdout] 38 | | Self, [INFO] [stdout] 39 | | "SELECT * FROM favs WHERE channel_id = $1 AND msg_id = $2", [INFO] [stdout] 40 | | channel_id, [INFO] [stdout] 41 | | msg_id [INFO] [stdout] 42 | | ) [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/models/fav.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | sqlx::query_as!(Self, "SELECT * FROM favs WHERE server_id = $1", server_id) [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/models/fav.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / sqlx::query_as!( [INFO] [stdout] 62 | | Self, [INFO] [stdout] 63 | | "INSERT INTO favs (server_id, channel_id, msg_id, user_id, author_id) VALUES ($1, $2, $3, $4, $5) RETURNING *", [INFO] [stdout] 64 | | server_id, [INFO] [stdout] ... | [INFO] [stdout] 68 | | author_id, [INFO] [stdout] 69 | | ) [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/models/fav.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(sqlx::query!("DELETE FROM favs WHERE id = $1", id) [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/models/fav.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / ... sqlx::query_as!( [INFO] [stdout] 83 | | ... Self, [INFO] [stdout] 84 | | ... "SELECT favs.id, favs.server_id, favs.channel_id, favs.msg_id, favs.user_id, favs.author_id FROM favs LEFT JOIN tags ON favs.id... [INFO] [stdout] 85 | | ... user_id [INFO] [stdout] 86 | | ... ) [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/models/fav.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / ... sqlx::query_as!( [INFO] [stdout] 99 | | ... Self, [INFO] [stdout] 100 | | ... "SELECT favs.id, favs.server_id, favs.channel_id, favs.msg_id, favs.user_id, favs.author_id FROM favs INNER JOIN tags ON favs.i... [INFO] [stdout] 101 | | ... user_id, [INFO] [stdout] 102 | | ... &tags, [INFO] [stdout] 103 | | ... server_id, [INFO] [stdout] 104 | | ... ) [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/models/fav_block.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | match sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 16 | | "SELECT * FROM fav_blocks WHERE channel_id = $1 AND msg_id = $2", [INFO] [stdout] 17 | | channel_id, [INFO] [stdout] 18 | | msg_id [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/models/fav_block.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!( [INFO] [stdout] 35 | | Self, [INFO] [stdout] 36 | | "INSERT INTO fav_blocks (server_id, channel_id, msg_id) VALUES ($1,$2,$3) RETURNING *", [INFO] [stdout] 37 | | server_id, [INFO] [stdout] 38 | | channel_id, [INFO] [stdout] 39 | | msg_id, [INFO] [stdout] 40 | | ) [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/models/lastfm.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | sqlx::query_as!(Self, "SELECT * FROM lastfms WHERE user_id = $1", user_id) [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/models/lastfm.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | Self, [INFO] [stdout] 23 | | "INSERT INTO lastfms (server_id, user_id, username) VALUES (0, $1, $2) RETURNING *", [INFO] [stdout] 24 | | user_id, [INFO] [stdout] 25 | | username, [INFO] [stdout] 26 | | ) [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/models/lastfm.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / sqlx::query_as!( [INFO] [stdout] 33 | | Self, [INFO] [stdout] 34 | | "UPDATE lastfms SET username = $1 WHERE user_id = $2 RETURNING *", [INFO] [stdout] 35 | | username, [INFO] [stdout] 36 | | user_id [INFO] [stdout] 37 | | ) [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/models/lastfm.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sqlx::query!("DELETE FROM lastfms WHERE user_id = $1", user_id) [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/models/mute.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / sqlx::query_as!( [INFO] [stdout] 17 | | Self, [INFO] [stdout] 18 | | "SELECT * FROM mutes WHERE user_id = $1 AND server_id = $2", [INFO] [stdout] 19 | | user_id, [INFO] [stdout] 20 | | server_id [INFO] [stdout] 21 | | ) [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/models/mute.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | sqlx::query_as!(Self, "SELECT * FROM mutes") [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/models/mute.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / sqlx::query_as!( [INFO] [stdout] 39 | | Self, [INFO] [stdout] 40 | | "INSERT INTO mutes (server_id, user_id, end_time) VALUES ($1,$2,$3) RETURNING *", [INFO] [stdout] 41 | | server_id, [INFO] [stdout] 42 | | user_id, [INFO] [stdout] 43 | | end_time, [INFO] [stdout] 44 | | ) [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/models/mute.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 51 | | "DELETE FROM mutes WHERE server_id = $1 AND user_id = $2", [INFO] [stdout] 52 | | server_id, [INFO] [stdout] 53 | | user_id [INFO] [stdout] 54 | | ) [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/models/reaction_role.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | sqlx::query_as!(Self, "SELECT * FROM reaction_roles") [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/models/reaction_role.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query_as!(Self, "SELECT * FROM reaction_roles WHERE emoji = $1", emoji) [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/models/reaction_role.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | / ... sqlx::query_as!( [INFO] [stdout] 39 | | ... Self, [INFO] [stdout] 40 | | ... "INSERT INTO reaction_roles (server_id, role_id, role_name, role_group, emoji, role_description) VALUES ($1, $2, $3, $4, $5, $6... [INFO] [stdout] 41 | | ... server_id, [INFO] [stdout] ... | [INFO] [stdout] 46 | | ... description, [INFO] [stdout] 47 | | ... ) [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/models/reaction_role.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | "UPDATE reaction_roles SET role_description = $1 WHERE server_id = $2 AND role_id = $3", [INFO] [stdout] 59 | | description, [INFO] [stdout] 60 | | server_id, [INFO] [stdout] 61 | | role_id, [INFO] [stdout] 62 | | ) [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/models/reaction_role.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | "DELETE FROM reaction_roles WHERE server_id = $1 AND role_id = $2", [INFO] [stdout] 71 | | server_id, [INFO] [stdout] 72 | | role_id [INFO] [stdout] 73 | | ) [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/models/reminder.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | sqlx::query_as!(Self, "SELECT * FROM reminders") [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/models/reminder.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / sqlx::query_as!( [INFO] [stdout] 32 | | Self, [INFO] [stdout] 33 | | "INSERT INTO reminders (channel_id, source_msg_id, user_id, end_time, msg) VALUES ($1,$2,$3,$4,$5) RETURNING *", [INFO] [stdout] 34 | | channel_id, [INFO] [stdout] ... | [INFO] [stdout] 37 | | end_time, msg [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/models/reminder.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | "DELETE FROM reminders WHERE source_msg_id = $1", [INFO] [stdout] 46 | | source_msg_id [INFO] [stdout] 47 | | ) [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/models/server_config.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | / sqlx::query_as!( [INFO] [stdout] 15 | | Self, [INFO] [stdout] 16 | | "SELECT * FROM server_configs WHERE server_id = $1", [INFO] [stdout] 17 | | server_id [INFO] [stdout] 18 | | ) [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/models/server_config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query_as!(Self, "SELECT * FROM server_configs") [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/models/server_config.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query_as!( [INFO] [stdout] 35 | | Self, [INFO] [stdout] 36 | | "INSERT INTO server_configs (server_id, config) VALUES ($1,$2) RETURNING *", [INFO] [stdout] 37 | | server_id, [INFO] [stdout] 38 | | config, [INFO] [stdout] 39 | | ) [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/models/server_config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / sqlx::query_as!( [INFO] [stdout] 50 | | Self, [INFO] [stdout] 51 | | "UPDATE server_configs SET config = $1 WHERE server_id = $2 RETURNING *", [INFO] [stdout] 52 | | config, [INFO] [stdout] 53 | | server_id, [INFO] [stdout] 54 | | ) [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/models/shiny.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | sqlx::query_as!(Self, "SELECT * FROM shinys WHERE user_id = $1", user_id) [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/models/shiny.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | sqlx::query_as!(Self, "SELECT * FROM shinys WHERE server_id = $1", server_id) [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/models/shiny.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | ... sqlx::query_as!(Self, "INSERT INTO shinys (server_id, user_id, username, amount) VALUES ($1, $2, $3, $4) RETURNING *", server_id, user_id, username, amount) [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/models/shiny.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query_as!( [INFO] [stdout] 40 | | Self, [INFO] [stdout] 41 | | "UPDATE shinys SET amount = $1 WHERE user_id = $2 RETURNING *", [INFO] [stdout] 42 | | amount, [INFO] [stdout] 43 | | user_id [INFO] [stdout] 44 | | ) [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/models/shiny.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | sqlx::query!("DELETE FROM shinys WHERE user_id = $1", user_id) [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/models/tag.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query_as!( [INFO] [stdout] 16 | | Self, [INFO] [stdout] 17 | | "INSERT INTO tags (fav_id, label) VALUES ($1,$2) RETURNING *", [INFO] [stdout] 18 | | fav_id, [INFO] [stdout] 19 | | label, [INFO] [stdout] 20 | | ) [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/models/tag.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(sqlx::query!("DELETE FROM tags WHERE fav_id = $1", fav_id) [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/models/tag.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | ...Ok(sqlx::query_as!(Self, "SELECT tags.id, tags.fav_id, tags.label FROM tags INNER JOIN favs ON tags.fav_id = favs.id WHERE favs.user_id = $1", user_id) [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] warning: unused import: `futures::stream::TryStreamExt` [INFO] [stdout] --> src/models/tag.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | #![warn(unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trashy_bot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b808df7f079375f7d79ff436a3ddd8b68f50c7c646bfe257f4347f018cbfec6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b808df7f079375f7d79ff436a3ddd8b68f50c7c646bfe257f4347f018cbfec6a", kill_on_drop: false }` [INFO] [stdout] b808df7f079375f7d79ff436a3ddd8b68f50c7c646bfe257f4347f018cbfec6a