[INFO] cloning repository https://github.com/hone/erebor-record-keeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hone/erebor-record-keeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhone%2Ferebor-record-keeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhone%2Ferebor-record-keeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48f0de3c3a44be27bee9300a10e4ded1e802b38f [INFO] checking hone/erebor-record-keeper against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhone%2Ferebor-record-keeper" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hone/erebor-record-keeper on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hone/erebor-record-keeper [INFO] finished tweaking git repo https://github.com/hone/erebor-record-keeper [INFO] tweaked toml for git repo https://github.com/hone/erebor-record-keeper written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/hone/erebor-record-keeper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typemap_rev v0.1.3 [INFO] [stderr] Downloaded async-tungstenite v0.9.3 [INFO] [stderr] Downloaded command_attr v0.3.2 [INFO] [stderr] Downloaded serenity v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25696c5db8eccd6a60106be1d677bdfa7399706d65bd879edc1976d28917c72c [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" "25696c5db8eccd6a60106be1d677bdfa7399706d65bd879edc1976d28917c72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25696c5db8eccd6a60106be1d677bdfa7399706d65bd879edc1976d28917c72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25696c5db8eccd6a60106be1d677bdfa7399706d65bd879edc1976d28917c72c", kill_on_drop: false }` [INFO] [stdout] 25696c5db8eccd6a60106be1d677bdfa7399706d65bd879edc1976d28917c72c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5216377c2c158083f2241f948cd8391d121e22831394f7562214f3b9d5f3415a [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" "5216377c2c158083f2241f948cd8391d121e22831394f7562214f3b9d5f3415a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling serenity v0.9.4 [INFO] [stderr] Checking typemap_rev v0.1.3 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Checking hmac v0.10.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] Compiling rand v0.7.3 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.21.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.37 [INFO] [stderr] Compiling command_attr v0.3.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking tracing v0.1.17 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking sqlx-rt v0.2.0 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking sqlx-core v0.4.2 [INFO] [stderr] Checking async-tungstenite v0.9.3 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.7 [INFO] [stderr] Checking sqlx v0.4.2 [INFO] [stderr] Checking erebor-record-keeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models/event.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let mut rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 12 | | Event, [INFO] [stdout] 13 | | r#" [INFO] [stdout] 14 | | SELECT id, name [INFO] [stdout] ... | [INFO] [stdout] 18 | | active [INFO] [stdout] 19 | | ) [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/models/event.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | Event, [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | SELECT id, name [INFO] [stdout] ... | [INFO] [stdout] 35 | | archive [INFO] [stdout] 36 | | ) [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/models/event.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sqlx::query!(r#"INSERT INTO events ( name ) VALUES ( $1 )"#, name) [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/models/scenario.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let mut scenarios = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | Scenario, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT id, title, code, set_id, number [INFO] [stdout] ... | [INFO] [stdout] 20 | | title [INFO] [stdout] 21 | | ) [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/models/set.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 11 | | Set, [INFO] [stdout] 12 | | r#" [INFO] [stdout] 13 | | SELECT id, name [INFO] [stdout] 14 | | FROM sets [INFO] [stdout] 15 | | "#, [INFO] [stdout] 16 | | ) [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/models/user.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query!( [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO users (discord_id, name) [INFO] [stdout] 21 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 28 | | name [INFO] [stdout] 29 | | ) [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/models/user.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | crate::models::event::Event, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT id, name [INFO] [stdout] ... | [INFO] [stdout] 40 | | true [INFO] [stdout] 41 | | ) [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/models/user.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | User, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | SELECT id, discord_id, name [INFO] [stdout] ... | [INFO] [stdout] 52 | | discord_id_pg [INFO] [stdout] 53 | | ) [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/models/event.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let mut rows = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 12 | | Event, [INFO] [stdout] 13 | | r#" [INFO] [stdout] 14 | | SELECT id, name [INFO] [stdout] ... | [INFO] [stdout] 18 | | active [INFO] [stdout] 19 | | ) [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/models/event.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | Event, [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | SELECT id, name [INFO] [stdout] ... | [INFO] [stdout] 35 | | archive [INFO] [stdout] 36 | | ) [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/models/event.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | sqlx::query!(r#"INSERT INTO events ( name ) VALUES ( $1 )"#, name) [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/models/scenario.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let mut scenarios = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 14 | | Scenario, [INFO] [stdout] 15 | | r#" [INFO] [stdout] 16 | | SELECT id, title, code, set_id, number [INFO] [stdout] ... | [INFO] [stdout] 20 | | title [INFO] [stdout] 21 | | ) [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/models/set.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________^ [INFO] [stdout] 11 | | Set, [INFO] [stdout] 12 | | r#" [INFO] [stdout] 13 | | SELECT id, name [INFO] [stdout] 14 | | FROM sets [INFO] [stdout] 15 | | "#, [INFO] [stdout] 16 | | ) [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/models/user.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query!( [INFO] [stdout] 19 | | r#" [INFO] [stdout] 20 | | INSERT INTO users (discord_id, name) [INFO] [stdout] 21 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 28 | | name [INFO] [stdout] 29 | | ) [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/models/user.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / sqlx::query_as!( [INFO] [stdout] 34 | | crate::models::event::Event, [INFO] [stdout] 35 | | r#" [INFO] [stdout] 36 | | SELECT id, name [INFO] [stdout] ... | [INFO] [stdout] 40 | | true [INFO] [stdout] 41 | | ) [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/models/user.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | User, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | SELECT id, discord_id, name [INFO] [stdout] ... | [INFO] [stdout] 52 | | discord_id_pg [INFO] [stdout] 53 | | ) [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: `prelude::Done` [INFO] [stdout] --> src/models/event.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{postgres::PgPool, prelude::Done}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Done` [INFO] [stdout] --> src/models/event.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{postgres::PgPool, prelude::Done}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `erebor-record-keeper` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5216377c2c158083f2241f948cd8391d121e22831394f7562214f3b9d5f3415a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5216377c2c158083f2241f948cd8391d121e22831394f7562214f3b9d5f3415a", kill_on_drop: false }` [INFO] [stdout] 5216377c2c158083f2241f948cd8391d121e22831394f7562214f3b9d5f3415a