[INFO] cloning repository https://github.com/sirlag/leftgang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sirlag/leftgang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlag%2Fleftgang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlag%2Fleftgang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ab7669b29ac2259722b4d5a40dd97a459f31abe [INFO] checking sirlag/leftgang against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlag%2Fleftgang" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sirlag/leftgang on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sirlag/leftgang [INFO] finished tweaking git repo https://github.com/sirlag/leftgang [INFO] tweaked toml for git repo https://github.com/sirlag/leftgang written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sirlag/leftgang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] [stderr] Downloaded command_attr v0.3.0-rc.4 [INFO] [stderr] Downloaded serenity v0.9.0-rc.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae36329c5f8e1510ed52f87a691dd201ef5bebfcf4ef657a06d9c2d713d5184a [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" "ae36329c5f8e1510ed52f87a691dd201ef5bebfcf4ef657a06d9c2d713d5184a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae36329c5f8e1510ed52f87a691dd201ef5bebfcf4ef657a06d9c2d713d5184a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae36329c5f8e1510ed52f87a691dd201ef5bebfcf4ef657a06d9c2d713d5184a", kill_on_drop: false }` [INFO] [stdout] ae36329c5f8e1510ed52f87a691dd201ef5bebfcf4ef657a06d9c2d713d5184a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e21e16753d82c8b894b5228dd3f09abf74cc723ce7c339990d6149cc13047e [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" "f7e21e16753d82c8b894b5228dd3f09abf74cc723ce7c339990d6149cc13047e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking futures-sink v0.3.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serenity v0.9.0-rc.4 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking typemap_rev v0.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking encoding_rs v0.8.24 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling sqlformat v0.1.1 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking multipart v0.17.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling command_attr v0.3.0-rc.4 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking sqlx-rt v0.1.1 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking async-tungstenite v0.9.3 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [INFO] [stderr] Checking leftgang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match sqlx::query!("INSERT INTO guilds VALUES($1) RETURNING id", guild_id) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let _ = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 120 | | "DELETE FROM members WHERE user_id = $1 and move_group_id = $2 RETURNING id", [INFO] [stdout] 121 | | user_id, [INFO] [stdout] 122 | | mg_id [INFO] [stdout] 123 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 137 | | "INSERT INTO move_groups VALUES($1, $2, $3, $4, $5) RETURNING id", [INFO] [stdout] 138 | | move_group.id, [INFO] [stdout] 139 | | move_group.guild_id, [INFO] [stdout] ... | [INFO] [stdout] 142 | | move_group.group_channel [INFO] [stdout] 143 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / sqlx::query_as!( [INFO] [stdout] 157 | | Member, [INFO] [stdout] 158 | | "INSERT INTO members VALUES($1, $2, $3) RETURNING id, user_id, move_group_id", [INFO] [stdout] 159 | | Uuid::new_v4(), [INFO] [stdout] 160 | | id, [INFO] [stdout] 161 | | group_id, [INFO] [stdout] 162 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/handlers.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | let guild_vec: Vec = query_as!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 55 | | MoveGroup, [INFO] [stdout] 56 | | "SELECT * FROM move_groups WHERE guild_id = $1", [INFO] [stdout] 57 | | guild_id [INFO] [stdout] 58 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/handlers.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | let member_vec: Vec = query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 65 | | Member, [INFO] [stdout] 66 | | "SELECT * FROM members WHERE move_group_id = $1", [INFO] [stdout] 67 | | group.id [INFO] [stdout] 68 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | match sqlx::query!("INSERT INTO guilds VALUES($1) RETURNING id", guild_id) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let _ = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 120 | | "DELETE FROM members WHERE user_id = $1 and move_group_id = $2 RETURNING id", [INFO] [stdout] 121 | | user_id, [INFO] [stdout] 122 | | mg_id [INFO] [stdout] 123 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 137 | | "INSERT INTO move_groups VALUES($1, $2, $3, $4, $5) RETURNING id", [INFO] [stdout] 138 | | move_group.id, [INFO] [stdout] 139 | | move_group.guild_id, [INFO] [stdout] ... | [INFO] [stdout] 142 | | move_group.group_channel [INFO] [stdout] 143 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/commands.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / sqlx::query_as!( [INFO] [stdout] 157 | | Member, [INFO] [stdout] 158 | | "INSERT INTO members VALUES($1, $2, $3) RETURNING id, user_id, move_group_id", [INFO] [stdout] 159 | | Uuid::new_v4(), [INFO] [stdout] 160 | | id, [INFO] [stdout] 161 | | group_id, [INFO] [stdout] 162 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/handlers.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | let guild_vec: Vec = query_as!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 55 | | MoveGroup, [INFO] [stdout] 56 | | "SELECT * FROM move_groups WHERE guild_id = $1", [INFO] [stdout] 57 | | guild_id [INFO] [stdout] 58 | | ) [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` must be set to use query macros [INFO] [stdout] --> src/handlers.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | let member_vec: Vec = query_as!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 65 | | Member, [INFO] [stdout] 66 | | "SELECT * FROM members WHERE move_group_id = $1", [INFO] [stdout] 67 | | group.id [INFO] [stdout] 68 | | ) [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] warning: unused import: `crate::util::parse_channel_id` [INFO] [stdout] --> src/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::parse_channel_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Db` [INFO] [stdout] --> src/handlers.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Db, Member, MoveGroup}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::models::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use self::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::parse_channel_id` [INFO] [stdout] --> src/commands.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::util::parse_channel_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Db` [INFO] [stdout] --> src/handlers.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Db, Member, MoveGroup}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::models::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use self::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `serenity::Client::new`: please use `builder` instead [INFO] [stdout] --> src/main.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut client = Client::new(token) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `serenity::Client::new`: please use `builder` instead [INFO] [stdout] --> src/main.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let mut client = Client::new(token) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leftgang` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f7e21e16753d82c8b894b5228dd3f09abf74cc723ce7c339990d6149cc13047e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e21e16753d82c8b894b5228dd3f09abf74cc723ce7c339990d6149cc13047e", kill_on_drop: false }` [INFO] [stdout] f7e21e16753d82c8b894b5228dd3f09abf74cc723ce7c339990d6149cc13047e