[INFO] cloning repository https://github.com/coneforapine/overseer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coneforapine/overseer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconeforapine%2Foverseer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconeforapine%2Foverseer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bed34da8cdf88b5ac22df232335f64ec7538c30b [INFO] checking coneforapine/overseer/bed34da8cdf88b5ac22df232335f64ec7538c30b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconeforapine%2Foverseer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coneforapine/overseer on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coneforapine/overseer [INFO] finished tweaking git repo https://github.com/coneforapine/overseer [INFO] tweaked toml for git repo https://github.com/coneforapine/overseer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/coneforapine/overseer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-subscriber v0.2.18 [INFO] [stderr] Downloaded sqlx-rt v0.5.5 [INFO] [stderr] Downloaded tokio v1.6.1 [INFO] [stderr] Downloaded input_buffer v0.3.1 [INFO] [stderr] Downloaded tungstenite v0.11.1 [INFO] [stderr] Downloaded async-tungstenite v0.11.0 [INFO] [stderr] Downloaded serde-hjson v0.9.1 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded rustc-demangle v0.1.19 [INFO] [stderr] Downloaded color-eyre v0.5.11 [INFO] [stderr] Downloaded sqlx-macros v0.5.5 [INFO] [stderr] Downloaded color-spantrace v0.1.6 [INFO] [stderr] Downloaded tracing-error v0.1.2 [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded sqlx v0.5.5 [INFO] [stderr] Downloaded config v0.11.0 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded whoami v1.1.2 [INFO] [stderr] Downloaded sqlx-core v0.5.5 [INFO] [stderr] Downloaded command_attr v0.3.6 [INFO] [stderr] Downloaded serenity v0.10.7 [INFO] [stderr] Downloaded object v0.25.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 375d9c9a53cdaed81fa8d4f9ed5d23c18278cfbcd166da18e367eed43e2b7a79 [INFO] running `Command { std: "docker" "start" "-a" "375d9c9a53cdaed81fa8d4f9ed5d23c18278cfbcd166da18e367eed43e2b7a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375d9c9a53cdaed81fa8d4f9ed5d23c18278cfbcd166da18e367eed43e2b7a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375d9c9a53cdaed81fa8d4f9ed5d23c18278cfbcd166da18e367eed43e2b7a79", kill_on_drop: false }` [INFO] [stdout] 375d9c9a53cdaed81fa8d4f9ed5d23c18278cfbcd166da18e367eed43e2b7a79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e4a441d8157d35fe1c6c05e4ba3109792e433d8fa22be535d7b011f22256df [INFO] running `Command { std: "docker" "start" "-a" "73e4a441d8157d35fe1c6c05e4ba3109792e433d8fa22be535d7b011f22256df", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking object v0.25.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling serenity v0.10.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling command_attr v0.3.6 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking sqlx v0.5.5 [INFO] [stderr] Checking overseer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/queries.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let guild_settings = sqlx::query_as!(GuildSettings, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 11 | | "SELECT * FROM guild_settings WHERE guild_id=$1;", [INFO] [stdout] 12 | | guild_id [INFO] [stdout] 13 | | ).fetch_optional(pool).await.ok()?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (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/queries.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let guild_settings = sqlx::query_as!(GuildSettings, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 11 | | "SELECT * FROM guild_settings WHERE guild_id=$1;", [INFO] [stdout] 12 | | guild_id [INFO] [stdout] 13 | | ).fetch_optional(pool).await.ok()?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (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/queries.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | "INSERT INTO guild_settings(guild_id) VALUES ($1) ON CONFLICT DO NOTHING;", [INFO] [stdout] 21 | | guild_id [INFO] [stdout] 22 | | ).execute(pool).await [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/queries.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | "INSERT INTO guild_settings(guild_id) VALUES ($1) ON CONFLICT DO NOTHING;", [INFO] [stdout] 21 | | guild_id [INFO] [stdout] 22 | | ).execute(pool).await [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/queries.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let rec = sqlx::query!(r#" [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | INSERT INTO cases(user_id, moderator_id, reason, case_type) [INFO] [stdout] 42 | | VALUES($1, $2, $3, $4) [INFO] [stdout] 43 | | RETURNING number; [INFO] [stdout] 44 | | "#, [INFO] [stdout] 45 | | user_id, mod_id, reason, case_type as CaseType [INFO] [stdout] 46 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/queries.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / sqlx::query_as!(Case, r#" [INFO] [stdout] 53 | | SELECT id, user_id, moderator_id, reason, "number", case_type as "case_type: _" [INFO] [stdout] 54 | | FROM cases [INFO] [stdout] 55 | | WHERE "number"=$1; [INFO] [stdout] 56 | | "#, case_number).fetch_optional(pool).await.ok()? [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (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/queries.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / sqlx::query!(r#" [INFO] [stdout] 61 | | UPDATE cases SET reason=$1 [INFO] [stdout] 62 | | WHERE "number"=$2; [INFO] [stdout] 63 | | "#, reason, case_number).execute(pool).await [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/queries.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let rec = sqlx::query!(r#" [INFO] [stdout] | ___________________^ [INFO] [stdout] 41 | | INSERT INTO cases(user_id, moderator_id, reason, case_type) [INFO] [stdout] 42 | | VALUES($1, $2, $3, $4) [INFO] [stdout] 43 | | RETURNING number; [INFO] [stdout] 44 | | "#, [INFO] [stdout] 45 | | user_id, mod_id, reason, case_type as CaseType [INFO] [stdout] 46 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/database/queries.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / sqlx::query_as!(Case, r#" [INFO] [stdout] 53 | | SELECT id, user_id, moderator_id, reason, "number", case_type as "case_type: _" [INFO] [stdout] 54 | | FROM cases [INFO] [stdout] 55 | | WHERE "number"=$1; [INFO] [stdout] 56 | | "#, case_number).fetch_optional(pool).await.ok()? [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (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/queries.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / sqlx::query!(r#" [INFO] [stdout] 61 | | UPDATE cases SET reason=$1 [INFO] [stdout] 62 | | WHERE "number"=$2; [INFO] [stdout] 63 | | "#, reason, case_number).execute(pool).await [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::TEST_GROUP` [INFO] [stdout] --> src/commands.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use test::TEST_GROUP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::TEST_GROUP` [INFO] [stdout] --> src/commands.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use test::TEST_GROUP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `overseer` (bin "overseer") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `overseer` (bin "overseer" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "73e4a441d8157d35fe1c6c05e4ba3109792e433d8fa22be535d7b011f22256df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e4a441d8157d35fe1c6c05e4ba3109792e433d8fa22be535d7b011f22256df", kill_on_drop: false }` [INFO] [stdout] 73e4a441d8157d35fe1c6c05e4ba3109792e433d8fa22be535d7b011f22256df